cve.bz

CVE-2024-6839

5.3 mediumEPSS 0.7%

Medium (5.3) in flask-cors project flask-cors. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in flask-cors 6.0.0.

corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. 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. This mismatch in regex pattern priority allows unauthorized cross-origin access to sensitive data or functionality, potentially exposing confidential information and increasing the risk of unauthorized actions by malicious actors.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWE
CWE-41
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7rxf-gvfg-47g4PyPIflask-cors<6.0.06.0.0
PYSEC-2026-1384PyPIflask-cors<6.0.06.0.0

References

Check your stackJSON