All vulnerabilities

Servers and applications

CVE-2023-44382

Safe mode bypass using Twig sandbox escape

Severity
Critical 9.1
Published
29 Nov 2023
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.4.15
Also known as
GHSA-p8q3-h652-65vx
Sources
NVD, Project advisories (GitHub)

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…

Affected software

SoftwareAffected versions
October CMSServers and applications · cpe:a:octobercms:october
  • From 3.0.0 before 3.4.15
October CMSServers and applications · github:octobercms/october
  • From 3.0 before 3.4.15

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-44382
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-44382
  • GitHub Advisory Database https://github.com/advisories/GHSA-p8q3-h652-65vx
  • github.com https://github.com/octobercms/october/security/advisories/GHSA-p8q3-h652-65vx