Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. october/rain
  4. ›
  5. CVE-2026-22692

CVE-2026-22692: October Rain has a Twig Sandbox Bypass via Collection Methods

April 14, 2026

A sandbox bypass vulnerability was identified 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.

References

  • github.com/advisories/GHSA-m5qg-jc75-4jp6
  • github.com/octobercms/october
  • github.com/octobercms/october/security/advisories/GHSA-m5qg-jc75-4jp6
  • nvd.nist.gov/vuln/detail/CVE-2026-22692

Code Behaviors & Features

Detect and mitigate CVE-2026-22692 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.13, all versions starting from 4.0.0 before 4.1.5

Fixed versions

  • 4.1.5
  • 3.7.13

Solution

Upgrade to versions 3.7.13, 4.1.5 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-693: Protection Mechanism Failure

Source file

packagist/october/rain/CVE-2026-22692.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:44 +0000.