---
id: CVE-2026-51888
title: 'langflow-ai langflow v1.8.4 is affected by: Directory Traversal'
summary: >-
  langflow-ai langflow v1.8.4 is affected by: Directory Traversal. The impact
  is: Arbitrary file write outside the intended workspace or storage boundary..
  The component is:
  src/backend/base/langflow/api/v1/knowledge_bases.py:knowledge_bas…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-22
published: '2026-10-01'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T15:17:18.300'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51888'
references:
  - url: 'https://gist.github.com/Ro1ME/c85f513d1fd702c686cffe061cbf8ef5'
    label: cve@mitre.org
  - url: 'https://gist.github.com/Ro1ME/c85f513d1fd702c686cffe061cbf8ef5'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00635
epssPercentile: 0.50204
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-06T14:20:05.906552Z'
ingestedAt: '2026-10-01T23:03:32.776Z'
---

## Overview

langflow-ai langflow v1.8.4 is affected by: Directory Traversal. The impact is: Arbitrary file write outside the intended workspace or storage boundary.. The component is: src/backend/base/langflow/api/v1/knowledge_bases.py:knowledge_bases-create_knowledge_base-a-live-http-post-to-create-knowledge-base. The attack vector is: Attack surface: HTTP or browser-backed service path. A public-facing upload or HTTP route handler forwards an attacker-controlled path or filename into host file creation without any visible boundary enforcement. ¶¶ A weakness has been identified in langflow-ai langflow up to 1.8.4. langflow contains an absolute path traversal vulnerability in knowledge_bases-create_knowledge_base-a-live-http-post-to-create-knowledge-base (src/backend/base/langflow/api/v1/knowledge_bases.py:51). An attacker can write or overwrite files outside the intended working directory by providing absolute paths in the knowledge base creation endpoint.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
