
CVE catalog
CVE-2024-6866
Flask-CORS vulnerabilities
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.72% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-flask-cors | sid | 6.0.5-1 | fixed |
| Debian | python-flask-cors | forky | 6.0.5-1 | fixed |
| Debian | python-flask-cors | trixie | 6.0.1-1 | fixed |
| Debian | python-flask-cors | bookworm | 3.0.10-2+deb12u1 | fixed |
| Ubuntu | python-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| PyPI | flask-cors | Not reported | 6.0.0 | fixed |
| Ubuntu | python-flask-cors | pro | 4.0.0-1 | vulnerable |
| Ubuntu | python-flask-cors | pro | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2 | vulnerable |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-flask-cors | source | sid | 6.0.0-1 | not yet assigned | Not reported | [1100988] |
| Debian | python-flask-cors | source | forky | 6.0.0-1 | not yet assigned | Not reported | [1100988] |
| Debian | python-flask-cors | source | trixie | 6.0.0-1 | not yet assigned | Not reported | [1100988] |
| Debian | python-flask-cors | source | bookworm | 3.0.10-2+deb12u1 | not yet assigned | Not reported | [1100988] |
| Ubuntu | python-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| PyPI | flask-cors | PyPI | Not reported | 6.0.0 | Not reported | GHSA-43QF-4RQW-9Q2G | Not reported |
| Ubuntu | python-flask-cors | deb | pro | 4.0.0-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-6866 | Not reported |
| Ubuntu | python-flask-cors | deb | 22.04 | 3.0.9-2ubuntu0.1 | Not reported | UBUNTU-CVE-2024-6866 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-flask-cors]Fixed
Source package: [python-flask-cors]
Details (2)
3.0.10-2+deb12u1· all · bookwormFixed · Fixed:
3.0.10-2+deb12u1usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12
3.0.10-2+deb12u1· all · bookwormFixed · Fixed:
3.0.10-2+deb12u1usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12
[Debian 13 (Trixie)]
- [python3-flask-cors]Fixed
Source package: [python-flask-cors]
Details (2)
6.0.1-1· all · trixieFixed · Fixed:
6.0.0-1usn · python-flask-cors · debian · 13
6.0.1-1· all · trixieFixed · Fixed:
6.0.0-1usn · python-flask-cors · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10485-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-6866]
- [https://osv.dev/vulnerability/GHSA-43qf-4rqw-9q2g]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-6866]
- [https://security-tracker.debian.org/tracker/CVE-2024-6866]
- [https://ubuntu.com/security/notices/USN-7612-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]