CVE-2020-25032Flask-cors Project Flask-cors
High 7.5 No auth needed
Follow: this CVE · Flask-cors Project · Flask-cors Project Flask-cors We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.9% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Aug 31, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Flask-cors.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | flask-cors |
< 3.0.9 |
3.0.9 |
pip install "flask-cors>=3.0.9" |
| PyPI | flask-cors |
< 3.0.9 |
3.0.9 |
pip install "flask-cors>=3.0.9" |
Per OSV / GitHub Advisories (GHSA-xc3p-ff3m-f46v, PYSEC-2020-43). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| flask-cors_project | flask-cors | < 3.0.9 |
| debian | debian_linux | 10.0 |
| opensuse | backports_sle | 15.0 |
| opensuse | backports_sle | 15.0 |
| opensuse | leap | 15.1 |
| opensuse | leap | 15.2 |
Official advisories
- python313-Flask-Cors-6.0.2-1.2 on GA media · SUSE · openSUSE-SU-2026:11990-1 · Oct 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- github.com Third Party Advisory
- www.debian.org Third Party Advisory