CVE-2026-22692

Medium

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.

SeverityMedium
CVSS4.9
Exploit probability—
ProductOctober
PublishedApr 14, 2026
First seenApr 14, 2026

How to fix

Update
  • octobercms october3.7.13, 4.1.5 or later
  • october/rain4.1.5, 3.7.13 or later

Affected products

ProductAffected versionsFixed in
octobercms octoberv < 3.7.13, 4.0.0 ≤ v < 4.1.53.7.13, 4.1.5
october/rainPackagist4.0.0 ≤ v < 4.1.5, v < 3.7.134.1.5, 3.7.13

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-22692 · October · Dark Radar