Description
IBM Langflow OSS 1.0.0 through 1.10.3 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.
Published: 2026-08-05
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

IBM Langflow OSS versions 1.0.0 through 1.10.3 contain a path traversal flaw in the Knowledge Bases API. User‑provided knowledge base names are incorporated directly into filesystem paths without sanitization. An authenticated attacker can craft a request to the POST /api/v1/knowledge_bases endpoint to create arbitrary directories and write files anywhere on the server’s filesystem. This flaw is a classic example of CWE‑22, which can enable persistence of malicious content or execution of arbitrary code if executable files are written to a location reachable by the web server.

Affected Systems

The vulnerability affects IBM Langflow OSS. All installations running versions 1.0.0 up to and including 1.10.3 are impacted. The affected releases are listed in the CNA data and correspond to the Common Platform Enumeration strings for 1.0.0 and 1.10.3.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it is not known to be actively exploited at large scale. However, the requirement for authenticated access to the Knowledge Bases API means an attacker who compromises a legitimate user’s credentials can immediately create files on the server. The potential impact includes unauthorized writes, config tampering, or code execution if files are placed in a web‑executable directory. The attack vector is through the public API, but only after authentication, and the flaw does not allow unauthenticated exploitation.

Generated by OpenCVE AI on August 5, 2026 at 19:23 UTC.

Remediation

Vendor Solution

IBM recommends upgrading to Langflow OSS 1.11.0 or newer https://github.com/langflow-ai/langflow/releases


OpenCVE Recommended Actions

  • Apply IBM’s recommended upgrade to Langflow OSS 1.11.0 or newer, which removes the path traversal issue.
  • If an upgrade is not immediately possible, restrict access to the Knowledge Bases API to only trusted and authenticated users and enforce least‑privilege permissions on the underlying filesystem.
  • Implement server‑side validation to ensure that knowledge base names are sanitized and confined within a designated directory before file path construction.

Generated by OpenCVE AI on August 5, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Description IBM Langflow OSS 1.0.0 through 1.10.3 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.
Title Langflow OSS is affected by arbitrary code execution in custom component validation and trusted code enforcement
First Time appeared Ibm
Ibm langflow Oss
Weaknesses CWE-22
CPEs cpe:2.3:a:ibm:langflow_oss:1.0.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:langflow_oss:1.10.3:*:*:*:*:*:*:*
Vendors & Products Ibm
Ibm langflow Oss
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

Ibm Langflow Oss
cve-icon MITRE

Status: PUBLISHED

Assigner: ibm

Published:

Updated: 2026-08-05T18:13:15.979Z

Reserved: 2026-05-05T14:06:14.250Z

Link: CVE-2026-7869

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T19:30:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')