1. Home
  2. Vulnerabilities
  3. CVE-2021-45452

CVE-2021-45452

Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal…

Published 5 Jan 2022 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Medium 45/100

Summary

Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.

Affected products and versions

Djangoproject (3 line(s))
Djangoproject
ProductVersionsFixed inSource
Django from 2.2 (included) to 2.2.26 (excluded) — NVD
Django from 3.2 (included) to 3.2.11 (excluded) — NVD
Django from 4.0 (included) to 4.0.1 (excluded) — NVD
Fedoraproject (1 line(s))
Fedoraproject
ProductVersionsFixed inSource
Fedora 35 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, NVD)
Weakness
CWE-22 · Traversée de chemin / fichiers

How this data is obtained and calculated