CVE-2026-42048: Langflow Knowledge Bases API is Vulnerable to Path Traversal
Affects langflowSource GCVE Database
Not known to be exploited · CVSS 9.6 Critical : upgrade to 1.9.0 as a priority.
Data as of 16 Nov 2026, 17:34 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 9.6 |
|---|
- Patch
- Available – fixed in 1.9.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade langflow to 1.9.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIlangflow | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Langflow to version 1.9.0 or later, where the vulnerability is fixed by normalizing and validating paths before deletion. The fix ensures that only directories within the authenticated user's scope can be deleted, preventing path traversal attacks. No additional mitigation is required if the upgrade is applied.
Description
Langflow versions prior to 1.9.0 have a path traversal vulnerability in the Knowledge Bases API's bulk delete endpoint. Authenticated attackers can supply crafted knowledge base names to delete arbitrary directories on the server filesystem, potentially causing data loss and service disruption. The issue arises from improper sanitization and lack of path containment checks before deletion. This vulnerability is fixed in version 1.9.0 by normalizing and validating paths before deletion.
References
- github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-42048 (opens in a new tab)
- github.com/langflow-ai/langflow (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-377.yaml (opens in a new tab)
- pypi.org/project/langflow (opens in a new tab)