Advisory record · GHSA-m5qg-jc75-4jp6

October Rain has a Twig Sandbox Bypass via Collection Methods

CVSS 4.9 MediumEPSS 0.0040 · 34th percentile

Published by the GitHub Advisory Database at 14 Apr 2026, 20:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
october/rainPackagist>=4.0.0, <4.1.5 || <3.7.134.1.5, 3.7.13
Identifiers
GHSA-m5qg-jc75-4jp6 · CVE-2026-22692 · PKSA-7hg1-vmz2-j7w6
Weakness (CWE)
CWE-284 · CWE-693
Published
14 Apr 2026
Updated
14 Apr 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

October Rain versions below 3.7.13, and versions 4.0.0 up to but not including 4.1.5, have a sandbox bypass in the optional Twig safe mode (CMS_SAFE_MODE) via certain methods on the collect() helper. An authenticated user with CMS template editing permissions can bypass Twig sandbox restrictions; the issue only affects installations with safe mode enabled, which is off by default. Upgrade to 3.7.13 or 4.1.5. Alternatively, disable CMS_SAFE_MODE or limit template editing to fully trusted administrators.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.9 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.