{"id":"CVE-2026-4277","summary":"Privilege abuse in GenericInlineModelAdmin","details":"An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30.\nAdd permissions on inline model instances were not validated on submission of\r\nforged `POST` data in `GenericInlineModelAdmin`.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank N05ec@LZU-DSLab for reporting this issue.","aliases":["BIT-django-2026-4277","GHSA-pwjp-ccjc-ghwg","PYSEC-2026-52"],"modified":"2026-07-15T10:14:52.222507751Z","published":"2026-04-07T14:22:25.547Z","related":["CGA-7v23-q787-fhgc","SUSE-SU-2026:1740-1","openSUSE-SU-2026:10516-1","openSUSE-SU-2026:10517-1","openSUSE-SU-2026:10567-1","openSUSE-SU-2026:11270-1","openSUSE-SU-2026:20578-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4277.json","cna_assigner":"DSF","cwe_ids":["CWE-862"]},"references":[{"type":"WEB","url":"https://github.com/django/django/"},{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4277.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4277"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2026/apr/07/security-releases/"},{"type":"PACKAGE","url":"https://pypi.org/project/Django/"},{"type":"ARTICLE","url":"https://groups.google.com/g/django-announce"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"97aa3b7f08f51669e118f3af5ca91026e39664c3"},{"fixed":"3396992e837d5146270ea8112bb622c83fa4a919"},{"introduced":"9e7cc2b628fe8fd3895986af9b7fc9525034c1b0"},{"fixed":"7d831a9eeb88a6bf484af7b56fe29596bdbf09a6"},{"introduced":"36b5f39d9372147f0e758f590e35ee2b2bc317dd"},{"fixed":"141e791f48592011b0f38fb30d44291e3ce74ee0"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.2"},{"fixed":"4.2.30"},{"introduced":"5.2"},{"fixed":"5.2.13"},{"introduced":"6.0"},{"fixed":"6.0.4"}]}}],"versions":["5.2.12","6.0.3","5.2.11","6.0.2","6.0.1","5.2.10","6.0","5.2.9","5.2.8","5.2.7","5.2.6","5.2.5","5.2.4","5.2.3","5.2.2","5.2.1","5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4277.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}