cve.bz

CVE-2024-6866

7.5 highEPSS 0.7%

High (7.5) in flask-cors project flask-cors. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in flask-cors 6.0.0.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 53% of CVEs (scores of 2026-10-31)
CWE
CWE-178
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-43qf-4rqw-9q2gPyPIflask-cors<6.0.06.0.0
PYSEC-2026-1383PyPIflask-cors<6.0.06.0.0

References

Check your stackJSON