CVE-2026-33497
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HTTP request with path traversal payload
-
ExploitSend request to /profile_pictures endpoint
-
ExecutionBypass folder_name/file_name filters
-
ImpactRead secret_key from arbitrary directory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker can exploit the /profile_pictures/{folder_name}/{file_name} endpoint in Langflow by using path traversal (e.g., ../ sequences) in folder_name or file_name parameters to read arbitrary files including secret_key. No authentication, user interaction, or special configuration required. |
| Impact | This vulnerability presents critical real-world risk despite the absence of formal CVSS scoring. The publicly disclosed proof-of-concept demonstrates trivial exploitation requiring only a curl command with path traversal syntax, indicating low attack complexity and no required privileges or user interaction. The technical impact is severe as compromising the JWT secret_key enables complete authentication bypass, allowing attackers to impersonate any user including administrators. While no EPSS score or KEV listing is currently available, the combination of public POC availability, low exploitation barrier, and high technical impact (authentication bypass leading to potential complete system compromise) makes this a genuine high-priority issue. The vulnerability is automatable and requires immediate attention for any internet-exposed Langflow instances, particularly in production environments where authentication integrity is critical. |
| Exploit ScenarioDerived | An unauthenticated remote attacker crafts a malicious HTTP request to the vulnerable endpoint using path traversal syntax, such as 'GET /api/v1/files/profile_pictures/../secret_key', to escape the intended directory and retrieve the JWT secret_key file from the application's file system. With the exfiltrated secret_key, the attacker generates valid JWT tokens for any user account including administrators, gaining full unauthorized access to the Langflow instance. The attacker can then modify AI workflows, access sensitive data processed by the application, or leverage the compromised instance as a pivot point for further attacks on connected systems. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
Path traversal in Langflow's /profile_pictures endpoint allows unauthenticated remote attackers to read the application's secret_key through directory traversal in the folder_name parameter. Since the secret_key is used for JWT authentication, attackers can forge valid tokens to gain unauthorized system access. Public exploit code exists for this vulnerability and no patch is currently available.
Earlier versions of this analysis (1)
A path traversal vulnerability in Langflow's profile picture download endpoint allows unauthenticated attackers to read arbitrary files including the secret_key used for JWT authentication. The affected product is the Langflow Python package distributed via PyPI. A proof-of-concept exploit has been publicly disclosed demonstrating secret_key exfiltration via directory traversal, enabling attackers to forge authentication tokens and gain unauthorized system access.
RemediationAI
Immediately upgrade Langflow to the patched version specified in the GitHub security advisory at https://github.com/langflow-ai/langflow/security/advisories/GHSA-ph9w-r52h-28p7 or the corresponding National Vulnerability Database advisory at https://github.com/advisories/GHSA-ph9w-r52h-28p7. The fix should implement strict input validation on folder_name and file_name parameters, rejecting any path traversal sequences and canonicalizing file paths before file system operations. Until patching is completed, implement immediate mitigations including restricting network access to the /api/v1/files endpoint to authenticated users only via reverse proxy rules, deploying web application firewall rules to block requests containing '../' or encoded traversal sequences in the profile_pictures path, rotating the existing secret_key to invalidate any previously exfiltrated tokens, and monitoring authentication logs for suspicious JWT token usage patterns. If Langflow is exposed to untrusted networks, consider temporarily disabling the profile picture functionality entirely until patches are applied.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Langflow is a Python-based low-code application builder for LangChain workflows, distributed as a pip package (pkg:pip/langflow). The vulnerability exists in the download_profile_picture function within src/backend/base/langflow/api/v1/files.py, where the folder_name and file_name parameters lack proper input validation. This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) vulnerability, where unsanitized user input is directly concatenated into file path operations. The storage.local.get_file method combines flow_id and file_name without canonicalization or path traversal filtering, allowing attackers to use directory traversal sequences like '../' to escape the intended profile_pictures directory and access sensitive files such as the JWT secret_key stored in the application's file system.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
Summary
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.
Details
src/backend/base/langflow/api/v1/files.py
storage local get_file, directly concatenate flow_id and file_name !image
PoC
Impact
secret_key is used for jwt authentication. Attackers can forge authentication tokens and log into the system.
Executive ViewAI
A critical vulnerability in Langflow allows attackers to steal authentication secrets without credentials, potentially enabling unauthorized system access and data breaches. Organizations using Langflow are at immediate risk until remediation is deployed.
Implement Web Application Firewall (WAF) rules to block requests to the profile picture download endpoint containing path traversal patterns (../, ..\, etc.); restrict network access to Langflow instances via firewall rules limiting to trusted sources only; disable the profile picture download feature if not operationally required; implement request rate limiting and monitoring on authentication endpoints; rotate JWT secrets immediately and implement secret rotation policies; deploy runtime application self-protection (RASP) if available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
GHSA-ph9w-r52h-28p7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB