CVE-2022-35944
HIGH 7.2CVSS 3.1October CMS Safe Mode bypass leads to authenticated Remote Code Execution
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.
- Published
- 13 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-x4q7-m6fp-4v9v
- Sources
- NVDJSONOSV GHSA-x4q7-m6fp-4v9vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | octobercms | octobercpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* |
< 2.2.34 | 2.2.34 |
| NVD | octobercms | octobercpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* |
>= 3.0.00, < 3.0.66 | 3.0.66 |
| OSV | Packagist | october/system | >= 2.0.0, < 2.2.34 | 2.2.34 |
| OSV | Packagist | october/system | >= 3.0.0, < 3.0.66 | 3.0.66 |
References
- https://github.com/octobercms/october/security/advisories/GHSA-x4q7-m6fp-4v9v · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-35944 · ADVISORY
- https://github.com/octobercms/october · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Oct 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Oct 2022)