Django GenericInlineModelAdmin Permissions Bypass in 4.2<4.2.30,5.2<5.2.13,6.0<6.0.4
CVE-2026-4277 Published on April 7, 2026
Privilege abuse in GenericInlineModelAdmin
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.
Vulnerability Analysis
CVE-2026-4277 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Timeline
Initial report received.
Vulnerability confirmed. 9 days later.
Security release issued. 22 days later.
Weakness Type
What is an AuthZ Vulnerability?
The software does not perform an authorization check when an actor attempts to access a resource or perform an action.
CVE-2026-4277 has been classified to as an AuthZ vulnerability or weakness.
Products Associated with CVE-2026-4277
stack.watch emails you whenever new vulnerabilities are published in Django Project Django or Canonical Ubuntu Linux. Just hit a watch button to start following.
Affected Versions
djangoproject Django:- Version 6.0 and below 6.0.4 is affected.
- Version 6.0.4 is unaffected.
- Version 5.2 and below 5.2.13 is affected.
- Version 5.2.13 is unaffected.
- Version 4.2 and below 4.2.30 is affected.
- Version 4.2.30 is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.