Read the docs
TI-2026-18219 Aliases CVE-2026-22692GHSA-m5qg-jc75-4jp6

October CMS: Twig Sandbox Bypass via Collection Methods

Priority LOW 30CWE-284Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-284.

Summary

October is a Content Management System (CMS) and web platform. Versions prior to 3.7.13 and versions 4.0.0 through 4.1.4 contain a sandbox bypass vulnerability in the optional Twig safe mode feature (CMS_SAFE_MODE). Certain methods on the collect() helper were not properly restricted, allowing authenticated users with template editing permissions to bypass sandbox protections. Exploitation requires authenticated backend access with CMS template editing permissions and only affects installations with CMS_SAFE_MODE enabled (disabled by default). This issue has been fixed in versions 3.7.13 and 4.1.5. To workaround this issue, users can disable CMS_SAFE_MODE if untrusted template editing is not required, and restrict CMS template editing permissions to fully trusted administrators only.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00395 33rd percentileScored 2026-11-07
Fix Fixed october (octobercms): 3.7.13, 4.1.5october/rain (Packagist): 4.1.5, 3.7.13

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

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 CMSoctoberbefore 3.7.13; 4.0.0 to before 4.1.53.7.13, 4.1.5Patch availableCNA
—october/rain (Packagist)4.0.0 to before 4.1.54.1.5Patch availableGHSA-m5qg-jc75-4jp6
—october/rain (Packagist)before 3.7.133.7.13Patch availableGHSA-m5qg-jc75-4jp6
  • october VendorOctober CMS Affected before 3.7.13; 4.0.0 to before 4.1.5 Fixed in 3.7.13, 4.1.5 Patch available CNA
  • october/rain (Packagist) Vendor— Affected 4.0.0 to before 4.1.5 Fixed in 4.1.5 Patch available GHSA-m5qg-jc75-4jp6
  • october/rain (Packagist) Vendor— Affected before 3.7.13 Fixed in 3.7.13 Patch available GHSA-m5qg-jc75-4jp6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*before 3.7.13; 4.0.0 to before 4.1.5VulnerableOctober CMS
  • cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* Versions before 3.7.13; 4.0.0 to before 4.1.5 Vulnerable ·October CMS

Remediation

  • Fix · CNA october (octobercms) Fixed in 3.7.13, 4.1.5
  • Fix · GHSA-m5qg-jc75-4jp6 october/rain (Packagist) Fixed in 4.1.5 Advisory →
  • Fix · GHSA-m5qg-jc75-4jp6 october/rain (Packagist) Fixed in 3.7.13 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-22692
  2. 2026-10-03 Alias added: GHSA-m5qg-jc75-4jp6

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