Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise developer account
-
DeliveryAuthenticate to backend panel
-
ExploitAccess template editor
-
ExecutionInject query builder payload
-
PersistExecute database write via Twig
-
ImpactModify/delete records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires all of the following conditions: (1) Backend user authentication with explicit Developer role permissions to access template editor; (2) cms.safe_mode enabled in the October CMS configuration; (3) Access to Twig template markup editor or ability to inject Twig code into template files; (4) October CMS version prior to 3.7.14 (for 3.x branch) or prior to 4.1.10 (for 4.x branch). The vulnerability does NOT affect installations with cms.safe_mode disabled (non-default but commonly disabled for performance), nor does it affect users without Developer permissions. Remote unauthenticated exploitation is not possible - attackers must first gain valid backend credentials or compromise an existing developer account. This is a privilege escalation within the developer role, not a remote code execution vector. |
| Impact | CVSS 6.6 (High) with AV:N/AC:H/PR:H indicates moderate real-world risk constrained by multiple factors: network accessibility is present, but attack complexity is high and requires high privileges (Developer role in backend). The vulnerability is NOT actively remotely exploitable by unauthenticated attackers - it requires an authenticated backend user with explicit Developer permissions to access the Twig template editor, which typically represents a trusted administrative function. However, for organizations with weak developer access controls or compromised developer accounts, the impact is severe: attackers can read sensitive data (C:H) and modify/delete database records (I:H/A:H) affecting data integrity and availability. No EPSS score, KEV status, or public POC availability data was provided; without these signals, assessment relies on CVSS vector and privilege requirements. The AC:H rating suggests the attack path is non-trivial despite high privileges, possibly indicating complex template syntax or sandbox bypass techniques required. Real-world priority depends on developer account security posture and whether cms.safe_mode is actually enabled in production - many CMS installations disable safe_mode for performance, which would eliminate this attack vector entirely. |
| Exploit ScenarioDerived | A developer with legitimate backend access (or an attacker who compromised a developer account) logs into the October CMS administration panel and navigates to the Twig template editor where cms.safe_mode is enabled. The attacker crafts malicious Twig template markup using the whitelisted query builder object to execute |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
October CMS versions prior to 3.7.14 and 4.1.10 allow backend developers with Developer permissions to bypass Twig sandbox restrictions and execute unauthorized database write operations (insert, update, delete) via the query builder when cms.safe_mode is enabled. This privilege escalation vulnerability enables data manipulation on any database table despite sandbox security policies intended to restrict template functionality.
RemediationAI
Vendor-released patch: October CMS 3.7.14 and 4.1.10. Update immediately to these versions or later. Organizations unable to patch promptly should implement the following compensating controls: (1) Disable cms.safe_mode in production if not required for your deployment - this completely eliminates Twig sandbox attack surface but sacrifices template operation restrictions, increasing risk if untrusted template code is executed; (2) Restrict Developer role permissions to a minimal set of trusted administrators and implement strong authentication (MFA) for backend accounts with Developer access; (3) Audit database access logs and Twig template modifications for suspicious activity; (4) Apply principle of least privilege at the database layer by creating separate read-only accounts for template execution if possible, though this may require October core modifications. The patch should be prioritized as high-urgency given the direct impact to data integrity.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
October CMS implements a Twig sandbox security policy to restrict dangerous operations in template markup when cms.safe_mode is enabled. The vulnerability exists in how the sandbox allow-list configuration handles the query builder object, which is intended for read-only template operations but exposes write methods (insert, update, delete) that can manipulate any database table. CWE-184 (Incomplete Filtering of Information within a Search Result) indicates the root cause involves incomplete enforcement of access controls - the sandbox filters certain Twig functions but fails to restrict the full API surface of the whitelisted query builder component, allowing write operations to bypass intended restrictions.
Know when October gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
October CMS build 412 is vulnerable to PHP code execution in the file upload functionality resulting in site compromise
An issue was discovered in October through build 471. Rated critical severity (CVSS 9.8), this vulnerability is remotely
octobercms in a CMS platform based on the Laravel PHP Framework. Rated critical severity (CVSS 9.1), this vulnerability
Cross-Site Request Forgery exists in OctoberCMS 1.0.426 (aka Build 426) due to improper validation of CSRF tokens for po
Octobercms is a self-hosted CMS platform based on the Laravel PHP Framework. Rated high severity (CVSS 7.2), this vulner
October CMS through 1.0.431 allows XSS by entering HTML on the Add Posts page. Rated medium severity (CVSS 6.1), this vu
October CMS build 412 is vulnerable to PHP code execution in the asset manager functionality resulting in site compromis
October CMS build 412 is vulnerable to file path modification in asset move functionality resulting in creating creating
October CMS build 412 is vulnerable to Apache configuration modification via file upload functionality resulting in site
Cross-Site Scripting exists in OctoberCMS 1.0.425 (aka Build 425), allowing a least privileged user to upload an SVG fil
Cross-site scripting (XSS) vulnerability in October CMS build 271 and earlier allows remote attackers to inject arbitrar
A Cross-Site Scripting (XSS) vulnerability in installation of October v.3.4.16 allows an attacker to execute arbitrary w
EUVD-2026-24155
GHSA-h6jm-f4hh-fw27
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB