CVE-2026-22692CWE-284CWE-693

October CMS: Twig Sandbox Bypass via Collection Methods

Medium · published April 14, 2026

CVSS v3.1
4.9
EPSS
0%
Percentile
32.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00395 · 32.5th percentile
Weaknesses
CWE-284 · Improper Access Control; CWE-693 · Protection Mechanism Failure
Published
2026-04-14T16:48Z
EPSS history
Timeline
  • 14 APR 16:48Z
    October CMS: Twig Sandbox Bypass via Collection Methods
    cvelistv5