{"cve":"CVE-2024-6221","nvd":{"published":"2024-08-18T19:15:04.730","modified":"2026-06-17T08:17:32.650","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-284"],"references":["https://github.com/corydolphin/flask-cors/commit/03aa3f8e2256437f7bad96422a747b98ab5e31bf","https://huntr.com/bounties/a42935fc-6f57-4818-bca4-3d528235df4d"],"products":["corydolphin:flask-cors"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-6221","score":0.00718,"percentile":0.53879,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hxwh-jpp2-84pm","url":"https://osv.dev/vulnerability/GHSA-hxwh-jpp2-84pm","summary":"Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default","modified":"2026-09-10T03:50:18.161615963Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<4.0.2"],"fixed":["4.0.2"]}]},{"id":"PYSEC-2024-71","url":"https://osv.dev/vulnerability/PYSEC-2024-71","summary":"","modified":"2026-07-09T16:56:25.795378335Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<4.0.2"],"fixed":["4.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}