All vulnerabilities

Servers and applications

CVE-2026-7646

MCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeover

Severity
Medium 6.5
Published
5 Aug 2026
Last changed
17 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.9.1, 1.11.0
Exploit chance
0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Also known as
GHSA-95rw-c7w3-xh7f
Sources
NVD, Project advisories (GitHub)

Description

The following describes the historical reproduction on Langflow 1.7.3. The literal secret from that reproduction has been redacted. The original report includes JWT-compromise impact beyond the CNA record's file-read assessment.

An authenticated attacker can read arbitrary files from the server filesystem by exploiting a path traversal vulnerability in Langflow's MCP (Model Context Protocol) resource handler. The handle_read_resource function in mcp_utils.py URL-decodes the filename component of a user-supplied URI without any path containment check. By encoding a traversal sequence (..%2F) in the filename, the attacker escapes the per-user storage directory. The most critical target is the JWT signing secret at {config_dir}/secret_key. With this secret, the attacker can forge valid JWT tokens for any user including administrators, achieving full account takeover of every account on the instance.

From langflow-ai/langflow's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LangflowServers and applications · cpe:a:langflow:langflow
  • From 1.0.0 before 1.11.0
LangflowServers and applications · github:langflow-ai/langflow
  • Every version before 1.9.1

About Langflow

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

From its GitHub repository.
Weekly downloads (PyPI)
8,374PyPI Stats, 15 Nov 2026
Docker Hub pulls
4,731,179Docker Hub, 15 Nov 2026
GitHub stars
156,656GitHub, 15 Nov 2026
Forks
10,412GitHub, 15 Nov 2026
Latest release
v1.13.2GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
MITGitHub
First published on GitHub
8 Feb 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-7646
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-7646
  • GitHub Advisory Database https://github.com/advisories/GHSA-95rw-c7w3-xh7f
  • github.com https://github.com/langflow-ai/langflow/security/advisories/GHSA-95rw-c7w3-xh7f