CVE-2026-7869: Langflow OSS is affected by arbitrary code execution in custom component validation and trusted code enforcement

Published Aug 5, 2026
·
Updated

IBM Langflow OSS 1.0.0 through 1.10.3 is vulnerable to Path Traversal in the Knowledge Bases API (POST /api/v1/knowledgebases). 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.

Other sources

Langflow is vulnerable to Path Traversal in the Knowledge Bases API (POST /api/v1/knowledgebases). 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.

IBM

Affected Software

4 affected components
IBM Langflow OSS>=1.0.0<=1.10.3
IBM Langflow OSS
IBM Langflow OSS<=1.0.0-1.10.3
Langflow Langflow>=1.0.0<1.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade IBM Langflow OSS to a version that resolves this vulnerability.

    Fixed in 1.11.0
  2. Compensating control

    For the Knowledge Bases API endpoint (POST /api/v1/knowledge_bases), implement request-side path containment/sanitization so user-supplied knowledge base names cannot be used to create file paths outside an intended base directory (e.g., reject/normalize names with path traversal sequences).

  3. Compensating control

    Constrain the filesystem impact of the Langflow process (run with least-privilege and restrict write permissions to only the intended directories used for knowledge bases) to limit the ability of path traversal to write files anywhere.

Event History

Aug 5, 2026
CVE Published
via IBM·12:00 AM
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·06:13 PM
Data Sourced
via MITRE·06:13 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-7869?

The severity of CVE-2026-7869 is classified as medium with a score of 5.4.

2

What type of vulnerability is described by CVE-2026-7869?

CVE-2026-7869 describes an arbitrary code execution vulnerability due to path traversal in IBM Langflow OSS.

3

How does CVE-2026-7869 affect IBM Langflow OSS?

CVE-2026-7869 affects IBM Langflow OSS by allowing an authenticated attacker to execute arbitrary code through unsafe file path handling.

4

Which versions of IBM Langflow OSS are affected by CVE-2026-7869?

CVE-2026-7869 affects IBM Langflow OSS versions 1.0.0 through 1.10.3.

5

How can I mitigate the risk of CVE-2026-7869?

To mitigate the risk of CVE-2026-7869, ensure proper sanitization of user-supplied inputs and apply any security patches provided by IBM.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203