# CVE-2024-6844: python3-flask-cors: A vulnerability in corydolphin/flask-cors version 4.0.1 allows forinconsistent CORS matching due to the handling of t...

CVE-2024-6844 is fixed in 2 products on 1 platform, first by python3-flask-cors 3.0.8-2ubuntu0.1+esm1, released March 20, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-6844
- Priority: Routine
- CVSS: 5.3 (Medium)
- EPSS: 0.0032
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 20, 2025

## Description

A vulnerability in corydolphin/flask-cors version 4.0.1 allows forinconsistent CORS matching due to the handling of the '+' character in URLpaths. The request.path is passed through the unquote_plus function, whichconverts the '+' character to a space ' '. This behavior leads to incorrectpath normalization, causing potential mismatches in CORS configuration. Asa result, endpoints may not be matched correctly to their CORS settings,leading to unexpected CORS policy application. This can cause unauthorizedcross-origin access or block valid requests, creating securityvulnerabilities and usability issues.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-flask-cors Debian 12.15 (bookworm) | 3.0.10-2+deb12u1 | [DEBIAN-CVE-2024-6844](https://patchblox.com/security/data/fix/linux/debian-cve-2024-6844.md) | Mar 20, 2025 |
| Linux | python-flask-cors Debian 13.5 (trixie) | 6.0.0-1 | [DEBIAN-CVE-2024-6844](https://patchblox.com/security/data/fix/linux/debian-cve-2024-6844.md) | Mar 20, 2025 |
| Linux | python-flask-cors Debian 14 | 6.0.0-1 | [DEBIAN-CVE-2024-6844](https://patchblox.com/security/data/fix/linux/debian-cve-2024-6844.md) | Mar 20, 2025 |
| Linux | python3-flask-cors Ubuntu 20.04 LTS (focal) | 3.0.8-2ubuntu0.1+esm1 | [python3-flask-cors 3.0.8-2ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-flask-cors-3.0.8-2ubuntu0.1-esm1.md) | Mar 20, 2025 |
| Linux | python3-flask-cors Ubuntu 22.04.1 LTS (jammy) | 3.0.9-2ubuntu0.1 | [python3-flask-cors 3.0.9-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-flask-cors-3.0.9-2ubuntu0.1.md) | Mar 20, 2025 |
| Linux | python3-flask-cors Ubuntu 24.04.5 LTS (noble) | 4.0.0-1ubuntu0.1~esm1 | [python3-flask-cors 4.0.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-flask-cors-4.0.0-1ubuntu0.1-esm1.md) | Mar 20, 2025 |
| Linux | python3-flask-cors Ubuntu 24.10 (oracular) | 4.0.1-1ubuntu0.1 | [python3-flask-cors 4.0.1-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-flask-cors-4.0.1-1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | python3-flask-cors Ubuntu 25.04 (plucky) | 5.0.0-1ubuntu0.1 | [python3-flask-cors 5.0.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-flask-cors-5.0.0-1ubuntu0.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
