Skip to content
OpenAdvisories
Medium · 6.6 CVE-2026-26274 EUVD-2026-24155GHSA-h6jm-f4hh-fw27

October: Safe Mode Bypass via Twig Database Write Operations

Published Apr 21, 2026 · Updated Apr 21, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
octobercms october >= 4.0.0, < 4.1.10, < 3.7.14 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist october/october < 3.7.14 3.7.14 GHSA-h6jm-f4hh-fw27
Packagist october/october >= 4.0.0, < 4.1.10 4.1.10 GHSA-h6jm-f4hh-fw27

References