Read the docs
TI-2022-16371 Aliases CVE-2022-35944GHSA-x4q7-m6fp-4v9v

October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)

Priority LOW 36CWE-94Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01051 64th percentileScored 2026-11-07
Fix Fixed october (octobercms): 3.0.66, 2.2.34october/system (Packagist): 2.2.34, 3.0.66

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

VendorProductAffected versionsFixed inStatusSource
October CMSoctober3.0.0 to before 3.0.66; before 2.2.343.0.66, 2.2.34Patch availableCNA
—october/system (Packagist)2.0.0 to before 2.2.342.2.34Patch availableGHSA-x4q7-m6fp-4v9v
—october/system (Packagist)3.0.0 to before 3.0.663.0.66Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*before 2.2.34; 3.0.00 to before 3.0.66VulnerableOctober 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

  1. 2026-10-02 Threatist record created from CVE-2022-35944
  2. 2026-10-03 Alias added: GHSA-x4q7-m6fp-4v9v

References

  • 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
See all 56 →

Sources