Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.
CVSS Details
- CVSS 3.1 Base Score: 4.9
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-django | Aug 22, 2024 | Jun 8, 2021 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Jun 8, 2021 |
| Debian | — | Upgrade python-django | Jun 7, 2021 | Jun 7, 2021 |
| Gentoo Linux | — | Upgrade dev-python/django. | Sep 18, 2025 | Sep 17, 2025 |
| Oracle Solaris | — | Upgrade library/python/django-39 to version 2.2.24-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/django-37 to version 2.2.24-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/django to version 2.2.24-11.4.35.0.1.94.2 on Solaris 11.4 | Jul 21, 2021 | Jun 8, 2021 |
| Oracle_linux | — | Upgrade ol-automation-manager-cliUpgrade ol-automation-managerUpgrade python3-olamkit | Apr 28, 2022 | Jun 2, 2021 |
| Suse | — | Upgrade python3-django | Jan 4, 2023 | Jun 8, 2021 |
| Ubuntu | — | Upgrade python-djangoUpgrade python3-djangoUpgrade python3-django (Ubuntu Pro)Upgrade python-django (Ubuntu Pro) | Jun 3, 2021 | Jun 2, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub