CVE-2024-6866
published medium CVSS 3.0 · 5.3Case-Insensitive Path Matching in corydolphin/flask-cors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| corydolphin | — | corydolphin/flask-corsunspecified through latest | Affected | Not stated | @huntr_ai |
| Debian | bullseye | python-flask-cors | Advisory build | 3.0.9-2+deb11u1 | DLA-4197-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corsaarch64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| Ubuntu | focal | python-flask-cors | Advisory build | 3.0.8-2ubuntu0.1+esm1 | USN-7612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corsppc64le | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corss390x | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corsx86_64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corsaarch64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corsppc64le | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corss390x | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corsx86_64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corsaarch64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corsppc64le | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corss390x | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corsx86_64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| Ubuntu | focal | python3-flask-cors | Advisory build | 3.0.8-2ubuntu0.1+esm1 | USN-7612-1 |
| Ubuntu | jammy | python-flask-cors | Advisory build | 3.0.9-2ubuntu0.1 | USN-7612-1 |
| Ubuntu | jammy | python3-flask-cors | Advisory build | 3.0.9-2ubuntu0.1 | USN-7612-1 |
| Ubuntu | noble | python-flask-cors | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-7612-1 |
| Ubuntu | noble | python3-flask-cors | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-7612-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| corydolphin | corydolphin/flask-cors | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-178 CWE-178 Improper Handling of Case Sensitivity
References
2Provider assertions
3@huntr_ai · cna
Case-Insensitive Path Matching in corydolphin/flask-cors
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f1a8a937319e4c7921f800cc4b9f5188c16c315ce3b4ee189a14990b61160697
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record