CVE-2026-22692Octobercms October
Medium 6.8
Follow: this CVE · Octobercms · Octobercms October We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 6.8
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 14, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for October.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | october/rain |
≥ 4.0.0 < 4.1.5 |
4.1.5 |
composer require "october/rain:^4.1.5" |
| Packagist | october/rain |
< 3.7.13 |
3.7.13 |
composer require "october/rain:^3.7.13" |
Per OSV / GitHub Advisories (GHSA-m5qg-jc75-4jp6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | < 3.7.13 |
| octobercms | october | ≥ 4.0.0 < 4.1.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory