#VU112140 Security features bypass in Flask-CORS - CVE-2024-6839
Published: July 3, 2025
Flask-CORS
Cory Dolphin
Description
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to improper regex path matching. The plugin prioritizes longer regex patterns over more specific ones when matching paths, which can lead to less restrictive CORS policies being applied to sensitive endpoints. A remote attacker can gain unauthorized cross-origin access to sensitive data or functionality.