CVE-2026-4277 in Djangoproject Django
An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. Add permissions on inline model instances were not validated on submission of forged `POST` data in `GenericInlineModelAdmin`. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also b...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Djangoproject | Django | ≥ 4.2, < 4.2.30 ≥ 5.2, < 5.2.13 ≥ 6.0, < 6.0.4 |
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
Vendor PSIRT: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. Add permissions on inline model instances were not validated on submission of forged `POST` data in `GenericInlineModelAdmin`. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank N05ec@LZU-DSLab for reporting this issue.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-4277 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-153794-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-04-07 |
| Last modified | 2026-10-26 |
| 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 critical vulnerability in Django versions 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30 allows attackers to add permissions on inline model instances by submitting forged POST data in GenericInlineModelAdmin, potentially leading to unauthorized access and privilege escalation.
The vulnerability arises from the lack of proper validation of POST data when adding permissions on inline model instances in the GenericInlineModelAdmin class. An attacker can exploit this by sending specially crafted POST requests to manipulate permissions, which could lead to unauthorized access and privilege escalation.
Questions
What is CVE-2026-4277?
A critical vulnerability in Django versions 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30 allows attackers to add permissions on inline model instances by submitting forged POST data in GenericInlineModelAdmin, potentially leading to unauthorized access and privilege escalation.
What is the CVSS score for CVE-2026-4277?
CVE-2026-4277 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2026-4277 actively exploited?
No confirmed active exploitation of CVE-2026-4277 as of 2026-11-03.
How do I remediate CVE-2026-4277?
Priority: IMMEDIATE. Advisory: https://docs.djangoproject.com/en/dev/releases/security/ PSIRT: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
What systems are affected by CVE-2026-4277?
CVE-2026-4277 affects Djangoproject Django.
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":"Djangoproject","product":"Django","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-10-26.