High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-25032
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:07 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-25032
Complete source record
{
"id": "ab9fe324d4e4326398927780e6ae026186e88b21cfc215b796356c56fe65e25d",
"url": "https://osv.dev/vulnerability/CVE-2020-25032",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-25032",
"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.",
"evidence": "osv:CVE-2020-25032",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-25032",
"aliases": [
"CVE-2020-25032",
"GHSA-xc3p-ff3m-f46v",
"PYSEC-2020-43"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/corydolphin/flask-cors",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "91babb941e07a1f45636bdcb75675f13ce1503a2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:flask-cors_project:flask-cors:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.0.9"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "91babb941e07a1f45636bdcb75675f13ce1503a2"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.0.9"
}
]
}
}
],
"versions": [
"3.0.8",
"3.0.7",
"3.0.6",
"3.0.5",
"3.0.4",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"2.1.3",
"2.1.2",
"2.1.1",
"2.1.0",
"2.0.1",
"2.0.0",
"2.0.0rc1",
"1.10.3",
"1.10.2",
"1.10.1",
"1.10.0",
"1.9.0",
"1.8.1",
"v1.8.0",
"v1.7.4",
"v1.7.3",
"v1.7.2",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.4.0",
"v1.3.1",
"v1.3.0",
"v1.2.1",
"v1.2.0",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25032.json"
}
}
],
"modified": "2026-10-20T10:52:52.623118410Z",
"provider": "osv",
"references": [
"https://github.com/corydolphin/flask-cors/releases/tag/3.0.9",
"https://www.debian.org/security/2020/dsa-4775"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*",
"cpe:2.3:a:opensuse:backports_sle:15.0:sp2:*:*:*:*:*:*"
],
"vendor_product": "opensuse:backports_sle",
"extracted_events": [
{
"range": [
{
"introduced": "15.0-sp1"
},
{
"last_affected": "15.0-sp1"
},
{
"introduced": "15.0-sp2"
},
{
"last_affected": "15.0-sp2"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
},
{
"introduced": "15.2"
},
{
"last_affected": "15.2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-25032",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383986,
"published_at": "2020-08-31T04:15:12.06+00:00"
}