# CVE-2021-33203: python3-django: 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.contri...

CVE-2021-33203 is fixed in 6 products on 1 platform, first by python-django 1:1.11.11-1ubuntu1.14, released June 2, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-33203
- Priority: Routine
- CVSS: 4.9 (Low)
- EPSS: 0.0274
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 2, 2021

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ol-automation-manager ol 8 | 0:1.0.2-1.el8 | [ELSA-2022-9341](https://patchblox.com/security/data/fix/linux/elsa-2022-9341.md) | Apr 27, 2022 |
| Linux | ol-automation-manager-cli ol 8 | 0:1.0.2-1.el8 | [ELSA-2022-9341](https://patchblox.com/security/data/fix/linux/elsa-2022-9341.md) | Apr 27, 2022 |
| Linux | python-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.14 | [python-django 1:1.11.11-1ubuntu1.14](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-1-1.11.11-1ubuntu1.14.md) | Jun 2, 2021 |
| Linux | python-django-common Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.14 | [python-django-common 1:1.11.11-1ubuntu1.14](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-common-1-1.11.11-1ubuntu1.14.md) | Jun 2, 2021 |
| Linux | python3-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.14 | [python3-django 1:1.11.11-1ubuntu1.14](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-django-1-1.11.11-1ubuntu1.14.md) | Jun 2, 2021 |
| Linux | python3-django Ubuntu 20.04 LTS (focal) | 2:2.2.12-1ubuntu0.7 | [python3-django 2:2.2.12-1ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-django-2-2.2.12-1ubuntu0.7.md) | Jun 2, 2021 |
| Linux | python3-olamkit ol 8 | 0:1.0.2-1.el8 | [ELSA-2022-9341](https://patchblox.com/security/data/fix/linux/elsa-2022-9341.md) | Apr 27, 2022 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
