Live threats

All CVEs / Flask-cors Project

CVE-2020-25032Flask-cors Project Flask-cors

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flask-cors.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
flask-cors_projectflask-cors< 3.0.9
debiandebian_linux10.0
opensusebackports_sle15.0
opensusebackports_sle15.0
opensuseleap15.1
opensuseleap15.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.