CVE-2026-42048: Langflow is a tool for building and deploying AI-powered agents and workflows
CVE-2026-42048 is a critical-severity flaw (CVSS 9.6) affecting langflow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- EPSS top 9%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.6 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 4.2% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-05-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: EQSTLab/CVE-2026-42048 (2 stars)
- Write-up: github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42048?
langflow: upgrade to 1.9.0. Exact commands for each OS are on this page.
Is CVE-2026-42048 being exploited?
CVE-2026-42048 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42048 affect?
CVE-2026-42048 affects langflow. Severity is critical (CVSS 9.6). 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
How urgent is CVE-2026-42048?
Priority 61/100. Critical severity; EPSS top 9%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2026-34046 HIGH 8.8 UPGRADE UPGRADE Langflow is a tool for building and deploying AI-powered agents and workflows
- CVE-2026-6542 MEDIUM 6.5 UPGRADE IBM Langflow OSS 1.0.0 through 1.8.4 could allow any user to supply a flow_id to read transaction logs and ver
- CVE-2026-7524 CRITICAL 9.8 UPGRADE IBM Langflow OSS 1.0.0 through 1.9.1 could allow remote code execution due to improper validation of symbolic
- CVE-2026-48519 CRITICAL 9.6 UPGRADE Langflow is a tool for building and deploying AI-powered agents and workflows
- CVE-2026-33760 HIGH 8.8 UPGRADE Langflow is a tool for building and deploying AI-powered agents and workflows