Skip to content
Fencer Vulns
high 7.5

CVE-2020-25032 json

Flask-Cors Directory Traversal vulnerability

published 2020-08-31 6 y ago modified 2026-09-10 1 mo ago also GHSA-xc3p-ff3m-f46v , PYSEC-2020-43 , EUVD-2020-0080

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi flask-cors 3.0.9
  • flask-cors_project flask-cors 3.0.9
  • python-flask-cors Debian 14, Debian 13, Debian 12 3.0.9-1

debian advisories DEBIAN-CVE-2020-25032

  • python-flask-cors Ubuntu 20.04 LTS 3.0.8-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2020-25032

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • storm OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.2.3-3.6.1
  • ansible OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 2.9.14-3.15.1
  • grafana OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 6.7.4-4.12.1
  • ardana-mq OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1593618123.678c32b-3.26.1
  • ardana-nova OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1601298847.dd01585-3.42.1
  • crowbar-core OpenStack Cloud Crowbar 8 5.0+git.1600432272.b3ad722f0-3.44.1
  • python-kombu OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 4.1.0-3.7.1
  • ardana-cinder OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1596129856.263f430-3.43.1

suse advisories SUSE-SU-2020:3309-1SUSE-SU-2020:2876-1

  • python-Flask-Cors openSUSE Tumbleweed 6.0.2-1.2
  • python-Flask-Cors openSUSE Tumbleweed 4.0.0-1.3
  • python-Flask-Cors openSUSE Tumbleweed 3.0.10-1.3
  • python-Flask-Cors Package Hub 15 SP2 3.0.8-bp152.2.3.1
  • python-Flask-Cors Package Hub 15 SP1 3.0.7-bp151.2.3.1
  • python-Flask-Cors openSUSE Leap 15.2, openSUSE Leap 15.1 3.0.8-lp152.2.3.1

opensuse advisories openSUSE-SU-2026:11990-1openSUSE-SU-2024:14129-1openSUSE-SU-2024:11206-1openSUSE-SU-2020:1446-1openSUSE-SU-2020:1423-1openSUSE-SU-2020:1415-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-25032 updated cvss 7.5

python-flask-cors: allows ../ directory traversal to access private resources

  • Red Hat Quay 3 python-flask-cors
    affected: no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.91% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi flask-cors
<3.0.9
3.0.9

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.