VDB
Sign up
HIGH7.5

PYSEC-2026-1386

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 GET request to a /resource-data/<file_path>.txt URI (from views.py), allows attackers to read arbitrary files.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/flaskcode
Introduced in: 0

No fixed version published yet for flaskcode (pip). Pin to a known-safe version or switch to an alternative.

References