CVE-2026-4277
CRITICAL 9.8CVSS 3.1Django vulnerable to 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.
- Published
- 7 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
- NVD status
- Analyzed
- Weakness
- CWE-862
- Also known as
- BIT-django-2026-4277GHSA-pwjp-ccjc-ghwgPYSEC-2026-52
- Sources
- NVDJSONOSV GHSA-pwjp-ccjc-ghwgJSONOSV PYSEC-2026-52JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2, < 4.2.30 | 4.2.30 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.2, < 5.2.13 | 5.2.13 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 6.0, < 6.0.4 | 6.0.4 |
| OSV | PyPI | django | >= 6.0, < 6.0.4 | 6.0.4 |
| OSV | PyPI | django | >= 5.2, < 5.2.13 | 5.2.13 |
| OSV | PyPI | django | >= 4.2, < 4.2.30 | 4.2.30 |
| OSV | PyPI | django | >= 4.2, < 4.2.30; >= 5.2, < 5.2.13; >= 6.0, < 6.0.4 | 4.2.30, 5.2.13, 6.0.4 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Patch, Vendor Advisory, WEB, FIX
- https://groups.google.com/g/django-announce · Release Notes, WEB, ADVISORY
- https://www.djangoproject.com/weblog/2026/apr/07/security-releases/ · Patch, Vendor Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2026-4277 · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-52.yaml · WEB
- https://github.com/advisories/GHSA-pwjp-ccjc-ghwg · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Apr 2026)