CVE-2026-42048: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in langflow-ai langflow
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.
AI Analysis
Technical Summary
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.
CVE-2026-42048: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in langflow-ai 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
Affected software
pkg:github/langflow-ai/langflowRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.