MCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeover
CVE-2026-7646 · GHSA-95rw-c7w3-xh7f · published 2026-11-17
- Severity
- Critical
- CVSS score
- 9.6
- Chance of exploitation (EPSS)
- Not scored
- Fixed in
- 1.9.1
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
This is an arbitrary server-side file read vulnerability that escalates to full account takeover: 1. Any file readable by the Langflow process can be retrieved — including secret_key, private_key.pem, application configs, and database files. 2. JWT secret exfiltration leads to complete account takeover of all users — forged tokens can be created for any user UUID (including superusers), are non-expiring, and are fully accepted by the server. A single low-privilege account compromises every user on the instance. …
Upgrade langflow to 1.9.1 or later, and langflow-base to 0.9.1 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
This advisory tracks CVE-2026-7646: URL-encoded filename traversal in MCP resources/read, including the possibility of reading the JWT signing secret. The reported path was fixed by PR #12818, merged on April 21, 2026 and included in Langflow 1.9.1, published April 24, 2026 (UTC). The corresponding backend package is langflow-base 0.9.1. The handler rejects decoded traversal sequences and path separators before reading storage; local storage also validates the resolved path. The change adds resource ownership checks. Upgrade recommendation: Follow IBM's published bulletin and upgrade to Langflow 1.11.0 or newer.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langflow | PyPI | < 1.9.1 | 1.9.1 |
| langflow-base | PyPI | < 0.9.1 | 0.9.1 |
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
- CriticalPraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validationpraisonai
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalLangflow: OS command injection (RCE) via arbitrary command in MCP stdio server configurationlangflow, langflow-base
The impact, patch and workaround text comes from the advisory, shortened (published by Langflow). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.