ADVISORIES

Vulnerability

CVE-2024-6839

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.

16 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • CGA-3w6h-4c68-84gw
    CVE-2024-6839 ChainguardWolfi Updated 5 November 2026
  • CGA-h5cp-x4cr-xm6g
    CVE-2024-6839 ChainguardWolfi Updated 5 November 2026
  • CGA-m295-863w-jph5
    CVE-2024-6839 ChainguardWolfi Updated 5 November 2026
  • CGA-qmr3-jwx7-9w2w
    CVE-2024-6839 ChainguardWolfi Updated 5 November 2026
  • CGA-w8cm-8rw7-g2gx
    CVE-2024-6839 ChainguardWolfi Updated 5 November 2026
  • CGA-x2p6-wpr9-ch43
    CVE-2024-6839 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-6839

    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…

    CVE-2024-6839 Debian Updated 2 November 2026
  • DLA-4197-1

    python-flask-cors - security update

    CVE-2024-1681CVE-2024-6839CVE-2024-6844CVE-2024-6866 Debian Updated 20 November 2026
  • GHSA-7rxf-gvfg-47g4

    Flask-CORS improper regex path matching vulnerability

    Moderate CVE-2024-6839 PyPI Updated 10 September 2026
  • OESA-2025-1938

    python-Flask-Cors security update

    Medium CVE-2024-6839CVE-2024-6844CVE-2024-6866 openEuler Updated 18 August 2026
  • OESA-2025-1939

    python-Flask-Cors security update

    Medium CVE-2024-6839CVE-2024-6844CVE-2024-6866 openEuler Updated 18 August 2026
  • OESA-2025-1981

    python-Flask-Cors security update

    Medium CVE-2024-6839CVE-2024-6844CVE-2024-6866 openEuler Updated 18 August 2026
  • PYSEC-2026-1384

    Flask-CORS improper regex path matching vulnerability

    CVE-2024-6839 PyPI Updated 7 July 2026
  • UBUNTU-CVE-2024-6839

    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…

    CVE-2024-6839 Ubuntu Updated 4 February 2026
  • USN-7612-1

    python-flask-cors vulnerabilities

    CVE-2024-1681CVE-2024-6221CVE-2024-6839CVE-2024-6844 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2026:10485-1

    python311-Flask-Cors-6.0.2-1.1 on GA media

    CVE-2024-6839CVE-2024-6844CVE-2024-6866 openSUSE Updated 4 April 2026

References