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.
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.