Skip to content
Heist/ feed
Back to feed
Medium

djangorestframework — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-73229

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.

Products
djangorestframework
Affected versions
2.4.3-2, 3.10.2-1, 3.12.1-1, 3.12.4-1, 3.12.4-2, 3.12.4-2.1ubuntu1, 3.12.4-2ubuntu1, 3.14.0-2, 3.16.1-1, 3.16.1-3, 3.16.1-4, 3.17.1+ds1-1, 3.3.1-1, 3.3.2-1, 3.3.2-2, 3.4.0-2, 3.7.7-1, 3.9.0-2
Fixed versions
Not specified
CVEs
CVE-2026-73229
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:15 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-73229

core-osv · Original source

Published 11 Aug 2026, 20:18 UTC

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.

osv:UBUNTU-CVE-2026-73229

djangorestframework

Fixed versions: Not specified

djangorestframework

Fixed versions: Not specified

djangorestframework

Fixed versions: Not specified

djangorestframework

Fixed versions: Not specified

djangorestframework

Fixed versions: Not specified

djangorestframework

Fixed versions: Not specified

djangorestframework

Fixed versions: Not specified

Complete source record
{
  "id": "df6ef75c6e3120466c9563a0e03a444de00f6fae9746e98d1c7772eb0bfafca0",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-73229",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-73229",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-73229",
    "products": [
      {
        "name": {
          "value": "djangorestframework",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.2-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "djangorestframework",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.4.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.7.7-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "djangorestframework",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.9.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.10.2-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "djangorestframework",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.12.1-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.12.4-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.12.4-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.12.4-2ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.12.4-2.1ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "djangorestframework",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.14.0-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "djangorestframework",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.16.1-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.16.1-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.17.1+ds1-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "djangorestframework",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.16.1-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.16.1-3",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-73229",
      "aliases": [
        "UBUNTU-CVE-2026-73229"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "djangorestframework",
            "purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.4.3-2",
            "3.3.1-1",
            "3.3.2-1",
            "3.3.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73229.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-djangorestframework",
                "binary_version": "3.3.2-2"
              },
              {
                "binary_name": "python3-djangorestframework",
                "binary_version": "3.3.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "djangorestframework",
            "purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.4.0-2",
            "3.7.7-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73229.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-djangorestframework",
                "binary_version": "3.7.7-1"
              },
              {
                "binary_name": "python3-djangorestframework",
                "binary_version": "3.7.7-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "djangorestframework",
            "purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.9.0-2",
            "3.10.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73229.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-djangorestframework",
                "binary_version": "3.10.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "djangorestframework",
            "purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.12.1-1",
            "3.12.4-1",
            "3.12.4-2",
            "3.12.4-2ubuntu1",
            "3.12.4-2.1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73229.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-djangorestframework",
                "binary_version": "3.12.4-2.1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "djangorestframework",
            "purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.14.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73229.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-djangorestframework",
                "binary_version": "3.14.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "djangorestframework",
            "purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.16.1-3",
            "3.16.1-4",
            "3.17.1+ds1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73229.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-djangorestframework",
                "binary_version": "3.17.1+ds1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "djangorestframework",
            "purl": "pkg:deb/ubuntu/djangorestframework?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.16.1-1",
            "3.16.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73229.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-djangorestframework",
                "binary_version": "3.16.1-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:00.544296401Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-73229"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-73229",
        "https://www.cve.org/CVERecord?id=CVE-2026-73229",
        "https://github.com/encode/django-rest-framework/security/advisories/GHSA-g47c-3xmw-q6m2",
        "https://github.com/encode/django-rest-framework/pull/10012",
        "https://github.com/encode/django-rest-framework/commit/71f81946906e52f9dc8e5d22a0f3d2afa50c455e",
        "https://github.com/encode/django-rest-framework/commit/9e82afc98acfe6fc28c9bf78147f0c5b3f222cb5",
        "https://github.com/encode/django-rest-framework/releases/tag/3.17.2"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-73229",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360881,
  "published_at": "2026-08-11T20:18:00+00:00"
}