PyPI (Python)Worst: High6 advisories
flask-cors: known vulnerabilities
flask-cors has 6 reviewed security advisories in the GitHub Advisory Database — 2 high, 4 moderate. The most recent was published 2025-03-20. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the flask-cors versions running across your servers, containers and images, and ranks what to patch first.
How to fix flask-cors
Upgrade flask-cors to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade flask-cors (pin flask-cors>=6.0.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (6)
Flask-CORS vulnerable to Improper Handling of Case Sensitivity
Moderate 5.3 CWE-178
— Affected: before 6.0.0. Fixed in 6.0.0. Published 2025-03-20. GHSA-43qf-4rqw-9q2g · CVE-2024-6866
Flask-CORS improper regex path matching vulnerability
Moderate 4.3 CWE-41
— Affected: before 6.0.0. Fixed in 6.0.0. Published 2025-03-20. GHSA-7rxf-gvfg-47g4 · CVE-2024-6839
Flask-CORS allows for inconsistent CORS matching
Moderate 5.3 CWE-346
— Affected: before 6.0.0. Fixed in 6.0.0. Published 2025-03-20. GHSA-8vgw-p6qm-5gr7 · CVE-2024-6844
Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default
High 7.5 CWE-284
— Affected: before 4.0.2. Fixed in 4.0.2. Published 2024-08-18. GHSA-hxwh-jpp2-84pm · CVE-2024-6221
flask-cors vulnerable to log injection when the log level is set to debug
Moderate 5.3 CWE-117
— Affected: before 4.0.1. Fixed in 4.0.1. Published 2024-04-19. GHSA-84pr-m4jr-85g5 · CVE-2024-1681
Flask-Cors Directory Traversal vulnerability
High 7.5 CWE-22
— Affected: before 3.0.9. Fixed in 3.0.9. Published 2020-08-31. GHSA-xc3p-ff3m-f46v · CVE-2020-25032
Find flask-cors across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.