ADVISORIES

Vulnerability

CVE-2024-6866

corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensitive due to the use of the `try_match` function, which is originally intended for matching hosts. This results in a mismatch because paths in URLs are case-sensitive, but the regex matching treats them as case-insensitive. This misconfiguration can lead to significant security vulnerabilities, allowing unauthorized origins to access paths meant to be restricted, resulting in data exposure and potential data leaks.

16 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • CGA-7884-hwqm-8jc4
    CVE-2024-6866 ChainguardWolfi Updated 5 November 2026
  • CGA-mw6g-phvj-rqmx
    CVE-2024-6866 ChainguardWolfi Updated 5 November 2026
  • CGA-q7c6-rj6m-chjv
    CVE-2024-6866 ChainguardWolfi Updated 5 November 2026
  • CGA-qrhf-85wc-cphf
    CVE-2024-6866 ChainguardWolfi Updated 5 November 2026
  • CGA-r9g7-xj8v-7v2r
    CVE-2024-6866 ChainguardWolfi Updated 5 November 2026
  • CGA-wvm8-chx3-8346
    CVE-2024-6866 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-6866

    corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensitive due to the use of the `try_match` function, which is originally intended for matching hosts. This results…

    CVE-2024-6866 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-43qf-4rqw-9q2g

    Flask-CORS vulnerable to Improper Handling of Case Sensitivity

    Moderate CVE-2024-6866 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-1383

    Flask-CORS vulnerable to Improper Handling of Case Sensitivity

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

    corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensitive due to the use of the `try_match` function, which is originally intended for matching hosts. This results…

    CVE-2024-6866 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