Improper Handling of Case Sensitivity in Flask-CORS - CVE-2024-6866

 

Improper Handling of Case Sensitivity in Flask-CORS - CVE-2024-6866

Published: July 3, 2025


Vulnerability identifier: #VU112142
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-6866
CWE-ID: CWE-178
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cory Dolphin
Affected software:
Flask-CORS

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to usage of a case sensitive try_match() function on the attacker-controlled URI. A remote attacker can bypass implemented security checks and gain unauthorized access to sensitive data. 



How to mitigate CVE-2024-6866

Install updates from vendor's website.

Sources