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…

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

0
Medium
VulnerabilityCVE-2026-42867cvecve-2026-42867cwe-22
Published: 06/23/2026 (06/23/2026, 16:29:11 UTC)
Source: CVE Database V5
Vendor/Project: langflow-ai
Product: langflow

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 (POST /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are used directly to create file paths without proper sanitization or containment checks. An authenticated attacker can exploit this flaw to create directories and write files anywhere on the server's filesystem. This vulnerability is fixed in 1.9.0.

CVSS v3.1

Score 6.5medium

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

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: 06/23/2026, 17:10:10 UTC

Technical Analysis

CVE-2026-42867 is a path traversal vulnerability (CWE-22) in langflow-ai's langflow product affecting versions before 1.9.0. The issue arises because user-supplied knowledge base names are directly used to construct file paths without adequate sanitization or containment checks. An authenticated attacker can exploit this to write files and create directories arbitrarily on the server hosting langflow. This can lead to integrity and availability impacts. The vulnerability is resolved in version 1.9.0.

Potential Impact

An authenticated attacker can exploit this vulnerability to write files and create directories anywhere on the server's filesystem, potentially leading to integrity and availability impacts. Confidentiality impact is not indicated. The CVSS 3.1 base score is 6.5 (medium severity) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L, indicating network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, but integrity and availability impacts.

Mitigation Recommendations

Upgrade langflow to version 1.9.0 or later, where this path traversal vulnerability is fixed. No other mitigation or temporary workaround is indicated. Since this is not a cloud service, remediation depends on applying the official fix.

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-30T18:49:06.710Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3ab6d8eed863c81e4f9947

Added to database: 06/23/2026, 16:39:52 UTC

Last enriched: 06/23/2026, 17:10:10 UTC

Last updated: 06/23/2026, 21:45:45 UTC

Views: 5

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