Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2020-25032: An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9.

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 3.9% (FIRST EPSS); higher than 90.3% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: python-flask-cors (Debian:10) 3.0.7-1+deb10u1; python-flask-cors (Debian:12) 3.0.9-1; python-Flask-Cors (openSUSE:Leap 15.1) 3.0.8-lp152.2.3.1.

Low priority for now. Upgrade to python-flask-cors (Debian:10) 3.0.7-1+deb10u1; python-flask-cors (Debian:12) 3.0.9-1; python-Flask-Cors (openSUSE:Leap 15.1) 3.0.8-lp152.2.3.1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Aug 31, 2020
Updated
Jun 16, 2026
EPSS
3.9% · 90th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.9%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2020-25032

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
flask-cors projectflask-cors
debiandebian linux
opensusebackports sle
opensuseleap

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • flask-cors project flask-corsbefore 3.0.9
  • opensuse backports sle15.0
  • opensuse leap15.1
  • opensuse leap15.2

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10python-flask-corsbefore 3.0.7-1+deb10u13.0.7-1+deb10u1
Debian:12python-flask-corsbefore 3.0.9-13.0.9-1
openSUSE:Leap 15.1python-Flask-Corsbefore 3.0.8-lp152.2.3.13.0.8-lp152.2.3.1
openSUSE:Tumbleweedpython-Flask-Corsbefore 6.0.2-1.26.0.2-1.2
openSUSE:Tumbleweedpython-Flask-Corsbefore 4.0.0-1.34.0.0-1.3
openSUSE:Tumbleweedpython-Flask-Corsbefore 3.0.10-1.33.0.10-1.3
PyPIflask-corsbefore 3.0.93.0.9
SUSE:OpenStack Cloud 9ardana-ansiblebefore 9.0+git.1596813072.110811d-3.25.29.0+git.1596813072.110811d-3.25.2
SUSE:OpenStack Cloud 9ardana-cinderbefore 9.0+git.1596129576.0b3d3ce-3.13.29.0+git.1596129576.0b3d3ce-3.13.2
SUSE:OpenStack Cloud 9ardana-cobblerbefore 9.0+git.1588258487.3acf8ad-3.16.29.0+git.1588258487.3acf8ad-3.16.2
SUSE:OpenStack Cloud 9ardana-installer-uibefore 9.0+git.1569535129.ca87ef0-3.13.29.0+git.1569535129.ca87ef0-3.13.2
SUSE:OpenStack Cloud 9ardana-opsconsole-uibefore 9.0+git.1566593422.813e56c-4.13.29.0+git.1566593422.813e56c-4.13.2
SUSE:OpenStack Cloud 9ardana-osconfigbefore 9.0+git.1597427032.a062830-3.19.29.0+git.1597427032.a062830-3.19.2
SUSE:OpenStack Cloud 9grafanabefore 6.7.4-3.17.16.7.4-3.17.1
SUSE:OpenStack Cloud 9grafana-natel-discrete-panelbefore 0.0.9-4.3.30.0.9-4.3.3
SUSE:OpenStack Cloud 9openstack-cinderbefore 13.0.10~dev16-3.25.313.0.10~dev16-3.25.3
SUSE:OpenStack Cloud 9openstack-dashboardbefore 14.1.1~dev7-3.18.314.1.1~dev7-3.18.3
SUSE:OpenStack Cloud 9openstack-ironicbefore 11.1.5~dev16-3.22.311.1.5~dev16-3.22.3
SUSE:OpenStack Cloud 9openstack-ironic-python-agentbefore 3.3.4~dev5-3.16.23.3.4~dev5-3.16.2
SUSE:OpenStack Cloud 9openstack-manilabefore 7.4.2~dev54-4.27.37.4.2~dev54-4.27.3
SUSE:OpenStack Cloud 9openstack-neutronbefore 13.0.8~dev95-3.28.313.0.8~dev95-3.28.3
SUSE:OpenStack Cloud 9openstack-novabefore 18.3.1~dev54-3.28.318.3.1~dev54-3.28.3
SUSE:OpenStack Cloud 9python-Flask-Corsbefore 3.0.3-4.3.23.0.3-4.3.2
SUSE:OpenStack Cloud 9stormbefore 1.2.3-3.3.41.2.3-3.3.4

+10

Other highest-scoring records for the same primary product.

  • CVE-2024-6866Case-Insensitive Path Matching in corydolphin/flask-cors
    30Monitor
  • CVE-2024-6844Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors
    21Monitor
  • CVE-2024-6839Improper Regex Path Matching in corydolphin/flask-cors
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:python-flask-cors3.0.9-1 · Debian:12Package registry (OSV)
opensuse:python-Flask-Cors3.0.8-lp152.2.3.1 · openSUSE:Leap 15.1Package registry (OSV)
PyPI:flask-cors3.0.9Package registry (OSV)
suse:ardana-ansible9.0+git.1596813072.110811d-3.25.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-cinder9.0+git.1596129576.0b3d3ce-3.13.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-cobbler9.0+git.1588258487.3acf8ad-3.16.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-installer-ui9.0+git.1569535129.ca87ef0-3.13.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-opsconsole-ui9.0+git.1566593422.813e56c-4.13.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:ardana-osconfig9.0+git.1597427032.a062830-3.19.2 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:grafana6.7.4-3.17.1 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:grafana-natel-discrete-panel0.0.9-4.3.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-cinder13.0.10~dev16-3.25.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-dashboard14.1.1~dev7-3.18.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-ironic11.1.5~dev16-3.22.3 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openstack-ironic-python-agent3.3.4~dev5-3.16.2 · SUSE:OpenStack Cloud 9Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records