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

Source: https://junglewise.ai/threats/cve-2026-26274-october-cms-has-safe-mode-bypass-via-twig-database-write  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-21. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-26274 · Severity: medium · CVSS 6.6 · Published 2026-04-21

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.

Technologies: [october/october (Packagist)](https://junglewise.ai/threats/technologies/october-october). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-26274 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-26274 being exploited in the wild.

**How severe is CVE-2026-26274?** Medium severity, with a CVSS score of 6.6, published 21 April 2026.

**Which products and versions are affected?** october/october (Packagist) ECOSYSTEM:introduced=0,fixed=3.7.14.

**Is there a fix for CVE-2026-26274?** Yes. october/october (Packagist): upgrade to 3.7.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-26274?** Check whether you run october/october (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- october/october (Packagist): upgrade to 3.7.14 or later

  ```sh
  composer require october/october:^3.7.14
  ```


## Affected products

- october/october (Packagist) ECOSYSTEM:introduced=0,fixed=3.7.14

## Identifiers

- CVE-2026-26274
- GHSA-h6jm-f4hh-fw27

## References

- [https://api.github.com/users/Neosprings](https://api.github.com/users/Neosprings)
- [https://github.com/Neosprings](https://github.com/Neosprings)
- [https://api.github.com/users/Neosprings/gists%7B/gist_id%7D](https://api.github.com/users/Neosprings/gists%7B/gist_id%7D)
- [https://api.github.com/users/Neosprings/repos](https://api.github.com/users/Neosprings/repos)
- [https://avatars.githubusercontent.com/u/149110916?v=4](https://avatars.githubusercontent.com/u/149110916?v=4)
- [https://api.github.com/users/Neosprings/events%7B/privacy%7D](https://api.github.com/users/Neosprings/events%7B/privacy%7D)

## Related threats

- [October CMS incomplete URL scheme validation in image resizer](https://junglewise.ai/threats/october-cms-incomplete-url-scheme-validation-in-image-resizer-f7555212)
- [October CMS Allows Unprotected SVG Rename in Media Manager](https://junglewise.ai/threats/cve-2024-51991-october-cms-allows-unprotected-svg-rename-in-media-manager)
- [October allows an admin account to upload PDF containing malicious JavaScript](https://junglewise.ai/threats/cve-2024-45962-october-allows-an-admin-account-to-upload-pdf-containing)
- [October CMS Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2023-25365-october-cms-cross-site-scripting-vulnerability)
- [Stored Cross-Site Scripting October CMS](https://junglewise.ai/threats/cve-2023-37692-stored-cross-site-scripting-october-cms)
