{"id":"CVE-2026-26274","published":"2026-04-21T16:16:06Z","modified":"2026-04-21T19:16:38Z","title":"October: Safe Mode Bypass via Twig Database Write Operations","vendor":"octobercms","product":"october","tier":"tail","description":{"text":"October is a Content Management System (CMS) and web platform. Prior to 3.7.14 and 4.1.10, a vulnerability was identified in the Twig sandbox security policy that allowed database write operations when cms.safe_mode is enabled. Backend users with Developer permissions could use Twig template markup to execute insert, update, and delete operations on any database table through the query builder, which is included in the sandbox allow-list. This vulnerability is fixed in 3.7.14 and 4.1.10.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00238,"percentile":0.15164,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-h6jm-f4hh-fw27","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":3.03},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"octobercms","affectedVersions":[{"vendor":"octobercms","product":"october","versions":[">= 4.0.0, < 4.1.10","< 3.7.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-21T19:16:28.731190Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"october/october","vulnerableRanges":["<3.7.14",">=4.0.0, <4.1.10"],"patched":["3.7.14","4.1.10"],"from":["GHSA-h6jm-f4hh-fw27"],"provenance":"source"}],"summary":{"text":"The flaw is in October CMS (product \"october\") in the Twig sandbox security policy, which permits database write operations even when cms.safe_mode is enabled. An attacker who holds backend Developer permissions, and can therefore author Twig template markup, could use the query builder, which the sandbox allow-list includes, to insert, update, or delete rows in any database table, and exploiting this requires network access and such an authenticated backend account, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:46Z"},"euvd":{"id":"EUVD-2026-24155","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-1999009","published":"2018-07-23","fixed":"1.0.437","kev":false},{"cve":"CVE-2021-41126","published":"2021-10-06","fixed":"2.1.12","kev":false},{"cve":"CVE-2024-51991","published":"2025-05-05","fixed":"3.7.5","kev":false,"link":{"from":"CVE-2024-51991","to":"CVE-2026-26274","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:october/october","fromFixed":"3.7.5","toFixed":"3.7.14","daysApart":351}]}},{"cve":"CVE-2026-26274","published":"2026-04-21","fixed":"4.1.10","kev":false},{"cve":"CVE-2026-63193","published":"2026-11-17","fixed":"4.3.2","kev":false,"link":{"from":"CVE-2026-26274","to":"CVE-2026-63193","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:october/october","fromFixed":"4.1.10","toFixed":"4.3.2","daysApart":210}]}}],"package":"Packagist:october/october"}}