SecurityContext

CVE-2026-42048: Langflow - Path Traversal

  • Cve: CVE-2026-42048
  • Name: Langflow - Path Traversal
  • 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 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.
  • Impact: Authenticated attackers can delete arbitrary directories, causing data loss and service disruption.
  • Remediation: Update to version 1.9.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
  • Epss score: 0.04195
  • Epss percentile: 0.91105
  • Assignee: [email protected]
  • Published at: 2026-05-12T18:17:23Z
  • Age in days: 196
  • Modified at: 2026-11-11T20:10:00Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42048
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Hackerone

  • Reports: 4
  • Rank: 2839

Public exploits

UrlSourceAdded date
https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68qnvd2026-05-12
https://github.com/EQSTLab/CVE-2026-42048poc-in-github2026-05-21

References

UrlSourceTags
https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68qnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
langflow:langflow< 1.9.0nonvd/v1/products/langflow/langflow

Projects

RepositoryLink kindsIndexedUrl
langflow-ai/langflowpackage, security_advisoryyes/v1/repositories/langflow-ai/langflow

Index

  • Repositories: 2
  • Repositories high signal: 2
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2026-05-12
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 4
  • Exposed hosts: 2920
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since