Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33497: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in langflow-ai langflow

0
High
VulnerabilityCVE-2026-33497cvecve-2026-33497cwe-22
Published: Tue Mar 24 2026 (03/24/2026, 13:14:39 UTC)
Source: CVE Database V5
Vendor/Project: langflow-ai
Product: langflow

Description

CVE-2026-33497 is a high-severity path traversal vulnerability in langflow versions prior to 1. 7. 1. It affects the download_profile_picture function in the /profile_pictures/{folder_name}/{file_name} endpoint, where insufficient filtering of folder_name and file_name parameters allows attackers to read sensitive files like secret_key across directories. The vulnerability requires no authentication or user interaction and can be exploited remotely over the network. A patch was released in version 1. 7. 1 to fix this issue. Organizations using vulnerable langflow versions risk unauthorized disclosure of critical secrets, potentially leading to further compromise. No known exploits are reported in the wild yet.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/25/2026, 00:04:11 UTC

Technical Analysis

CVE-2026-33497 is a path traversal vulnerability classified under CWE-22, affecting langflow, an AI workflow and agent building tool. The flaw exists in the download_profile_picture function accessed via the /profile_pictures/{folder_name}/{file_name} endpoint. In versions prior to 1.7.1, the parameters folder_name and file_name are not properly sanitized or restricted, allowing an attacker to craft requests that traverse directories outside the intended profile pictures folder. This enables unauthorized reading of arbitrary files on the server, including sensitive files such as secret_key, which could contain credentials or cryptographic keys. The vulnerability is remotely exploitable without authentication or user interaction, increasing its risk. The CVSS 4.0 base score is 8.7 (high), reflecting the ease of exploitation and the high confidentiality impact. The vendor addressed the issue in version 1.7.1 by implementing stricter input validation and path restrictions to prevent directory traversal. No public exploits or active exploitation have been reported to date, but the potential impact on confidentiality is significant, especially in environments where langflow is used to manage AI agents with sensitive configurations.

Potential Impact

The primary impact of this vulnerability is unauthorized disclosure of sensitive files on servers running vulnerable langflow versions. Exposure of secret keys or configuration files can lead to further compromise, including unauthorized access to backend systems, data exfiltration, or manipulation of AI workflows. Organizations relying on langflow for AI agent deployment may face confidentiality breaches, loss of intellectual property, and potential disruption of AI services. Since the vulnerability requires no authentication and can be exploited remotely, it poses a significant risk to any exposed langflow instance. The scope of affected systems includes all deployments running langflow versions before 1.7.1, particularly those accessible over public or untrusted networks. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits given the public disclosure.

Mitigation Recommendations

1. Immediately upgrade langflow installations to version 1.7.1 or later, where the vulnerability is patched. 2. If upgrading is not immediately possible, implement network-level controls such as firewall rules or access control lists to restrict access to the /profile_pictures endpoint only to trusted users or internal networks. 3. Conduct a thorough audit of server file permissions to ensure that sensitive files like secret_key are not accessible by the web server user or are stored outside the web root. 4. Implement web application firewall (WAF) rules to detect and block path traversal patterns in HTTP requests targeting the vulnerable endpoint. 5. Review and enhance input validation mechanisms in custom deployments or forks of langflow to enforce strict whitelist filtering of folder_name and file_name parameters. 6. Monitor logs for suspicious access attempts to the /profile_pictures endpoint, especially those containing directory traversal sequences like ../. 7. Educate developers and administrators about secure coding practices related to file path handling to prevent similar vulnerabilities in the future.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-20T16:59:08.887Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c32654f4197a8e3b9def72

Added to database: 3/25/2026, 12:03:32 AM

Last enriched: 3/25/2026, 12:04:11 AM

Last updated: 3/25/2026, 1:05:25 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses