CVE-2026-97671: Langflow: path traversal exposes sensitive files
MEDIUMIBM Langflow OSS 1.0.0 through 1.12.2 contains a path traversal flaw (CWE-22) that lets any authenticated user read files outside the intended directory, rated medium (CVSS 6.5) with high confidentiality impact. Exploitation probability is low for now: EPSS is 0.446% (63rd percentile), the CVE is not in CISA KEV, and there is no public exploit or Nuclei template. Still, Langflow has a poor security track record, with 194 other CVEs in the same package and a package risk score of 77/100, and low-privilege credentials are easy to obtain on shared or weakly secured instances. Langflow hosts often hold LLM API keys, database credentials and flow definitions, so file read can become a stepping stone to wider compromise. Upgrade to the fixed release listed in the IBM advisory (https://www.ibm.com/support/pages/node/7290694), since no patched version is published in our data, and restrict the instance to trusted users and networks until you do.
What is the risk?
Medium overall. The attack is network-reachable, low complexity, needs no user interaction and requires only low privileges, with high confidentiality impact and no integrity or availability impact. Exploitation likelihood is currently low (EPSS 0.00446, no public exploit, not in KEV). Risk rises sharply for internet-exposed instances, multi-tenant deployments, or those with open self-registration, and for hosts that store secrets in environment files or on disk. Langflow's 194 prior CVEs suggest attackers and researchers already focus on this product.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Langflow | pip | — | No patch |
Do you use Langflow? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade Langflow to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7290694); our data lists no patched version, so confirm it with the vendor. 2) Until patched, put Langflow behind a VPN or authenticating reverse proxy, disable open registration, and limit accounts to trusted users. 3) Run the service as a low-privilege user in a container with a read-only filesystem and only the needed volumes mounted, so the process cannot reach host secrets. 4) Move secrets out of local files into a secrets manager and rotate any keys stored on affected hosts. 5) Detect exploitation by watching web and application logs for ../, ..%2f, %2e%2e and absolute-path patterns in file-related API requests, and for unusual reads of sensitive files by the Langflow process.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-97671?
IBM Langflow OSS 1.0.0 through 1.12.2 contains a path traversal flaw (CWE-22) that lets any authenticated user read files outside the intended directory, rated medium (CVSS 6.5) with high confidentiality impact. Exploitation probability is low for now: EPSS is 0.446% (63rd percentile), the CVE is not in CISA KEV, and there is no public exploit or Nuclei template. Still, Langflow has a poor security track record, with 194 other CVEs in the same package and a package risk score of 77/100, and low-privilege credentials are easy to obtain on shared or weakly secured instances. Langflow hosts often hold LLM API keys, database credentials and flow definitions, so file read can become a stepping stone to wider compromise. Upgrade to the fixed release listed in the IBM advisory (https://www.ibm.com/support/pages/node/7290694), since no patched version is published in our data, and restrict the instance to trusted users and networks until you do.
Is CVE-2026-97671 actively exploited?
No confirmed active exploitation of CVE-2026-97671 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-97671?
1) Upgrade Langflow to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7290694); our data lists no patched version, so confirm it with the vendor. 2) Until patched, put Langflow behind a VPN or authenticating reverse proxy, disable open registration, and limit accounts to trusted users. 3) Run the service as a low-privilege user in a container with a read-only filesystem and only the needed volumes mounted, so the process cannot reach host secrets. 4) Move secrets out of local files into a secrets manager and rotate any keys stored on affected hosts. 5) Detect exploitation by watching web and application logs for ../, ..%2f, %2e%2e and absolute-path patterns in file-related API requests, and for unusual reads of sensitive files by the Langflow process.
What systems are affected by CVE-2026-97671?
This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, LLM workflow orchestration, RAG pipelines, Low-code AI application builders.
What is the CVSS score for CVE-2026-97671?
CVE-2026-97671 has a CVSS v3.1 base score of 6.5 (MEDIUM). The EPSS exploitation probability is 0.50%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0037Data from Local SystemAML.T0049Exploit Public-Facing ApplicationAML.T0055Unsecured CredentialsCompliance Controls Affected
What are the technical details?
Original Advisory
IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to obtain sensitive information due to a path traversal vulnerability.
Exploitation Scenario
An attacker obtains a low-privilege Langflow account, for example through self-registration, a leaked credential or a shared team login. They send requests to a file-handling endpoint with traversal sequences such as ../../ to escape the intended directory. They read the .env file, configuration files and database credentials on the host, recovering OpenAI or Anthropic API keys and vector database tokens. With those, they query the organisation's models and data stores directly, run up costs, and extract proprietary documents used in RAG pipelines.
Weaknesses (CWE)
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')PrimaryCWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'): The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- [Implementation] Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue." Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylis
- [Architecture and Design] For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NReferences
Timeline
Related Vulnerabilities
CVE-2026-1056110.0Langflow: auth bypass + unauthenticated RCE (CVSS 10)
Same package: langflowCVE-2026-1013410.0Langflow: unauthenticated RCE via tool_code injection
Same package: langflowCVE-2026-333099.9langflow: Path Traversal enables file access
Same package: langflowCVE-2026-552559.9Langflow: IDOR allows cross-user flow execution
Same package: langflowCVE-2026-78739.9Langflow: authenticated RCE enables credential theft
Same package: langflow