CVE-2024-6839: Python flask cors · corydolphin/flask-cors version 4.0.1 contains an improper regex path matching
Affects python-flask-corsSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium · fixed in 3.0.8-2ubuntu0.1+esm1 : update python-flask-cors when convenient.
Data as of 24 Nov 2026, 19:25 UTC
Thin evidence
One scorer or none| CNA (@huntr_ai) | CVSS 3.0 | 4.3 |
|---|
- Patch
- Available – fixed in 3.0.8-2ubuntu0.1+esm1, 3.0.9-2ubuntu0.1, 4.0.0-1ubuntu0.1~esm1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Nov 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 23 Nov 2026.
What to do
Upgrade the Ubuntu python-flask-cors to 3.0.8-2ubuntu0.1+esm1 (package) or 3.0.9-2ubuntu0.1 (package) or 4.0.0-1ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSpython-flask-corspkg:deb/ubuntu/python-flask-cors?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython-flask-corspkg:deb/ubuntu/python-flask-cors?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpython-flask-corspkg:deb/ubuntu/python-flask-cors?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. The plugin prioritizes longer regex patterns over more specific ones when matching paths, which can lead to less restrictive CORS policies being applied to sensitive endpoints. This mismatch in regex pattern priority allows unauthorized cross-origin access to sensitive data or functionality, potentially exposing confidential information and increasing the risk of unauthorized actions by malicious actors.