{"schemaVersion":3,"id":"CVE-2024-6866","aliases":["GHSA-43qf-4rqw-9q2g","PYSEC-2026-1383","UBUNTU-CVE-2024-6866","DEBIAN-CVE-2024-6866","CGA-7884-hwqm-8jc4","CGA-mw6g-phvj-rqmx","CGA-q7c6-rj6m-chjv","CGA-qrhf-85wc-cphf","CGA-r9g7-xj8v-7v2r","CGA-wvm8-chx3-8346"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-03-20T10:10:59.521Z","modified":"2025-11-03T19:34:42.290Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0072,"percentile":0.53119,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.01399999999999995,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00706},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0072,"percentile":0.53119}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0072,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0072,"percentile":0.53119}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_A893CEADBC129320","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/808c11af-faee-43a8-824b-b5ab4f62b9e6","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity","description":"The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/178.html"}],"affected":[{"vendor":"chainguard","product":"kubeflow-jupyter-web-app","name":"kubeflow-jupyter-web-app","label":"kubeflow-jupyter-web-app","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubeflow-jupyter-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kubeflow-volumes-web-app","name":"kubeflow-volumes-web-app","label":"kubeflow-volumes-web-app","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubeflow-volumes-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"superset-6.0","name":"superset-6.0","label":"superset-6.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/superset-6.0","purlType":"apk","versions":[{"text":"< 6.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubeflow-jupyter-web-app","name":"kubeflow-jupyter-web-app","label":"kubeflow-jupyter-web-app","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubeflow-jupyter-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubeflow-volumes-web-app","name":"kubeflow-volumes-web-app","label":"kubeflow-volumes-web-app","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubeflow-volumes-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"superset-6.0","name":"superset-6.0","label":"superset-6.0","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/superset-6.0","purlType":"apk","versions":[{"text":"< 6.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0-r2","eol":null,"hubHref":null},{"vendor":"corydolphin","product":"corydolphin/flask-cors","name":"corydolphin/flask-cors","label":"corydolphin/flask-cors","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/corydolphin/corydolphinflask-cors"},{"vendor":"debian","product":"python-flask-cors","name":"python-flask-cors","label":"python-flask-cors","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-flask-cors","purlType":"deb","versions":[{"text":"< 3.0.10-2+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 6.0.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.10-2+deb12u1 | < 6.0.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-flask-cors","name":"python-flask-cors","label":"python-flask-cors","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-flask-cors","purlType":"deb","versions":[{"text":"< 3.0.8-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.0.9-2ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.8-2ubuntu0.1+esm1 | < 3.0.9-2ubuntu0.1 | < 4.0.0-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"flask-cors_project","product":"flask-cors","name":"flask-cors","label":"flask-cors","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.0.1","eol":null,"hubHref":"/vendor/flask-cors_project/flask-cors"},{"vendor":"PyPI","product":"flask-cors","name":"flask-cors","label":"flask-cors","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/flask-cors","purlType":"pypi","versions":[{"text":"< 6.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/808c11af-faee-43a8-824b-b5ab4f62b9e6","label":"huntr.com/bounties/808c11af-faee-43a8-824b-b5ab4f62b9e6","hostname":"huntr.com","tags":["WEB","REPORT","Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html","label":"lists.debian.org/debian-lts-announce/2025/05/msg00049.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6866","label":"nvd.nist.gov/vuln/detail/CVE-2024-6866","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/corydolphin/flask-cors/commit/eb39516a3c96b90d0ae5f51293972395ec3ef358","label":"github.com/corydolphin/flask-cors/commit/eb39516a3c96b90d0ae5f51293972395ec3ef358","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/corydolphin/flask-cors","label":"github.com/corydolphin/flask-cors","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/corydolphin/flask-cors/blob/4.0.1/flask_cors/extension.py#L195","label":"github.com/corydolphin/flask-cors/blob/4.0.1/flask_cors/extension.py","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/flask-cors","label":"pypi.org/project/flask-cors","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-43qf-4rqw-9q2g","label":"github.com/advisories/GHSA-43qf-4rqw-9q2g","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-6866","label":"ubuntu.com/security/CVE-2024-6866","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-6866","label":"www.cve.org/CVERecord?id=CVE-2024-6866","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7612-1","label":"ubuntu.com/security/notices/USN-7612-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-6866","label":"security-tracker.debian.org/tracker/CVE-2024-6866","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6866.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6866.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4197-1","MGASA-2025-0286","OPENSUSE-SU-2026:10485-1","USN-7612-1"],"duplicates":[],"related":["CGA-3299-HG3M-2HR7","CGA-743G-2X82-4RPX","CGA-WHF4-F4W4-R4WG","OPENSUSE-SU-2026:10485-1","USN-7612-1"]},"timeline":[{"kind":"published","date":"2025-03-20T10:10:59.521Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:34:42.290Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:48:04.220Z","stale":false,"partial":false}}