PyPA Advisory Database
PYSEC-2026-1387
Path traversal in flaskcode
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | flaskcode | All versions up to and including 0.0.8 |