Vulnerabilities

CVE-2026-22692

Medium 6.8 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-04-14
Last modified
2026-10-26
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.4 % higher than 32 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Octobercms October < 3.7.13 Affected
Octobercms October ≥ 4.0.0, < 4.1.5 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1014: Rootkit stealth
  • T1027.009: Embedded Payloads stealth
  • T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
  • T1040: Network Sniffing credential-access, discovery
  • T1080: Taint Shared Content lateral-movement
  • T1083: File and Directory Discovery discovery
  • T1505.005: Terminal Services DLL persistence
  • T1542.003: Bootkit stealth, persistence
  • T1543: Create or Modify System Process persistence, privilege-escalation
  • T1543.001: Launch Agent persistence, privilege-escalation
  • T1543.003: Windows Service persistence, privilege-escalation
  • T1543.004: Launch Daemon persistence, privilege-escalation
  • T1546.001: Change Default File Association privilege-escalation, persistence
  • T1546.004: Unix Shell Configuration Modification privilege-escalation, persistence
  • T1546.008: Accessibility Features privilege-escalation, persistence
  • T1546.016: Installer Packages privilege-escalation, persistence
  • T1547: Boot or Logon Autostart Execution persistence, privilege-escalation
  • T1547.006: Kernel Modules and Extensions persistence, privilege-escalation
  • T1553.004: Install Root Certificate defense-impairment
  • T1556.006: Multi-Factor Authentication defense-impairment, persistence, credential-access

References

Related at Berigo

Articles

Services

  • NIS2 for the Board

    NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities