October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
October is a self-hosted Content Management System (CMS) platform based on the Laravel PHP Framework. 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. The issue has been patched in versions 2.2.34 and 3.0.66.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| October CMS | october | 3.0.0 to before 3.0.66; before 2.2.34 | 3.0.66, 2.2.34 | Patch available | CNA |
| — | october/system (Packagist) | 2.0.0 to before 2.2.34 | 2.2.34 | Patch available | GHSA-x4q7-m6fp-4v9v |
| — | october/system (Packagist) | 3.0.0 to before 3.0.66 | 3.0.66 | Patch available | GHSA-x4q7-m6fp-4v9v |
- october VendorOctober CMS Affected 3.0.0 to before 3.0.66; before 2.2.34 Fixed in 3.0.66, 2.2.34 Patch available CNA
- october/system (Packagist) Vendor— Affected 2.0.0 to before 2.2.34 Fixed in 2.2.34 Patch available GHSA-x4q7-m6fp-4v9v
- october/system (Packagist) Vendor— Affected 3.0.0 to before 3.0.66 Fixed in 3.0.66 Patch available GHSA-x4q7-m6fp-4v9v
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* | before 2.2.34; 3.0.00 to before 3.0.66 | Vulnerable | October CMS |
- cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* Versions before 2.2.34; 3.0.00 to before 3.0.66 Vulnerable ·October CMS
Remediation
- Fix · CNA october (octobercms) Fixed in 3.0.66, 2.2.34
- Fix · GHSA-x4q7-m6fp-4v9v october/system (Packagist) Fixed in 2.2.34 Advisory →
- Fix · GHSA-x4q7-m6fp-4v9v october/system (Packagist) Fixed in 3.0.66 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-35944
- 2026-10-03 Alias added: GHSA-x4q7-m6fp-4v9v
References
More October CMS October vulnerabilities
- TI-2021-12316 Account Takeover in Octobercms KEVCVSS 3.1CRITICAL 9.1
- TI-2021-12318 Arbitrary code execution in october/system CVSS 3.1HIGH 8.8
- TI-2017-14456 October CMS build 412 is vulnerable to PHP code execution in the file upload… CVSS 3.0HIGH 7.2
- TI-2023-23545 A Cross-Site Scripting (XSS) vulnerability in installation of October v.3.4.16 allows an… CVSS 3.1MEDIUM 5.4
- TI-2023-19223 An arbitrary file upload vulnerability in October CMS v3.4.4 allows attackers to execute… CVSS 3.1MEDIUM 5.4
- TI-2024-30847 October 3.6.30 allows an authenticated admin account to upload a PDF file containing… CVSS 3.1MEDIUM 4.7
Sources
- CVE-2022-35944 · CVE Program
- CVE-2022-35944 · NVD
- FIRST EPSS
- GHSA-x4q7-m6fp-4v9v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences