# CVE-2023-52289: Path traversal in flaskcode

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-01-13T00:00:00.000Z
- Modified: 2026-07-07T17:56:30.255Z
- Also known as: GHSA-v3rg-qm46-xrg9, PYSEC-2026-1387
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

An issue was discovered in the flaskcode package through 0.0.8 for Python. An unauthenticated directory traversal, exploitable with a POST request to a /update-resource-data/<file_path> URI (from views.py), allows attackers to write to arbitrary files.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- flaskcode (PyPI): up to 0.0.8
- sujeetkv flaskcode: up to 0.0.8

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://gitlab.com/daniele_m/cve-list/-/blob/main/README.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-52289> (advisory)
- <https://pypi.org/project/flaskcode> (package)
- <https://github.com/advisories/GHSA-v3rg-qm46-xrg9> (advisory)

## Sources

- CVE List: [CVE-2023-52289](https://www.cve.org/CVERecord?id=CVE-2023-52289), CVE Terms of Use, modified 2025-06-17
- GitHub Advisory Database: [GHSA-v3rg-qm46-xrg9](https://github.com/advisories/GHSA-v3rg-qm46-xrg9), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-52289](https://nvd.nist.gov/vuln/detail/CVE-2023-52289), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1387](https://osv.dev/vulnerability/PYSEC-2026-1387), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-52289 · Whole record: https://cve.day/CVE-2023-52289.json · Rebuilt by cve.day 2026-11-25T22:58:32.112Z
