CVE-2024-6844: Flask-CORS allows for inconsistent CORS matching
Affects flask-corsSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 6.0.0 when convenient.
Data as of 29 Oct 2026, 22:52 UTC
Thin evidence
One scorer or none| CNA (@huntr_ai) | CVSS 3.0 | 5.3 |
|---|
- Patch
- Available – fixed in 6.0.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade flask-cors to 6.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIflask-cors | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A vulnerability in corydolphin/flask-cors version 5.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.
References
- nvd.nist.gov/vuln/detail/CVE-2024-6844 (opens in a new tab)
- github.com/corydolphin/flask-cors/commit/35d875319621bd129a38b2b823abf4a2f6cda536 (opens in a new tab)
- github.com/corydolphin/flask-cors (opens in a new tab)
- github.com/corydolphin/flask-cors/blob/main/flask_cors/extension.py (opens in a new tab)
- huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00049.html (opens in a new tab)