Security Resilience

CVE-2026-4277

Access Control in Djangoproject Django 4.2 – 4.2.30

Published
07 April 2026
Modified
26 October 2026
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0064 45th percentile
Risk Priority 72 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-4277 is a critical-severity Missing Authorization (CWE-862) vulnerability in Djangoproject Django. Its CVSS base score is 9.8 (Critical).

Operationally, ranked at the 45th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-4277 is a missing authorization vulnerability (CWE-862) in Django's GenericInlineModelAdmin component, where add permissions on inline model instances are not validated upon submission of forged POST data. It affects Django versions 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. Earlier unsupported series, such as 5.0.x, 4.1.x, and 3.2.x, were not evaluated but may also be vulnerable. The issue carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating critical severity.

An unauthenticated attacker with network access can exploit this vulnerability by submitting crafted POST requests to bypass add permissions for inline model instances. Successful exploitation allows arbitrary creation or manipulation of data in affected Django admin interfaces, potentially leading to high-impact confidentiality, integrity, and availability violations depending on the application's models and configuration.

Django's security advisories, available at docs.djangoproject.com/en/dev/releases/security/, groups.google.com/g/django-announce, and www.djangoproject.com/weblog/2026/apr/07/security-releases/, recommend upgrading to Django 6.0.4, 5.2.13, or 4.2.30 (or later) to mitigate the issue. The vulnerability was responsibly disclosed by N05ec@LZU-DSLab.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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,…

more

and 3.2.x) were not evaluated and may also be affected. Django would like to thank N05ec@LZU-DSLab for reporting this issue.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-31047Same product: Djangoproject Django
CVE-2023-47849Shared CWE-862
CVE-2025-49240Shared CWE-862
CVE-2025-42960Shared CWE-862
CVE-2023-49652Shared CWE-862
CVE-2025-31795Shared CWE-862
CVE-2023-3713Shared CWE-862
CVE-2023-1024Shared CWE-862
CVE-2025-7040Shared CWE-862
CVE-2025-26764Shared CWE-862

Affected Assets

djangoproject
django
4.2 — 4.2.30 · 5.2 — 5.2.13 · 6.0 — 6.0.4

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 directly requires enforcement of authorization decisions on every access request, structurally eliminating missing authorization checks.

AC-24 mandates that access control decisions are applied to each request, preventing bypass of authorization logic.

AC-25 requires a tamperproof, always-invoked reference monitor that ensures authorization checks cannot be omitted.

AC-6 reduces the set of actions reachable without proper authorization, limiting blast radius of missing checks.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

By requiring competent outsiders to verify that every function enforces the need-to-know principle, the control lowers the likelihood that missing authorization checks persist undetected.

blocks

A.8.3's purpose is to ensure only authorized access, and its guidance directly mandates the authorization checks that CWE-862 describes as missing, so a well-implemented access restriction control fully blocks exploitation of the missing authorization weakness.

blocks

Requiring evidence of minimum security capabilities and acceptance testing ensures that missing or bypassed authorization checks are detected before the delivered software is accepted.

finds

Mandating read-only access or proxy execution by an authorized administrator ensures every requested operation is explicitly authorized before it occurs.

blocks

Mandatory authorization checks before allowing modifications ensure that every sensitive action on source code is preceded by an explicit access-control decision.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-862, a class-level weakness, and none of its children carries one either.

References