CVE-2021-21264 in Octobercms October
October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. A bypass of CVE-2020-26231 (fixed in 1.0.470/471 and 1.1.1) was discovered that has the same impact as CVE-2020-26231 & CVE-2020-15247. An authenticated backend user with the `cms.manage_pages`, `cms.manage_layouts`, or `cms...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, high privileges required, requires user interaction, can impact systems beyond the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Octobercms | October | ≤ 1.0.471 ≥ 1.1.0, ≤ 1.1.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. A bypass of CVE-2020-26231 (fixed in 1.0.470/471 and 1.1.1) was discovered that has the same impact as CVE-2020-26231 & CVE-2020-15247. An authenticated backend user with the `cms.manage_pages`, `cms.manage_layouts`, or `cms.manage_partials` permissions who would **normally** not be permitted to provide PHP code to be executed by the CMS due to `cms.enableSafeMode` being enabled is able to write specific Twig code to escape the Twig sandbox and execute arbitrary PHP. This is not a problem for anyone that trusts their users with those permissions to normally write & manage PHP within the CMS by not having `cms.enableSafeMode` enabled, but would be a problem for anyone relying on `cms.enableSafeMode` to ensure that users with those permissions in production do not have access to write & execute arbitrary PHP. Issue has been patched in Build 472 (v1.0.472) and v1.1.2. As a workaround, apply https://github.com/octobercms/october/commit/f63519ff1e8d375df30deba63156a2fc97aa9ee7 to your installation manually if unable to upgrade to Build 472 or v1.1.2.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-21264 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-240951-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L |
| Published | 2021-05-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A bypass of CVE-2020-26231 was discovered in October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. This bypass allows authenticated backend users with specific permissions to perform actions they should not be able to, similar to CVE-2020-26231 and CVE-2020-15247.
The attack vector involves an authenticated user with the `cms.manage_pages`, `cms.manage_layouts`, or `cms.manage_partials` permissions exploiting a bypass in the security measures that should restrict their actions. This could lead to unauthorized code execution or data manipulation.
Questions
What is CVE-2021-21264?
A bypass of CVE-2020-26231 was discovered in October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. This bypass allows authenticated backend users with specific permissions to perform actions they should not be able to, similar to CVE-2020-26231 and CVE-2020-15247.
What is the CVSS score for CVE-2021-21264?
CVE-2021-21264 has CVSS 5.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L. EPSS: 0.3%.
Is CVE-2021-21264 actively exploited?
No confirmed active exploitation of CVE-2021-21264 as of 2026-09-25.
How do I remediate CVE-2021-21264?
Priority: HIGH.
What systems are affected by CVE-2021-21264?
CVE-2021-21264 affects Octobercms October.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Octobercms","product":"October","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.