CVE-2020-25032
HIGH 7.5CVSS 3.1Flask-Cors Directory Traversal vulnerability
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.
- Published
- 31 Aug 2020
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-xc3p-ff3m-f46vPYSEC-2020-43
- Sources
- NVDJSONOSV GHSA-xc3p-ff3m-f46vJSONOSV PYSEC-2020-43JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | flask-cors_project | flask-corscpe:2.3:a:flask-cors_project:flask-cors:*:*:*:*:*:*:*:* |
< 3.0.9 | 3.0.9 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | opensuse | backports_slecpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | backports_slecpe:2.3:a:opensuse:backports_sle:15.0:sp2:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* |
= 15.2 | |
| OSV | PyPI | flask-cors | < 3.0.9 | 3.0.9 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html · Mailing List, Third Party Advisory, WEB
- https://github.com/corydolphin/flask-cors/releases/tag/3.0.9 · Third Party Advisory, WEB
- https://www.debian.org/security/2020/dsa-4775 · Third Party Advisory, WEB, ADVISORY
- 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
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Aug 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Aug 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 May 2021)