ADVISORIES

PyPA Advisory Database

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.

Affected packages

EcosystemPackageAffected versions
PyPIflaskcode
All versions up to and including 0.0.8

References