{"cve":"CVE-2024-6866","nvd":{"published":"2025-03-20T10:15:34.620","modified":"2026-06-17T08:18:52.173","status":"Modified","description":"corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensitive due to the use of the `try_match` function, which is originally intended for matching hosts. This results in a mismatch because paths in URLs are case-sensitive, but the regex matching treats them as case-insensitive. This misconfiguration can lead to significant security vulnerabilities, allowing unauthorized origins to access paths meant to be restricted, resulting in data exposure and potential data leaks.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-178"],"references":["https://huntr.com/bounties/808c11af-faee-43a8-824b-b5ab4f62b9e6","https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html"],"products":["flask-cors_project:flask-cors"],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2024-6866","score":0.0072,"percentile":0.53943,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-43qf-4rqw-9q2g","url":"https://osv.dev/vulnerability/GHSA-43qf-4rqw-9q2g","summary":"Flask-CORS vulnerable to Improper Handling of Case Sensitivity","modified":"2026-09-10T03:50:56.795708366Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<6.0.0"],"fixed":["6.0.0"]}]},{"id":"PYSEC-2026-1383","url":"https://osv.dev/vulnerability/PYSEC-2026-1383","summary":"Flask-CORS vulnerable to Improper Handling of Case Sensitivity","modified":"2026-07-07T17:47:37.813563918Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<6.0.0"],"fixed":["6.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}