# CVE-2021-44420: Potential bypass of an upstream access control based on URL paths in Django

- Severity: High 7.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.09%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-12-07T22:55:40.000Z
- Modified: 2026-09-08T08:46:24.376Z
- Also known as: GHSA-v6rh-hp5x-86rv, BIT-DJANGO-2021-44420, PYSEC-2021-439
- Weaknesses: CWE-287
- Assigned by: mitre

## Description

In Django 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10, HTTP requests for URLs with trailing newlines could bypass upstream access control based on URL paths.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- django (PyPI): from 2.2a1 before 2.2.25; from 3.0a1 before 3.1.14; from 3.2a1 before 3.2.10; from 2.2 before 2.2.25; from 3.1 before 3.1.14; from 3.2 before 3.2.10
- djangoproject django: from 2.2 before 2.2.25; from 3.1 before 3.1.14; from 3.2 before 3.2.10
- redhat satellite: 6.0
- debian debian_linux: 10.0; 11.0
- canonical ubuntu_linux: 20.04; 21.04; 21.10
- fedoraproject fedora: 35
- django (Bitnami): from 2.2.0 before 2.2.25; from 3.1.0 before 3.1.14; from 3.2.0 before 3.2.10

## Every score

- GitHub: CVSS:3.1 7.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://groups.google.com/forum/#%21forum/django-announce> (web)
- <https://docs.djangoproject.com/en/3.2/releases/security/> (advisory, patch, vendor-advisory, web)
- <https://www.openwall.com/lists/oss-security/2021/12/07/1> (advisory, mailing-list, patch, third-party-advisory, web)
- <https://www.djangoproject.com/weblog/2021/dec/07/security-releases/> (advisory, article, patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20211229-0006/> (advisory, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44420> (advisory, web)
- <https://github.com/django/django/commit/d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6> (web)
- <https://docs.djangoproject.com/en/3.2/releases/security> (web)
- <https://github.com/advisories/GHSA-v6rh-hp5x-86rv> (advisory)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-439.yaml> (web)
- <https://groups.google.com/forum/#!forum/django-announce> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV> (web)
- <https://security.netapp.com/advisory/ntap-20211229-0006> (web)
- <https://www.djangoproject.com/weblog/2021/dec/07/security-releases> (web)

## Sources

- CVE List: [CVE-2021-44420](https://www.cve.org/CVERecord?id=CVE-2021-44420), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-v6rh-hp5x-86rv](https://github.com/advisories/GHSA-v6rh-hp5x-86rv), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2021-44420](https://nvd.nist.gov/vuln/detail/CVE-2021-44420), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-439](https://osv.dev/vulnerability/PYSEC-2021-439), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-DJANGO-2021-44420](https://osv.dev/vulnerability/BIT-DJANGO-2021-44420), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-44420 · Whole record: https://cve.day/CVE-2021-44420.json · Rebuilt by cve.day 2026-11-25T22:24:36.172Z
