CVE-2026-19306: Langflow: chat attachment path traversal leaks server secrets

HIGH
Published September 4, 2026
CISO Take

IBM Langflow's Chat Input component lets an authenticated user attach arbitrary local files to a prompt, and a path-traversal flaw in the `files` parameter of the build API lets that same user point it at absolute paths — pulling in `secret_key`, JWT signing keys, the application database, `/proc/self/environ`, and other tenants' upload directories, then shipping that content straight to the configured LLM endpoint as prompt context. This matters because it silently defeats `LANGFLOW_RESTRICT_LOCAL_FILE_ACCESS=true`, the exact control most deployments rely on to sandbox file access, meaning teams who believe they're contained are not. There's no EPSS score, no CISA KEV listing, and no public exploit or Nuclei template yet, so this isn't under active mass exploitation — but any authenticated Langflow user (a low bar in many internal deployments with shared or weak accounts) can pull JWT signing keys and pivot to full auth bypass, or read other tenants' data in multi-tenant instances. Patch to the fixed Langflow release covering CVE-2026-19306 immediately, rotate `secret_key` and JWT signing material post-patch since they may already be exposed, and until patched restrict Chat Input build requests via a reverse-proxy allowlist while auditing build-request logs for `files` parameters containing `../`, absolute paths, or references to `/proc/self/environ`.

Sources:NVDATLAS

What is the risk?

High risk despite the moderate CVSS (7.7): the confidentiality-only impact score understates the blast radius because the leaked data (secret_key, JWT signing keys) enables secondary privilege escalation and cross-tenant compromise, not just a one-time information disclosure. Exploitability is straightforward (network, low complexity, no user interaction) and the barrier is just authenticated access — low in Langflow deployments that use shared credentials, open self-signup, or weak internal auth. No public exploit, PoC, scanner template, or KEV listing exists yet, so this is not being mass-exploited today, but the technique is simple to reproduce from the vendor advisory and the value of the payoff (auth material) makes it an attractive target once details circulate.

How does the attack unfold?

Authenticated Access
Attacker obtains a low-privilege authenticated account on a Langflow instance.
AML.T0012
Crafted Build Request
Attacker submits a Chat Input build request with an absolute path or traversal sequence in the files parameter, bypassing LANGFLOW_RESTRICT_LOCAL_FILE_ACCESS.
AML.T0037
Exfiltration via LLM Pipeline
The targeted file's contents are embedded as a text attachment in the prompt and transmitted to the configured LLM endpoint, leaking it outside the application.
AML.T0086
Secondary Compromise
Attacker recovers secret_key/JWT signing keys or other tenants' data from the exfiltrated content and uses it to forge tokens, escalate privileges, or steal cross-tenant data.
AML.T0091

What systems are affected?

PackageEcosystemVulnerable RangePatched
Langflowpip—No patch
156.2KPushed today18% patched~66d to patchFull package profile →

Do you use Langflow? You're affected.

How severe is it?

CVSS 3.1
7.7 / 10
EPSS
0.5%
chance of exploitation in 30 days
Higher than 45% of all CVEs
Exploitation Status
No known exploitation
Sophistication
Moderate

What is the attack surface?

AVACPRUISCIA
AVNetwork
ACLow
PRLow
UINone
SChanged
CHigh
INone
ANone

What should I do?

1 step
  1. 1) Upgrade Langflow past 1.11.2 to the version that fixes CVE-2026-19306 as soon as IBM/Langflow publishes it. 2) Rotate secret_key and any JWT signing keys immediately after patching, since they may have already been exfiltrated pre-patch — treat them as burned. 3) Until patched, restrict who can reach the authenticated build API and Chat Input attachment feature (network segmentation, reverse-proxy path allowlisting, or disabling file attachments on Chat Input where not needed). 4) Audit build-request logs for files parameters containing traversal sequences (../), absolute paths (/etc/, /proc/, /root/), or references to other tenants' upload paths. 5) In multi-tenant deployments, verify no other tenant's upload directory was accessed by reviewing access logs against the fix window. 6) Confirm LANGFLOW_RESTRICT_LOCAL_FILE_ACCESS enforcement covers the full file-reading surface post-patch rather than assuming the flag alone is sufficient.

What does CISA's SSVC say?

DecisionTrack
Exploitationnone
AutomatableNo
Technical Impactpartial

Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Article 15-Accuracy, robustness and cybersecurity
ISO 42001
A.8.3-AI system data security and access control
NIST AI RMF
MANAGE-4.1-AI system risks and benefits are monitored and incidents are documented
OWASP LLM Top 10
LLM02-Sensitive Information Disclosure

Frequently Asked Questions

What is CVE-2026-19306?

IBM Langflow's Chat Input component lets an authenticated user attach arbitrary local files to a prompt, and a path-traversal flaw in the `files` parameter of the build API lets that same user point it at absolute paths — pulling in `secret_key`, JWT signing keys, the application database, `/proc/self/environ`, and other tenants' upload directories, then shipping that content straight to the configured LLM endpoint as prompt context. This matters because it silently defeats `LANGFLOW_RESTRICT_LOCAL_FILE_ACCESS=true`, the exact control most deployments rely on to sandbox file access, meaning teams who believe they're contained are not. There's no EPSS score, no CISA KEV listing, and no public exploit or Nuclei template yet, so this isn't under active mass exploitation — but any authenticated Langflow user (a low bar in many internal deployments with shared or weak accounts) can pull JWT signing keys and pivot to full auth bypass, or read other tenants' data in multi-tenant instances. Patch to the fixed Langflow release covering CVE-2026-19306 immediately, rotate `secret_key` and JWT signing material post-patch since they may already be exposed, and until patched restrict Chat Input build requests via a reverse-proxy allowlist while auditing build-request logs for `files` parameters containing `../`, absolute paths, or references to `/proc/self/environ`.

Is CVE-2026-19306 actively exploited?

No confirmed active exploitation of CVE-2026-19306 has been reported, but organizations should still patch proactively.

How to fix CVE-2026-19306?

1) Upgrade Langflow past 1.11.2 to the version that fixes CVE-2026-19306 as soon as IBM/Langflow publishes it. 2) Rotate `secret_key` and any JWT signing keys immediately after patching, since they may have already been exfiltrated pre-patch — treat them as burned. 3) Until patched, restrict who can reach the authenticated build API and Chat Input attachment feature (network segmentation, reverse-proxy path allowlisting, or disabling file attachments on Chat Input where not needed). 4) Audit build-request logs for `files` parameters containing traversal sequences (`../`), absolute paths (`/etc/`, `/proc/`, `/root/`), or references to other tenants' upload paths. 5) In multi-tenant deployments, verify no other tenant's upload directory was accessed by reviewing access logs against the fix window. 6) Confirm `LANGFLOW_RESTRICT_LOCAL_FILE_ACCESS` enforcement covers the full file-reading surface post-patch rather than assuming the flag alone is sufficient.

What systems are affected by CVE-2026-19306?

This vulnerability affects the following AI/ML architecture patterns: agent frameworks, LLM chat/conversation pipelines, multi-tenant SaaS AI platforms.

What is the CVSS score for CVE-2026-19306?

CVE-2026-19306 has a CVSS v3.1 base score of 7.7 (HIGH). The EPSS exploitation probability is 0.54%.

What is the AI security impact?

Affected AI Architectures

agent frameworksLLM chat/conversation pipelinesmulti-tenant SaaS AI platforms

MITRE ATLAS Techniques

AML.T0012Valid Accounts
AML.T0037Data from Local System
AML.T0086Exfiltration via AI Agent Tool Invocation

Compliance Controls Affected

EU AI Act: Article 15
ISO 42001: A.8.3
NIST AI RMF: MANAGE-4.1
OWASP LLM Top 10: LLM02

What are the technical details?

Original Advisory

IBM Langflow OSS 1.0.0 through 1.11.2 allows an authenticated attacker to read arbitrary files from the server filesystem — including server secret material (secret_key, JWT signing keys, the application database, /proc/self/environ, and other tenants' upload directories) — by supplying absolute paths or traversal sequences in the files parameter of an authenticated build request. The file contents were embedded as text attachments in the language model prompt and transmitted to the configured model endpoint, resulting in confidential data exfiltration. This bypassed the LANGFLOW_RESTRICT_LOCAL_FILE_ACCESS=true containment boundary, which was enforced for other file-reading components but not for the Chat Input to Message attachment pipeline.

Exploitation Scenario

An attacker who has obtained low-privilege authenticated access to a Langflow instance (e.g., via a shared internal account, a self-service signup, or a compromised low-tier credential) opens any flow that uses the Chat Input component and issues a build request with the `files` parameter set to an absolute path such as `/app/secret_key` or a traversal sequence reaching `/proc/self/environ`. Langflow embeds the referenced file's contents as a text attachment inside the message sent to the configured LLM endpoint, so the file contents flow out through the normal LLM API call rather than through a blocked file-read endpoint — evading the `LANGFLOW_RESTRICT_LOCAL_FILE_ACCESS` control that was only wired into other components. The attacker retrieves the exfiltrated secret material either directly from the model's echoed response or by intercepting/monitoring the outbound request to the LLM provider, then uses the recovered JWT signing key to forge tokens or escalate to admin-level access, or reads another tenant's uploaded documents for data theft.

Weaknesses (CWE)

CWE-22 — Improper Limitation of a Pathname to a Restricted Directory: 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:C/C:H/I:N/A:N

Timeline

Published
September 4, 2026
Last Modified
September 8, 2026
First Seen
September 4, 2026

Related Vulnerabilities