High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-44420
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:36 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-44420
Complete source record
{
"id": "30695ef123d47c4a214c711663fb3508159f4c6584fad8abd9936a6a9b6be549",
"url": "https://osv.dev/vulnerability/CVE-2021-44420",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-44420",
"summary": "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.",
"evidence": "osv:CVE-2021-44420",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-44420",
"aliases": [
"BIT-django-2021-44420",
"CVE-2021-44420",
"GHSA-v6rh-hp5x-86rv",
"PYSEC-2021-439"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/django/django",
"type": "GIT",
"events": [
{
"introduced": "2a62cdcfec85938f40abb2e9e6a9ff497e02afe8"
},
{
"fixed": "79d8dcefb2739176839fa76f8780aca5aa9b7101"
},
{
"introduced": "0b8a0296bfd30748f08021834e95cdae241686e8"
},
{
"fixed": "840bebf1eef1c2a373158262cdfec611dc535658"
},
{
"introduced": "3591e1c1acbd7c13174275367c3fdf012cb0413b"
},
{
"fixed": "0153a63a674937e4a56d9d5e4ca2d629b011fbde"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2"
},
{
"fixed": "2.2.25"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.1"
},
{
"fixed": "3.1.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2"
},
{
"fixed": "3.2.10"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-44420.json"
}
}
],
"modified": "2026-10-24T10:30:55.615100326Z",
"provider": "osv",
"references": [
"https://groups.google.com/forum/#%21forum/django-announce",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/",
"https://security.netapp.com/advisory/ntap-20211229-0006/",
"https://docs.djangoproject.com/en/3.2/releases/security/",
"https://www.djangoproject.com/weblog/2021/dec/07/security-releases/",
"https://www.openwall.com/lists/oss-security/2021/12/07/1"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "20.04"
},
{
"last_affected": "20.04"
},
{
"introduced": "21.04"
},
{
"last_affected": "21.04"
},
{
"introduced": "21.10"
},
{
"last_affected": "21.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:satellite:6.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:satellite",
"extracted_events": [
{
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-44420",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438460,
"published_at": "2021-12-08T00:15:07.757+00:00"
}