Skip to content
CriticalVulnerability

CVE-2026-42048: Langflow path traversal in Knowledge Bases API DELETE endpoint

Identifier
CVE-2026-42048
Published
Record updated
View JSON
Affected
  • langflow <= 1.8.4
Fixed in
1.9.0
  • released April 14, 2026, 28 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
4.2%

Summary

CVE-2026-42048 affects Langflow versions prior to 1.9.0 in the Knowledge Bases API (DELETE /api/v1/knowledge_bases). User-supplied knowledge base names are concatenated directly into file paths without sanitization or boundary validation. An authenticated attacker can delete arbitrary directories on the server's filesystem, causing data loss and potential service disruption.

Mitigation

Fixed in 1.9.0.