{"cve":"CVE-2026-42867","nvd":{"published":"2026-06-23T17:16:58.857","modified":"2026-10-26T11:10:00.157","status":"Analyzed","description":"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 (POST /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are used directly to create file paths without proper sanitization or containment checks. An authenticated attacker can exploit this flaw to create directories and write files anywhere on the server's filesystem. This vulnerability is fixed in 1.9.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5},"cwes":["CWE-22"],"references":["https://github.com/langflow-ai/langflow/pull/12337","https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxq","https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxq"],"products":["langflow:langflow"],"source":"nvd","synced_at":"2026-10-26T11:33:08.859761529+00:00"},"epss":{"cve":"CVE-2026-42867","score":0.00466,"percentile":0.40099,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-79ph-745m-6wxq","url":"https://osv.dev/vulnerability/GHSA-79ph-745m-6wxq","summary":"Langflow: Path Traversal in Knowledge Bases API via Creation Endpoint","modified":"2026-07-20T13:45:32.268383459Z","packages":[{"ecosystem":"PyPI","name":"langflow","purl":"pkg:pypi/langflow","ranges":["<1.9.0"],"fixed":["1.9.0"]}]},{"id":"PYSEC-2026-2566","url":"https://osv.dev/vulnerability/PYSEC-2026-2566","summary":"Langflow: Path Traversal in Knowledge Bases API via Creation Endpoint","modified":"2026-07-13T16:32:01.896181025Z","packages":[{"ecosystem":"PyPI","name":"langflow","purl":"pkg:pypi/langflow","ranges":["<1.9.0"],"fixed":["1.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}