All vulnerabilities

Servers and applications

CVE-2026-26274

Safe Mode Bypass via Twig Database Write Operations

Severity
Medium 6.6
Published
21 Apr 2026
Last changed
21 Apr 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.7.14
Exploit chance
0.2% in the next 30 daysHigher than 15% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-h6jm-f4hh-fw27
Sources
Project advisories (GitHub)

Description

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.

  • Arbitrary database writes including modification or deletion of any table
  • Requires authenticated backend access with Developer permissions
  • Only relevant when cms.safe_mode is enabled (otherwise direct PHP injection is already possible)
From octobercms/october's security advisory.

Workarounds

If upgrading immediately is not possible:

  • Restrict Developer tool access to fully trusted administrators only
Workarounds as given by octobercms/october's security advisory.

Affected software

SoftwareAffected versions
October CMSServers and applications · github:octobercms/october
  • Every version before 3.7.14

About October CMS

content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
2,621Packagist, 15 Nov 2026
Total downloads (Packagist)
1,056,452Packagist, 15 Nov 2026
GitHub stars
11,159GitHub, 15 Nov 2026
Forks
2,201GitHub, 15 Nov 2026
Latest release
v4.4.0GitHub, 15 Nov 2026
Released
30 Aug 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
15 May 2014Wikidata
First published on GitHub
26 Nov 2013GitHub

References