# CVE-2020-25032: Flask-Cors Directory Traversal vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.91%, higher than 90% of CVEs (2026-12-01)
- Published: 2020-08-31T03:57:28.000Z
- Modified: 2026-09-10T03:49:15.088Z
- Also known as: GHSA-xc3p-ff3m-f46v, PYSEC-2020-43
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- flask-cors (PyPI): before 3.0.9
- flask-cors_project flask-cors: before 3.0.9
- debian debian_linux: 10.0
- opensuse backports_sle: 15.0
- opensuse leap: 15.1; 15.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/corydolphin/flask-cors/releases/tag/3.0.9> (third-party-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <https://www.debian.org/security/2020/dsa-4775> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25032> (advisory)
- <https://github.com/corydolphin/flask-cors/commit/67c4b2cc98ae87cf1fa7df4f97fd81b40c79b895> (web)
- <https://github.com/advisories/GHSA-xc3p-ff3m-f46v> (advisory)
- <https://github.com/corydolphin/flask-cors> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2020-43.yaml> (web)

## Sources

- CVE List: [CVE-2020-25032](https://www.cve.org/CVERecord?id=CVE-2020-25032), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-xc3p-ff3m-f46v](https://github.com/advisories/GHSA-xc3p-ff3m-f46v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-25032](https://nvd.nist.gov/vuln/detail/CVE-2020-25032), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-43](https://osv.dev/vulnerability/PYSEC-2020-43), CC-BY-4.0, modified 2025-10-09

---

Page: https://cve.day/CVE-2020-25032 · Whole record: https://cve.day/CVE-2020-25032.json · Rebuilt by cve.day 2026-11-25T22:57:54.423Z
