CVE-2026-26274: October/october October CMS Has Safe Mode Vulnerability
MODERATECVE-2026-26274 is a MODERATE (CVSS 6.6) october cms has safe mode vulnerability (CWE-863: Incorrect Authorization) affecting October/october libraries in the Packagist ecosystem. The issue involves october cms has safe mode bypass via twig database write operations. Remediation is available by upgrading affected packages to version 3.7.14, 4.1.10.
CVE-2026-26274 at a Glance
Security Impact
CVSS: 6.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-26274
To remediate this vulnerability, upgrade all affected October/october dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade october/october to 3.7.14
Upgrade october/october to 4.1.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for october/october
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-26274, inspect your project dependencies for October/october:
inspect dependencies for october/october
Analyze the terminal output to locate any version of October/october in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In October/october, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-26274 Affected October/october Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
october/october
|
Packagist |
< 3.7.14
|
3.7.14
|
|
october/october
|
Packagist |
≥ 4.0.0
< 4.1.10
|
4.1.10
|
References
Frequently Asked Questions
What is CVE-2026-26274?
Which October/october versions are affected?
What version fixes CVE-2026-26274?
Is october/october affected?
What is the CVSS score of CVE-2026-26274?
What CWE is associated with CVE-2026-26274?
How can I check Packagist dependencies for CVE-2026-26274?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h6jm-f4hh-fw27",
"modified" : "2026-04-24T21:08:44Z",
"published" : "2026-04-21T16:44:19Z",
"aliases" : [ "CVE-2026-26274" ],
"summary" : "October CMS has Safe Mode Bypass via Twig Database Write Operations",
"details" : "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.\n\n### Impact\n- Arbitrary database writes including modification or deletion of any table\n- Requires authenticated backend access with Developer permissions\n- Only relevant when `cms.safe_mode` is enabled (otherwise direct PHP injection is already possible)\n\n### Patches\nThe vulnerability has been patched in v3.7.14 and v4.1.10. Write operations such as `insert`, `update`, `delete`, and `truncate` are now blocked on query builder and model objects within the Twig sandbox. All users are encouraged to upgrade to the latest patched version.\n\n### Workarounds\nIf upgrading immediately is not possible:\n- Restrict Developer tool access to fully trusted administrators only\n\n### Reporter\n- Reported by [Chris Alupului](https://github.com/neosprings)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/october"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/october"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/octobercms/october/security/advisories/GHSA-h6jm-f4hh-fw27"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-26274"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/octobercms/october"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-184", "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-21T16:44:19Z",
"nvd_published_at" : "2026-04-21T17:16:30Z"
}
}