ADVISORIES

Vulnerability

CVE-2024-6221

A vulnerability in corydolphin/flask-cors version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.

23 advisories report this vulnerability, across 6 ecosystems.

Advisories in PyPI

  • GHSA-hxwh-jpp2-84pm

    Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default

    High CVE-2024-6221 PyPI Updated 10 September 2026
  • PYSEC-2024-260

    Withdrawn as duplicate of PYSEC-2024-71. A vulnerability in corydolphin/flask-cors version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default. This behavior can expose…

    CVE-2024-6221 PyPI Updated 9 July 2026
  • PYSEC-2024-71

    A vulnerability in corydolphin/flask-cors up to version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default, without any configuration option. This behavior can expose…

    CVE-2024-6221 PyPI Updated 9 July 2026

References