Vulnerability · Published Apr 21, 2026 · Assigned by GitHub_M
CVE-2026-26274October: Safe Mode Bypass via Twig Database Write Operations
Medium 6.6
In plain English
A medium-severity incorrect authorization in october from octobercms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | october/october | 3.7.14 | GHSA-h6jm-f4hh-fw27 |
| Packagist | october/october | 4.1.10 | GHSA-h6jm-f4hh-fw27 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | >= 4.0.0, < 4.1.10< 3.7.14 |
Weakness: CWE-184, CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/octobercms/october/security/advisories/GHSA-h6jm-f4hh-fw27 x_refsource_CONFIRM