Back to list

Langflow Knowledge Bases API is Vulnerable to Path Traversal — CVE-2026-42048

GitHub · GitHub · CVE-2026-42048

ID
CVE-2026-42048
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.6
EPSS
0.00041

Summary

## Summary 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…

Product

pip: langflow

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories