What’s Vulnerable › Vulnerabilities
CVE-2022-35944: October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-10-13 · updated 2026-06-17
- Weakness: CWE-94
Description
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.
Affected products
- octobercms october: before 2.2.34; from 3.0.00 before 3.0.66 — fixed in 2.2.34, 3.0.66
How to fix
Upgrade to a fixed version: octobercms october 2.2.34, 3.0.66. Check the vendor advisory for mitigations.
References
- https://github.com/octobercms/october/security/advisories/GHSA-x4q7-m6fp-4v9v
- https://github.com/octobercms/october/security/advisories/GHSA-x4q7-m6fp-4v9v
Get alerted when CVE-2022-35944 or the next vulnerability affects your stack