# CVE-2024-6866: PYSEC-2026-1383 - Flask-CORS vulnerable to Improper Handling of Case Sensitivity

Source: https://junglewise.ai/threats/cve-2024-6866-flask-cors-vulnerable-to-improper-handling-of-case-sensitivity  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2024-6866 · Severity: low · CVSS 3 · Published 2026-07-07

Flask-CORS vulnerable to Improper Handling of Case Sensitivity

Technologies: [Flask-Cors (PyPI)](https://junglewise.ai/threats/technologies/flask-cors). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-6866 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-6866 being exploited in the wild.

**How severe is CVE-2024-6866?** Low severity, with a CVSS score of 3, published 7 July 2026.

**Which products and versions are affected?** Flask-Cors (PyPI) ECOSYSTEM:introduced=0,fixed=6.0.0.

**Is there a fix for CVE-2024-6866?** Yes. Flask-Cors (PyPI): upgrade to 6.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-6866?** Check whether you run Flask-Cors (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Flask-Cors (PyPI): upgrade to 6.0.0 or later

  ```sh
  pip install "Flask-Cors>=6.0.0"
  ```


## Affected products

- Flask-Cors (PyPI) ECOSYSTEM:introduced=0,fixed=6.0.0

## Identifiers

- CVE-2024-6866
- GHSA-43qf-4rqw-9q2g
- PYSEC-2026-1383

## Related threats

- [PYSEC-2026-1385 - Flask-CORS allows for inconsistent CORS matching](https://junglewise.ai/threats/cve-2024-6844-flask-cors-allows-for-inconsistent-cors-matching)
- [PYSEC-2026-1384 - Flask-CORS improper regex path matching vulnerability](https://junglewise.ai/threats/cve-2024-6839-flask-cors-improper-regex-path-matching-vulnerability)
- [Flask-Cors improper access control in Private Network Access header](https://junglewise.ai/threats/cve-2024-6221-flask-cors-improper-access-control-in-private-network-access)
- [corydolphin flask-cors log injection in debug mode](https://junglewise.ai/threats/cve-2024-1681-corydolphin-flask-cors-log-injection-in-debug-mode)
- [Flask-Cors Directory Traversal vulnerability](https://junglewise.ai/threats/cve-2020-25032-flask-cors-directory-traversal-vulnerability)
