CVE-2026-4277 — Vulnerability in django — CVE Details
CRITICAL
Published April 7, 2026Updated June 10, 2026Source: osv
Summary
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.
Advisory Timeline
- First published April 7, 2026 (188 days ago).
- Last revised June 10, 2026 — 64 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip
Update django to 4.2.30 or laterpip install "django>=4.2.30"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| django | pypi | 4.2, 4.2.1, 4.2.10, 4.2.11 (+43 more) | 4.2.30, 5.2.13, 6.0.4 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-4277?
- This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-4277?
- CVE-2026-4277 affects django. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-4277 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
PYSEC-2026-52
BIT-django-2026-4277
GHSA-pwjp-ccjc-ghwg
Related CVEs
- CVE-2022-23833HIGH
Infinite Loop in Django
- CVE-2025-57833HIGH
Django is subject to SQL injection through its column aliases
- CVE-2021-33203MEDIUM
Path Traversal in Django
- CVE-2019-11358MEDIUM
XSS in jQuery as used in Drupal, Backdrop CMS, and other products
- CVE-2021-28658
- CVE-2021-31542
- CVE-2021-35042
- CVE-2021-44420
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies