CVE-2022-35944
published medium CVSS 3.1 · 6.2October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| octobercms | — | october>= 3.0.0, < 3.0.66 · < 2.2.34 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| octobercms | october | >= 3.0.0, < 3.0.66 (affected)< 2.2.34 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
3GitHub_M · cna
October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0a92352a38c1d1c53bb086979b4e58cf4228ec4cca6fc676b72f7cfdaa7a633a
- Ingested
- 23 Sep 2026, 08:01:20 UTC
- Source record
- Official CVE record