Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-6866

7.5 · HIGH
Published Mar 20, 2025 flask-cors_project CWE-178 EPSS 0.69% (50th pctl)

Overview

CVE-2024-6866 is a high-severity vulnerability affecting flask-cors_project flask-cors. It was published on March 20, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from flask-cors_project. Update flask-cors to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2024-6866?

CVE-2024-6866 is a high-severity vulnerability affecting flask-cors_project flask-cors. It was published on March 20, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2024-6866?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-6866?

Check the references section for vendor advisories and patches from flask-cors_project. Update flask-cors to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-6866?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-6866 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.