CVE-2023-52288 Path traversal in flaskcode
Unauthenticated attackers can read arbitrary files via directory traversal in the flaskcode Python package.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-52288?
CVE-2023-52288 is a high-severity path traversal vulnerability in n/a, published on 13 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the flaskcode package through 0.0.8 for Python. An unauthenticated directory traversal, exploitable with a GET request to a /resource-data/<file_path>.txt URI (from views.py), allows attackers to read arbitrary files.
Weakness: CWE-22
Which versions are affected by CVE-2023-52288?
3 open source packages ship an affected version, including flaskcode. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
flaskcode PyPI | All versions to 0.0.8 | None |
flaskcode PyPI | All versions to 0.0.8 | None |
flaskcode PyPI | All versions to 0.0.8 | None |
Products include Sujeetkv Flaskcode.
How do I fix CVE-2023-52288?
No fix has been published for CVE-2023-52288 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-52288 being exploited?
There is no known exploitation of CVE-2023-52288 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6h4q-63c5-qfqf, PYSEC-2026-1386.