Vulnerability · Published Aug 11, 2026 · Assigned by GitHub_M
CVE-2026-73229Django REST framework: AdminRenderer may disclose GET-protected data when rendering invalid write requests
Medium 4.3
In plain English
A medium-severity information exposure in django-rest-framework from encode. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Django REST framework is a powerful and flexible toolkit for building Web APIs. Prior to 3.17.2, Django REST Framework's rest_framework/renderers.py AdminRenderer.render() uses override_method() to simulate GET and directly invokes view.get() without view.check_permissions() while rendering an invalid write request, allowing a 400 Bad Request HTML response to disclose data from a GET representation that the requester is not permitted to access. This issue is fixed in version 3.17.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | djangorestframework | no fix listed | DEBIAN-CVE-2026-73229 |
| Debian:13 | djangorestframework | no fix listed | DEBIAN-CVE-2026-73229 |
| Debian:14 | djangorestframework | 3.18.1+ds1-1 | DEBIAN-CVE-2026-73229 |
| PyPI | djangorestframework | 3.17.2 | GHSA-g47c-3xmw-q6m2 |
| PyPI | djangorestframework | 3.17.2 | PYSEC-2026-3828 |
| Ubuntu:22.04:LTS | djangorestframework | no fix listed | UBUNTU-CVE-2026-73229 |
| Ubuntu:24.04:LTS | djangorestframework | no fix listed | UBUNTU-CVE-2026-73229 |
| Ubuntu:26.04:LTS | djangorestframework | no fix listed | UBUNTU-CVE-2026-73229 |
| Ubuntu:26.10 | djangorestframework | no fix listed | UBUNTU-CVE-2026-73229 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| encode | django-rest-framework | < 3.17.2 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/encode/django-rest-framework/security/advisories/GHSA-g47c-3xmw-q6m2 x_refsource_CONFIRM
- https://github.com/encode/django-rest-framework/pull/10012 x_refsource_MISC
- https://github.com/encode/django-rest-framework/commit/71f81946906e52f9dc8e5d22a0f3d2afa50c455e x_refsource_MISC
- https://github.com/encode/django-rest-framework/commit/9e82afc98acfe6fc28c9bf78147f0c5b3f222cb5 x_refsource_MISC
- https://github.com/encode/django-rest-framework/releases/tag/3.17.2 x_refsource_MISC