Exploit database

Vulnerability

CVE-2026-5027

Langflow - Path Traversal Arbitrary File Write via upload_user_file

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · tenable

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

The 'POST /api/v2/files' endpoint does not sanitize the 'filename' parameter from the multipart form data, allowing an attacker to write files to arbitrary locations on the filesystem using path traversal sequences ('../').

CVE Program

Exploit source choices

5 sources
yahiahamza/cve-2026-5027
GH-a1239713ed67a65fb74ad22c02b75773GitHubUnofficial GitHub source

CVE-2026-5027 - Langflow Path Traversal to Remote Code Execution (CVSS 8.8)

2026-04-025 files · 4 stars
eqstlab/cve-2026-5027
GH-6fb7cb70434e05787bcd857f055ee9efGitHubUnofficial GitHub source

Langflow, Remote Code Execution (RCE) via Cron Job Injection through Path Traversal

2026-04-035 files · 3 stars
yym8538/cve-2026-5027
GH-a8c9bd64b13599681337d0cfe8578a4dGitHubUnofficial GitHub source

yym8538/cve-2026-5027 source repository

2026-08-215 files · 1 stars