CVE catalog

CVE-2024-6839

Flask-CORS vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.74% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-flask-corssid6.0.5-1fixed
Debianpython-flask-corsforky6.0.5-1fixed
Debianpython-flask-corstrixie6.0.1-1fixed
Debianpython-flask-corsbookworm3.0.10-2+deb12u1fixed
Ubuntupython-flask-corsnoble4.0.0-1ubuntu0.1~esm1fixed
Ubuntupython3-flask-corsnoble4.0.0-1ubuntu0.1~esm1fixed
PyPIflask-corsNot reported6.0.0fixed
Opensusepython-Flask-Corstumbleweed6.0.2-1.1fixed
Ubuntupython-flask-corspro4.0.0-1vulnerable
Ubuntupython-flask-corspro4.0.0-1ubuntu0.1~esm1fixed
Ubuntupython-flask-cors22.043.0.9-2vulnerable
Ubuntupython-flask-cors22.043.0.9-2ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-flask-corssourcesid6.0.1-1not yet assignedNot reported[1100988]
Debianpython-flask-corssourceforky6.0.1-1not yet assignedNot reported[1100988]
Debianpython-flask-corssourcetrixie6.0.1-1not yet assignedNot reported[1100988]
Debianpython-flask-corssourcebookworm3.0.10-2+deb12u1not yet assignedNot reported[1100988]
Ubuntupython-flask-corsdebnoble4.0.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-flask-corsdebnoble4.0.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
PyPIflask-corsPyPINot reported6.0.0Not reportedGHSA-7RXF-GVFG-47G4Not reported
Opensusepython-Flask-Corsrpmtumbleweed6.0.2-1.1Not reportedOPENSUSE-SU-2026:10485-1Not reported
Ubuntupython-flask-corsdebpro4.0.0-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-6839Not reported
Ubuntupython-flask-corsdeb22.043.0.9-2ubuntu0.1Not reportedUBUNTU-CVE-2024-6839Not reported

[Debian bug #1100988]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-Flask-Cors]

    Details (1)
    • 6.0.2-1.2 · noarch · tumbleweed

      Unknown · Fixed: 6.0.2-1.1

      Version impact unknown

      usn · python-Flask-Cors · opensuse · tumbleweed

  • Source package: [python-Flask-Cors]

    Details (1)
    • 6.0.2-1.2 · noarch · tumbleweed

      Unknown · Fixed: 6.0.2-1.1

      Version impact unknown

      usn · python-Flask-Cors · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [python-flask-cors]

    Details (2)
    • 3.0.10-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.10-2+deb12u1

      usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12

    • 3.0.10-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.10-2+deb12u1

      usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-flask-cors]

    Details (2)
    • 6.0.1-1 · all · trixie

      Fixed · Fixed: 6.0.1-1

      usn · python-flask-cors · debian · 13

    • 6.0.1-1 · all · trixie

      Fixed · Fixed: 6.0.1-1

      usn · python-flask-cors · debian · 13

Observed:

References