Live threats

All CVEs / Djangoproject

CVE-2026-4277Djangoproject Django

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Apr 7, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 6.0 < 6.0.4 6.0.4 pip install "django>=6.0.4"
PyPI django ≥ 5.2 < 5.2.13 5.2.13 pip install "django>=5.2.13"
PyPI django ≥ 4.2 < 4.2.30 4.2.30 pip install "django>=4.2.30"
PyPI django ≥ 4.2 < 4.2.30 4.2.30 pip install "django>=4.2.30"
PyPI django ≥ 5.2 < 5.2.13 5.2.13 pip install "django>=5.2.13"
PyPI django ≥ 6.0 < 6.0.4 6.0.4 pip install "django>=6.0.4"

Per OSV / GitHub Advisories (GHSA-pwjp-ccjc-ghwg, PYSEC-2026-52). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 4.2 < 4.2.30
djangoprojectdjango≥ 5.2 < 5.2.13
djangoprojectdjango≥ 6.0 < 6.0.4

Official advisories

Also: SUSE (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.