# CVE-2023-44382: October CMS safe mode bypass using Twig sandbox escape

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2023-11-29T21:33:21.000Z
- Modified: 2026-06-17T06:27:31.820Z
- Also known as: GHSA-p8q3-h652-65vx
- Weaknesses: CWE-94
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- octobercms october: >= 3.0.0, < 3.4.15; from 3.0.0 before 3.4.15
- october/system (Packagist): from 3.0.0 before 3.4.15

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-44382> (advisory)
- <https://github.com/octobercms/october> (package)

## Sources

- CVE List: [CVE-2023-44382](https://www.cve.org/CVERecord?id=CVE-2023-44382), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-p8q3-h652-65vx](https://github.com/advisories/GHSA-p8q3-h652-65vx), CC-BY-4.0, modified 2023-12-04
- NVD: [CVE-2023-44382](https://nvd.nist.gov/vuln/detail/CVE-2023-44382), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-44382 · Whole record: https://cve.day/CVE-2023-44382.json · Rebuilt by cve.day 2026-11-25T22:58:30.867Z
