CVE-2022-35944

CVE-2022-35944 is a high-severity code injection vulnerability in october/system (composer), affecting versions >= 3.0.0, < 3.0.66. It is fixed in 3.0.66, 2.2.34.

Summary

References

Credits to:

  • David Miller

For more information

If you have any questions or comments about this advisory:

Impact

This vulnerability only affects installations that rely on the safe mode restriction, commonly used when providing public access to the admin panel. Assuming an attacker has access to the admin panel and permission to open the "Editor" section, they can bypass the Safe Mode (cms.safe_mode) restriction to introduce new PHP code in a CMS template using a specially crafted request.

Untrusted input is evaluated as executable code within the application's runtime environment. Typical impact: arbitrary code execution within the application's privilege context.

CVE-2022-35944 has a CVSS score of 7.2 (High). The vector is network-reachable, high privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (3.0.66, 2.2.34); upgrading removes the vulnerable code path.

Affected versions

october/system (>= 3.0.0, < 3.0.66) october/system (>= 2.0.0, < 2.2.34)

Security releases

october/system → 3.0.66 (composer) october/system → 2.2.34 (composer)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

The issue has been patched in v2.2.34 and v3.0.66

Frequently Asked Questions

  1. What is CVE-2022-35944? CVE-2022-35944 is a high-severity code injection vulnerability in october/system (composer), affecting versions >= 3.0.0, < 3.0.66. It is fixed in 3.0.66, 2.2.34. Untrusted input is evaluated as executable code within the application's runtime environment.
  2. How severe is CVE-2022-35944? CVE-2022-35944 has a CVSS score of 7.2 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of october/system are affected by CVE-2022-35944? october/system (composer) versions >= 3.0.0, < 3.0.66 is affected.
  4. Is there a fix for CVE-2022-35944? Yes. CVE-2022-35944 is fixed in 3.0.66, 2.2.34. Upgrade to this version or later.
  5. Is CVE-2022-35944 exploitable, and should I be worried? Whether CVE-2022-35944 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2022-35944 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2022-35944?
    • Upgrade october/system to 3.0.66 or later
    • Upgrade october/system to 2.2.34 or later

Other vulnerabilities in october/system

CVE-2026-29179CVE-2026-26067CVE-2026-24907CVE-2026-24906CVE-2025-61676

Stop the waste.
Protect your environment with Kodem.