PyPI: langflow

CVE-2026-33497

Safety vulnerability ID: SFTY-20260320-94626

Safety legacy ID: pyup.io-90208

Affected versions of the langflow package are vulnerable to Path Traversal due to improper sanitization of user-controlled path parameters. The download_profile_picture function in the /profile_pictures/{folder_name}/{file_name} endpoint does not strictly filter the folder_name and file_name parameters, allowing path elements such as .. to escape the intended directory and access sensitive files, including the secret_key.

Created at: Mar 27, 2026Updated at: Mar 27, 2026

Overview

langflow: /profile_pictures/{folder_name}/{file_name} endpoint file reading

Advisory

Affected versions of the langflow package are vulnerable to Path Traversal due to improper sanitization of user-controlled path parameters. The download_profile_picture function in the /profile_pictures/{folder_name}/{file_name} endpoint does not strictly filter the folder_name and file_name parameters, allowing path elements such as .. to escape the intended directory and access sensitive files, including the secret_key.

Affected Package

Affecting langflow package, versions
<1.7.1

Also affects

---

How to Fix

Upgrade
langflow
to
1.7.1
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more