{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42048","id":"CVE-2026-42048","title":"Langflow: Path Traversal in Langflow Knowledge Bases API","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 (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 del","descriptionLong":"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.","published":"2026-05-12T17:35:27.688Z","updated":"2026-11-13T02:47:35.143813433Z","reserved":"2026-04-23T16:05:01.709Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["langflow-ai langflow"],"affectedProducts":[{"vendor":"langflow-ai","product":"langflow","defaultStatus":null,"versions":[{"version":"< 1.9.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"langflow","purl":"pkg:pypi/langflow","ranges":["<1.9.0"],"fixed":["1.9.0"],"advisory":"GHSA-9whx-c884-c68q"}],"cwes":["CWE-22"],"aliases":["GHSA-9whx-c884-c68q","PYSEC-2026-377"],"references":[{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42048.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42048","tags":["advisory"]},{"url":"https://github.com/langflow-ai/langflow","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-377.yaml","tags":["web"]},{"url":"https://pypi.org/project/langflow","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-9whx-c884-c68q","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.04195,"epssPercentile":0.91142,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42048","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42048","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42048","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9whx-c884-c68q","ok":true,"note":"GHSA-9whx-c884-c68q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42048","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}