CVE-2026-48587
Fixed in a distro release EPSS <1%CVSS 3.1
An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `django.utils.cache.has_vary_header()` in Django does not strip leading or trailing whitespace from `Vary` response header values before comparison, which allows remote attackers to read cached responses via requests to URLs whose responses contain whitespace-padded Vary header values. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Navid Rezazadeh for reporting this issue.
Products: djangoproject django
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | django | 5.2.15 |
| PyPI | django | 6.0.6 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | authentik-2025.12 | no fix |
| Chainguard | authentik-fips-2025.12 | no fix |
| Chainguard | awx | no fix |
| Chainguard | openstack-horizon-2025.1 | no fix |
| Chainguard | openstack-horizon-2025.1-fips | no fix |
| Chainguard | openstack-horizon-2025.2 | no fix |
| Chainguard | openstack-horizon-2025.2-fips | no fix |
| Chainguard | openstack-horizon-2026.1 | 25.7.3_git20260806-r1 |
| Chainguard | openstack-horizon-2026.1-fips | 25.7.3_git20260806-r1 |
| Debian:12 | python-django | 3:3.2.25-0+deb12u5 |
| Debian:13 | python-django | no fix |
| Debian:14 | python-django | 3:5.2.15-1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | python-Django | 4.2.11-150600.3.59.1 |
| Ubuntu:22.04:LTS | python-django | no fix |
| Ubuntu:24.04:LTS | python-django | no fix |
| Ubuntu:25.10 | python-django | no fix |
| Ubuntu:26.04:LTS | python-django | no fix |
| Ubuntu:26.10 | python-django | no fix |
| Ubuntu:Pro:14.04:LTS | python-django | no fix |
| Ubuntu:Pro:16.04:LTS | python-django | no fix |
| Ubuntu:Pro:18.04:LTS | python-django | no fix |
| Ubuntu:Pro:20.04:LTS | python-django | no fix |
| openSUSE:Leap 16.0 | python-Django | 5.2.4-bp160.9.1 |
| openSUSE:Tumbleweed | python-Django | 5.2.15-1.1 |
| openSUSE:Tumbleweed | python-Django4 | 4.2.30-3.1 |
| openSUSE:Tumbleweed | python-Django5 | 5.2.16-1.1 |
| openSUSE:Tumbleweed | python-Django6 | 6.0.6-1.1 |