What’s Vulnerable › Vulnerabilities
CVE-2023-44382: October CMS safe mode bypass using Twig sandbox escape
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-12-01 · updated 2026-06-17
- Weakness: CWE-94
Description
October is a Content Management System (CMS) and web platform to assist with development workflow. An authenticated backend user with the `editor.cms_pages`, `editor.cms_layouts`, or `editor.cms_partials` permissions who would normally not be permitted to provide PHP code to be executed by the CMS due to `cms.safe_mode` being enabled can write specific Twig code to escape the Twig sandbox and execute arbitrary PHP. This issue has been patched in 3.4.15.
Affected products
- octobercms october: from 3.0.0 before 3.4.15 — fixed in 3.4.15
How to fix
Upgrade to a fixed version: octobercms october 3.4.15. Check the vendor advisory for mitigations.
References
- https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx
- https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx
Get alerted when CVE-2023-44382 or the next vulnerability affects your stack