{"id":"CVE-2026-42048","published":"2026-05-12T17:35:27Z","modified":"2026-05-13T14:14:16Z","title":"Langflow: Path Traversal in Langflow Knowledge Bases API","vendor":"langflow-ai","product":"langflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00601,"percentile":0.42847,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":8.57},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.72}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-21","earliestUrl":"https://github.com/EQSTLab/CVE-2026-42048","repos":[{"name":"EQSTLab/CVE-2026-42048","url":"https://github.com/EQSTLab/CVE-2026-42048","stars":2,"created":"2026-05-21"}]},"first":{"date":"2026-05-21","source":"PoC-in-GitHub","url":"https://github.com/EQSTLab/CVE-2026-42048"},"provenance":"source"},"vendorSlug":"langflow-ai","affectedVersions":[{"vendor":"langflow-ai","product":"langflow","versions":["< 1.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-13T14:13:40.432759Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langflow","vulnerableRanges":["<1.9.0"],"patched":["1.9.0"],"from":["GHSA-9whx-c884-c68q","PYSEC-2026-377"],"provenance":"source"}],"summary":{"text":"Langflow's Knowledge Bases API (DELETE /api/v1/knowledge_bases) contains a path traversal flaw in versions prior to 1.9.0, where user-supplied knowledge base names are concatenated into file paths without sanitization or boundary checks. An authenticated attacker with network access can exploit this without user interaction to delete arbitrary directories on the server's filesystem, causing data loss and potential service disruption.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:19:04Z"},"euvd":{"id":"EUVD-2026-29700","exploited":false,"provenance":"source"}}