Medium severity5.3NVD Advisory· Published Mar 20, 2025· Updated Jun 17, 2026
CVE-2024-6839
CVE-2024-6839
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
flask-corsPyPI | < 6.0.0 | 6.0.0 |
Affected products
9- osv-coords8 versionspkg:apk/chainguard/kubeflow-jupyter-web-apppkg:apk/chainguard/kubeflow-volumes-web-apppkg:apk/chainguard/superset-6.0pkg:apk/wolfi/kubeflow-jupyter-web-apppkg:apk/wolfi/kubeflow-volumes-web-apppkg:apk/wolfi/superset-6.0pkg:pypi/flask-corspkg:rpm/opensuse/python-Flask-Cors&distro=openSUSE%20Tumbleweed
< 1.10.0-r3+ 7 more
- (no CPE)range: < 1.10.0-r3
- (no CPE)range: < 1.10.0-r2
- (no CPE)range: < 6.0.0-r2
- (no CPE)range: < 1.10.0-r3
- (no CPE)range: < 1.10.0-r2
- (no CPE)range: < 6.0.0-r2
- (no CPE)range: < 6.0.0
- (no CPE)range: < 6.0.2-1.1
- Range: unspecified
Patches
Vulnerability mechanics
References
6- huntr.com/bounties/403eb1fc-86f4-4820-8eba-0f3dfae9f2b4nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-7rxf-gvfg-47g4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-6839ghsaADVISORY
- github.com/corydolphin/flask-cors/blob/4.0.1/flask_cors/core.pyghsaWEB
- github.com/corydolphin/flask-cors/commit/e970988bea563e05e8b8f53fa7bcc134b5bf5c5fghsaWEB
- lists.debian.org/debian-lts-announce/2025/05/msg00049.htmlnvdWEB
News mentions
0No linked articles in our index yet.