
CVE catalog
CVE-2024-6839
Flask-CORS vulnerabilities
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.74% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-flask-cors | sid | 6.0.5-1 | fixed |
| Debian | python-flask-cors | forky | 6.0.5-1 | fixed |
| Debian | python-flask-cors | trixie | 6.0.1-1 | fixed |
| Debian | python-flask-cors | bookworm | 3.0.10-2+deb12u1 | fixed |
| Ubuntu | python-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| PyPI | flask-cors | Not reported | 6.0.0 | fixed |
| Opensuse | python-Flask-Cors | tumbleweed | 6.0.2-1.1 | fixed |
| Ubuntu | python-flask-cors | pro | 4.0.0-1 | vulnerable |
| Ubuntu | python-flask-cors | pro | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2 | vulnerable |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-flask-cors | source | sid | 6.0.1-1 | not yet assigned | Not reported | [1100988] |
| Debian | python-flask-cors | source | forky | 6.0.1-1 | not yet assigned | Not reported | [1100988] |
| Debian | python-flask-cors | source | trixie | 6.0.1-1 | not yet assigned | Not reported | [1100988] |
| Debian | python-flask-cors | source | bookworm | 3.0.10-2+deb12u1 | not yet assigned | Not reported | [1100988] |
| Ubuntu | python-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| PyPI | flask-cors | PyPI | Not reported | 6.0.0 | Not reported | GHSA-7RXF-GVFG-47G4 | Not reported |
| Opensuse | python-Flask-Cors | rpm | tumbleweed | 6.0.2-1.1 | Not reported | OPENSUSE-SU-2026:10485-1 | Not reported |
| Ubuntu | python-flask-cors | deb | pro | 4.0.0-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-6839 | Not reported |
| Ubuntu | python-flask-cors | deb | 22.04 | 3.0.9-2ubuntu0.1 | Not reported | UBUNTU-CVE-2024-6839 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-Flask-Cors]Unknown
Source package: [python-Flask-Cors]
Details (1)
6.0.2-1.2· noarch · tumbleweedUnknown · Fixed:
6.0.2-1.1Version impact unknown
usn · python-Flask-Cors · opensuse · tumbleweed
- [python314-Flask-Cors]Unknown
Source package: [python-Flask-Cors]
Details (1)
6.0.2-1.2· noarch · tumbleweedUnknown · Fixed:
6.0.2-1.1Version impact unknown
usn · python-Flask-Cors · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-flask-cors]Fixed
Source package: [python-flask-cors]
Details (2)
3.0.10-2+deb12u1· all · bookwormFixed · Fixed:
3.0.10-2+deb12u1usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12
3.0.10-2+deb12u1· all · bookwormFixed · Fixed:
3.0.10-2+deb12u1usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12
[Debian 13 (Trixie)]
- [python3-flask-cors]Fixed
Source package: [python-flask-cors]
Details (2)
6.0.1-1· all · trixieFixed · Fixed:
6.0.1-1usn · python-flask-cors · debian · 13
6.0.1-1· all · trixieFixed · Fixed:
6.0.1-1usn · python-flask-cors · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10485-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-6839]
- [https://osv.dev/vulnerability/GHSA-7rxf-gvfg-47g4]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-6839]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10485-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-6839]
- [https://ubuntu.com/security/notices/USN-7612-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]