Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 4.4%top 9.6%

CVE-2026-42048: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in langflow-ai langflow

0
Critical
VulnerabilityCVE-2026-42048cvecve-2026-42048cwe-22
Published: 05/12/2026 (05/12/2026, 17:35:27 UTC)
Source: CVE Database V5
Vendor/Project: langflow-ai
Product: langflow

Description

Langflow versions prior to 1.9.0 contain a critical path traversal vulnerability in the Knowledge Bases API DELETE endpoint. This flaw allows an authenticated attacker to delete arbitrary directories on the server by supplying crafted knowledge base names that bypass path sanitization. The vulnerability can lead to significant data loss and service disruption. A fix for this issue is included in Langflow version 1.9.0.

CVSS v3.1

Score 9.6critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
langflow-ai/langflow
pkg:github/langflow-ai/langflow
Affected versions
<1.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 18:44:29 UTC

Technical Analysis

CVE-2026-42048 is a path traversal vulnerability (CWE-22) in langflow-ai's Langflow product affecting versions before 1.9.0. The issue arises because user input for knowledge base names is concatenated directly into file paths without proper validation or sanitization. This allows an authenticated attacker to delete arbitrary directories on the server filesystem via the DELETE /api/v1/knowledge_bases API endpoint. The vulnerability has a CVSS 3.1 score of 9.6, indicating critical severity, with high impact on integrity and availability but no confidentiality impact. The vulnerability is fixed in version 1.9.0.

Potential Impact

An authenticated attacker can exploit this vulnerability to delete arbitrary directories anywhere on the server's filesystem. This can result in significant data loss and disruption of service availability. There is no direct confidentiality impact reported. The high CVSS score reflects the critical nature of the integrity and availability impacts.

Mitigation Recommendations

Upgrade Langflow to version 1.9.0 or later, where this vulnerability is fixed. Since no official patch link or advisory is provided, verify the upgrade through the vendor's official release notes or repository. Until upgraded, restrict access to the Knowledge Bases API to trusted authenticated users only to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-23T16:05:01.709Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a036fcccbff5d86100cc526

Added to database: 05/12/2026, 18:22:04 UTC

Last enriched: 05/19/2026, 18:44:29 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses