CVE-2026-4277: Vulnerability in Djangoproject Django

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

PyPI, CWE-862

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.6 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-pwjp-ccjc-ghwg
EU ID
EUVD-2026-19687
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-862
Published
7 Apr 2026
Last change
26 Oct 2026
Likelihood rank
Higher than 45 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Djangoproject Django From 4.2 before 4.2.30; From 5.2 before 5.2.13; From 6.0 before 6.0.4. Fixed in 4.2.30, 5.2.13, 6.0.4

Affected packages

Vulnerable version ranges and fixed releases

  • Django PyPI, Affected from 6.0 before 6.0.4. Fixed in 6.0.4

Patches and fixes

Updates, commits and release notes

Related