# djangorestframework (PyPI) vulnerabilities

7 known vulnerabilities (3 high, 3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 3.18.3 (Oct 6, 2026): no advisory affects it
- Newest unaffected release: 3.18.3 (Oct 6, 2026), the latest release
- Weekly downloads: 6.9M
- Dependents: 3,187
- Releases: 145 since 0.1.0 (Feb 21, 2011)
- Registry: https://pypi.org/project/djangorestframework/
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-114138: 0.1.0 to 3.18.1 (3.18.2 is outside it)
- CVE-2026-114137: 3.12.0 to 3.18.1 (3.18.2 is outside it)
- CVE-2026-114136: 3.6.4 to 3.18.1 (3.18.2 is outside it)
- CVE-2026-73229: 0.1.0 to 3.17.1 (3.17.2 is outside it)
- CVE-2026-73228: 0.1.0 to 3.17.1 (3.17.2 is outside it)
- CVE-2024-21520: 0.1.0 to 3.15.1 (3.15.2 is outside it)
- CVE-2020-25626: 0.1.0 to 3.11.1 (3.11.2 is outside it)

## Advisories (7)

### [CVE-2026-114138](https://cve.now/CVE-2026-114138): Django REST framework: Accept header with many large quoted parameters burns ~19s of CPU per request in content negotiation

- Severity: High 7.5
- Published: Oct 21, 2026
- Affected: fixed in 3.18.2.
- Fixed in 3.18.2 (released Oct 6, 2026, 15 days before disclosure).
- The latest release, 3.18.3, is not affected.

### [CVE-2026-114137](https://cve.now/CVE-2026-114137): Django REST framework: TokenProxy.delete() reports success and revokes nothing

- Severity: High 7.4
- Published: Oct 21, 2026
- Affected: from 3.12.0, fixed in 3.18.2.
- Fixed in 3.18.2 (released Oct 6, 2026, 15 days before disclosure).
- The latest release, 3.18.3, is not affected.

### [CVE-2026-114136](https://cve.now/CVE-2026-114136): Django REST framework: JSONParser applies an attacker-named codec to the request stream

- Severity: High 7.5
- Published: Oct 21, 2026
- Affected: from 3.6.4, fixed in 3.18.2.
- Fixed in 3.18.2 (released Oct 6, 2026, 15 days before disclosure).
- The latest release, 3.18.3, is not affected.

### [CVE-2026-73229](https://cve.now/CVE-2026-73229): Django REST framework: AdminRenderer may disclose GET-protected data when rendering invalid write requests

- Severity: Medium 4.3
- Published: Aug 11, 2026
- Affected: fixed in 3.17.2.
- Fixed in 3.17.2 (released Aug 5, 2026, 6 days before disclosure).
- The latest release, 3.18.3, is not affected.

### [CVE-2026-73228](https://cve.now/CVE-2026-73228): Django REST framework: Potential bypass of Django \`DATA\_UPLOAD\_MAX\_MEMORY\_SIZE\` when parsing oversized JSON and urlencoded request bodies…

- Severity: Medium 5.3
- Published: Aug 11, 2026
- Affected: fixed in 3.17.2.
- Fixed in 3.17.2 (released Aug 5, 2026, 6 days before disclosure).
- The latest release, 3.18.3, is not affected.

### [CVE-2024-21520](https://cve.now/CVE-2024-21520): Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break\_long\_headers template…

- Severity: Medium 5.3
- Published: Jun 26, 2024
- Affected: fixed in 3.15.2.
- Fixed in 3.15.2 (released Jun 19, 2024, 7 days before disclosure).
- The latest release, 3.18.3, is not affected.

### [CVE-2020-25626](https://cve.now/CVE-2020-25626): A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2.

- Severity: Unrated
- Published: Sep 30, 2020
- Affected: fixed in 3.11.2.
- Fixed in 3.11.2 (released Sep 30, 2020, the day of disclosure).
- The latest release, 3.18.3, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/djangorestframework
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
