Is django 2.1 vulnerable?
PyPI · 15 releases from 2.1.0 to 2.1.15 · latest django is 6.1.3 · checked 18 Nov 2026
Yes: 17 known advisories
Yes. django 2.1.15, the last 2.1 release, is affected by 17 known security advisories (3 critical, 4 high, 6 medium, 4 low), including CVE-2025-64459, CVE-2020-7471, CVE-2019-19844. 11 more affect earlier 2.1.x releases. Upgrade to 5.2.17 or later to fix all of them.
pip install 'django>=5.2.17'Is your project on an affected django?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting django 2.1.15
Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing
- Affected
- <5.2.17 · >=6.0a1 <6.0.8
- Fixed in
- 5.2.17, 6.0.8
Django GeoDjango vulnerable to denial of service through deeply nested geometry collections
- Affected
- <5.2.17 · >=6.0a1 <6.0.8 · >=6.1a1 <6.1.1
- Fixed in
- 5.2.17, 6.0.8, 6.1.1
Django: DomainNameValidator permits newline characters that may enable HTTP header injection
- Affected
- <5.2.16 · >=6.0.0 <6.0.7
- Fixed in
- 5.2.16, 6.0.7
Django: GDALRaster may over-read heap memory when constructed from bytes
- Affected
- <5.2.16 · >=6.0.0 <6.0.7
- Fixed in
- 5.2.16, 6.0.7
Django: cache middleware may expose private responses when unrelated request cookies are present
- Affected
- <5.2.16 · >=6.0.0 <6.0.7
- Fixed in
- 5.2.16, 6.0.7
Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling
- Affected
- <5.2.15 · >=6.0.0 <6.0.6
- Fixed in
- 5.2.15, 6.0.6
Django: has_vary_header may expose cached responses when Vary values contain whitespace
- Affected
- <5.2.15 · >=6.0.0 <6.0.6
- Fixed in
- 5.2.15, 6.0.6
Django: signed cookies are vulnerable to salt namespace collisions
- Affected
- <5.2.15 · >=6.0.0 <6.0.6
- Fixed in
- 5.2.15, 6.0.6
Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.
- Affected
- >=5.2a1 <5.2.8 · >=5.0a1 <5.1.14 · <4.2.26
- Fixed in
- 4.2.26, 5.1.14, 5.2.8
Django has a denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows
- Affected
- >=5.2a1 <5.2.8 · >=5.0a1 <5.1.14 · <4.2.26
- Fixed in
- 4.2.26, 5.1.14, 5.2.8
Django is subject to SQL injection through its column aliases
- Affected
- <4.2.24 · >=5.0a1 <5.1.12 · >=5.2a1 <5.2.6
- Fixed in
- 4.2.24, 5.1.12, 5.2.6
Django Improper Output Neutralization for Logs vulnerability
- Affected
- >=5.2 <5.2.2 · >=5.0a1 <5.1.10 · <4.2.22
- Fixed in
- 4.2.22, 5.1.10, 5.2.2
Django allows enumeration of user e-mail addresses
- Affected
- >=5.1 <5.1.1 · >=5.0 <5.0.9 · <4.2.16
- Fixed in
- 4.2.16, 5.0.9, 5.1.1
Django vulnerable to Reflected File Download attack
- Affected
- <3.2.15 · >=4.0 <4.0.7
- Fixed in
- 3.2.15, 4.0.7
Path Traversal in Django
- Affected
- <2.2.24 · >=3.0 <3.1.12 · >=3.2 <3.2.4
- Fixed in
- 2.2.24, 3.1.12, 3.2.4
SQL injection in Django
- Affected
- <1.11.28 · >=2.0 <2.2.10 · >=3.0 <3.0.3
- Fixed in
- 1.11.28, 2.2.10, 3.0.3
Django Potential account hijack via password reset form
- Affected
- <1.11.27 · >=2.0 <2.2.9 · >=3.0 <3.0.1
- Fixed in
- 1.11.27, 2.2.9, 3.0.1
Fixed within 2.1.x, affecting earlier releases
Django allows unintended model editing
- Affected
- >=2.1 <2.1.15 · >=2.2 <2.2.8
- Fixed in
- 2.1.15, 2.2.8
SQL Injection in Django
- Affected
- >=1.11a1 <1.11.23 · >=2.1a1 <2.1.11 · >=2.2a1 <2.2.4
- Fixed in
- 1.11.23, 2.1.11, 2.2.4
Django Denial-of-service in strip_tags()
- Affected
- >=1.11a1 <1.11.23 · >=2.1a1 <2.1.11 · >=2.2a1 <2.2.4
- Fixed in
- 1.11.23, 2.1.11, 2.2.4
Uncontrolled Recursion in Django
- Affected
- >=1.11a1 <1.11.23 · >=2.1a1 <2.1.11 · >=2.2a1 <2.2.4
- Fixed in
- 1.11.23, 2.1.11, 2.2.4
Django Denial-of-service in django.utils.text.Truncator
- Affected
- >=1.11a1 <1.11.23 · >=2.1a1 <2.1.11 · >=2.2a1 <2.2.4
- Fixed in
- 1.11.23, 2.1.11, 2.2.4
Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS
- Affected
- >=2.1 <2.1.10 · >=2.2 <2.2.3 · >=1.11 <1.11.22
- Fixed in
- 1.11.22, 2.1.10, 2.2.3
Django Cross-site Scripting in AdminURLFieldWidget
- Affected
- >=1.11a1 <1.11.21 · >=2.1a1 <2.1.9 · >=2.2a1 <2.2.2
- Fixed in
- 1.11.21, 2.1.9, 2.2.2
XSS in jQuery as used in Drupal, Backdrop CMS, and other products
- Affected
- >=2.0a1 <2.1.9 · >=2.2a1 <2.2.2
- Fixed in
- 2.1.9, 2.2.2
Uncontrolled Memory Consumption in Django
- Affected
- >=1.11 <1.11.19 · >=2.0 <2.0.11 · >=2.1 <2.1.6
- Fixed in
- 1.11.19, 2.0.11, 2.1.6
Improper Input Validation in Django
- Affected
- >=1.11a1 <1.11.18 · >=2.0a1 <2.0.10 · >=2.1a1 <2.1.5
- Fixed in
- 1.11.18, 2.0.10, 2.1.5
Django allows unprivileged users to read the password hashes of arbitrary accounts
- Affected
- >=2.1 <2.1.2
- Fixed in
- 2.1.2
Every django 2.1.x release
Affected: 2.1.0 to 2.1.15. Latest django: 6.1.3.
| Version | Known advisories |
|---|---|
| django 2.1.15 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844 |
| django 2.1.14 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118 |
| django 2.1.13 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118 |
| django 2.1.12 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118 |
| django 2.1.11 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118 |
| django 2.1.10 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232 |
| django 2.1.9 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781 |
| django 2.1.8 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358 |
| django 2.1.7 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358 |
| django 2.1.5 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358, CVE-2019-6975 |
| django 2.1.4 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358, CVE-2019-6975, CVE-2019-3498 |
| django 2.1.3 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358, CVE-2019-6975, CVE-2019-3498 |
| django 2.1.2 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358, CVE-2019-6975, CVE-2019-3498 |
| django 2.1.1 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358, CVE-2019-6975, CVE-2019-3498, CVE-2018-16984 |
| django 2.1.0 | CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2022-36359, CVE-2021-33203, CVE-2020-7471, CVE-2019-19844, CVE-2019-19118, CVE-2019-14234, CVE-2019-14233, CVE-2019-14235, CVE-2019-14232, CVE-2019-12781, CVE-2019-12308, CVE-2019-11358, CVE-2019-6975, CVE-2019-3498, CVE-2018-16984 |
Which of your client projects are still on django 2.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact django version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other django versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.