flask-cors vulnerabilities and fixes
Recent CVEs affecting flask-cors, with upgrade or downgrade steps. 5 tracked.
Also searched as: flask cors.
flask-cors has 5 tracked vulnerabilities, 0 critical. A fixed release or vendor patch exists for 0. Most recent: 2025-03-20. Highest priority: CVE-2024-6866 (score 50/100).
- CVE-2024-6866 HIGH 7.5 DOWNGRADE corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensiti
- CVE-2024-6844 MEDIUM 5.3 DOWNGRADE A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handl
- CVE-2024-6839 MEDIUM 5.3 DOWNGRADE corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability
- CVE-2024-6221 HIGH 7.5 DOWNGRADE A vulnerability in corydolphin/flask-cors version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS
- CVE-2024-1681 MEDIUM 5.3 DOWNGRADE corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug
FAQ
How do I fix flask-cors vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is flask-cors being exploited right now?
None of the tracked flask-cors CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which flask-cors CVE should I patch first?
CVE-2024-6866 currently ranks highest (50/100): corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensiti.