CVE-2026-42048

GHSA-9whx-c884-c68q · published 5 May 2026 · updated 16 Nov 2026

Langflow: Path Traversal in Langflow Knowledge Bases API

10.0CriticalCVSS 9.6EPSS 4%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in Langflow 1.9.0 and langflow 1.9.0.

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.0, Langflow is vulnerable to Path Traversal in the Knowledge Bases API (DELETE /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are concatenated directly into file paths without proper sanitization or boundary validation. An authenticated attacker can exploit this flaw to delete arbitrary directories anywhere on the server's filesystem, leading to data loss and potential service disruption. This vulnerability is fixed in 1.9.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LangflowLangflow<1.9.01.9.0
langflow-ai<1.9.0
pypi: langflow<1.9.0, <=1.8.41.9.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Langflow, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42048 severity on Zeptric[![CVE-2026-42048](https://zeptric.io/badge/cve/CVE-2026-42048.svg)](https://zeptric.io/cve/CVE-2026-42048)