Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-4277 BIT-django-2026-4277EUVD-2026-19687GHSA-pwjp-ccjc-ghwgPYSEC-2026-52

Privilege abuse in GenericInlineModelAdmin

Published Apr 7, 2026 · Updated Jun 23, 2026 · Assigned by DSF

Description

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.

Affected products

VendorProductAffectedFixed
djangoproject Django 6.0 – < 6.0.4, 5.2 – < 5.2.13, 4.2 – < 4.2.30 6.0.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 3:4.2.30-1 —
Debian 13 python-django No fix yet —
Debian 12 python-django No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 python-django 3:5.2.4-1ubuntu2.4 USN-8154-1
Ubuntu 24.04 LTS python-django 3:4.2.11-1ubuntu1.15 USN-8154-1
Ubuntu 22.04 LTS python-django 2:3.2.12-2ubuntu1.26 USN-8154-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS python-django 2:2.2.12-1ubuntu0.29+esm8 USN-8154-1
Ubuntu Pro 18.04 LTS python-django 1:1.11.11-1ubuntu1.21+esm15 USN-8154-1
Ubuntu Pro 16.04 LTS python-django 1.8.7-1ubuntu5.15+esm12 —
Ubuntu Pro 14.04 LTS python-django No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 5.2.13-1.1 openSUSE-SU-2026:10567-1
openSUSE Tumbleweed python-Django4 4.2.30-1.1 openSUSE-SU-2026:10516-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0.4-1.1 openSUSE-SU-2026:10517-1
openSUSE Leap 16.0 python-Django 5.2.4-bp160.7.1 openSUSE-SU-2026:20578-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-django 5.2.13-r0 —
Alpine v3.23 py3-django 4.2.30-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 6.0, < 6.0.4 6.0.4 GHSA-pwjp-ccjc-ghwg
PyPI django >= 5.2, < 5.2.13 5.2.13 GHSA-pwjp-ccjc-ghwg
PyPI django >= 4.2, < 4.2.30 4.2.30 GHSA-pwjp-ccjc-ghwg
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 PYSEC-2026-52

Advisories 7

References