{"id":"CVE-2020-25032","aliases":["CVE-2020-25032","GHSA-xc3p-ff3m-f46v","PYSEC-2020-43"],"related":[],"kind":"vulnerability","state":"published","title":"Flask-Cors Directory Traversal vulnerability","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó un problema en Flask-CORS (también se conoce como CORS Middleware para Flask) versiones anteriores a 3.0.9. Permite que un salto de directorios ../  acceda a recursos privados porque la coincidencia de recursos no garantiza que los nombres de ruta estén en un formato canónico","source":"nvd"}],"published":"2020-08-31T03:57:28.000Z","modified":"2026-09-10T03:49:15.088Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.9"}],"ecosystem":"PyPI","package":"flask-cors","purl":"pkg:pypi/flask-cors","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.0.9"}],"vendor":"flask-cors_project","product":"flask-cors","cpe":"cpe:2.3:a:flask-cors_project:flask-cors:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"}],"vendor":"opensuse","product":"backports_sle","cpe":"cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.1"},{"status":"affected","version":"15.2"}],"vendor":"opensuse","product":"leap","cpe":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.9"}],"ecosystem":"PyPI","package":"flask-cors","purl":"pkg:pypi/flask-cors","source":"pysec"}],"references":[{"url":"https://github.com/corydolphin/flask-cors/releases/tag/3.0.9","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html","tags":["mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html","tags":["mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html","tags":["mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html","tags":["mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.debian.org/security/2020/dsa-4775","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25032","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/corydolphin/flask-cors/commit/67c4b2cc98ae87cf1fa7df4f97fd81b40c79b895","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-xc3p-ff3m-f46v","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/corydolphin/flask-cors","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2020-43.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-25032","url":"https://www.cve.org/CVERecord?id=CVE-2020-25032","licence":"CVE Terms of Use","modified":"2024-08-04T15:26:09.160Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xc3p-ff3m-f46v","url":"https://github.com/advisories/GHSA-xc3p-ff3m-f46v","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:15.088Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25032","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25032","licence":"Public domain","modified":"2026-06-17T03:06:15.973Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-43","url":"https://osv.dev/vulnerability/PYSEC-2020-43","licence":"CC-BY-4.0","modified":"2025-10-09T07:22:50.566Z"}],"updatedAt":"2026-11-25T22:57:54.423Z","epss":{"score":0.03909,"percentile":0.90546,"date":"2026-12-01T12:00:22.000Z"}}