Skip to main content
← All vulnerabilities
CVE-2024-6839PYSEC-2026-1384GHSA-7RXF-GVFG-47G4

Improper Regex Path Matching in corydolphin/flask-cors

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • corydolphin corydolphin/flask-cors

    Version range not reported

  • flask-corsPyPI

    fixed in 6.0.0

References 1

huntr.com