October CMS Safe Mode bypass leads to authenticated Remote Code Execution
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.
Patches
The issue has been patched in v2.2.34 and v3.0.66
References
Credits to:
- David Miller
For more information
If you have any questions or comments about this advisory:
- Email us at hello@octobercms.com
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | october/system | >= 2.0.0, < 2.2.34, >= 3.0.0, < 3.0.66 | 2.2.34, 3.0.66 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-94- Platform
- Composer
- Package
october/system- Disclosed
- 13.10.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x4q7-m6fp-4v9v - CC BY 4.0
Vulnerability history: october/system
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 25
- First → latest
- 06.2020 09.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 8
- Medium 9
- Low 7
Disclosures per year
- 2020: 1
- 2021: 3
- 2022: 6
- 2023: 3
- 2024: 2
- 2025: 1
- 2026: 9
-
October CMS Safe Mode bypass leads to authenticated Remote Code Execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.