Skip to main content
VulnerabilityPublished Updated

CVE-2024-6839: Flask-CORS improper regex path matching vulnerability

Affects flask-corsSource GCVE Database

0
Compare
Authoritative record:CVE-2024-6839· Medium 4.3

Not known to be exploited · CVSS 4.3 Medium : upgrade to 6.0.0 when convenient.

Data as of 29 Oct 2026, 22:52 UTC

CVSS 3.0 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (@huntr_ai)CVSS 3.04.3
Patch
Available – fixed in 6.0.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIflask-corsAffected
  • <6.0.0
Fixed in
  • 6.0.0

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 5.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.

References

Community reviews

Loading reviews…