PyPA Advisory Database
PYSEC-2026-81
Details
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.7.1, in the download_profile_picture function of the /profile_pictures/{folder_name}/{file_name} endpoint, the folder_name and file_name parameters are not strictly filtered, which allows the secret_key to be read across directories. Version 1.7.1 contains a patch.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | langflow | All versions before 1.7.1 (fixed in 1.7.1) |