Vulnerabilities

Hackers Exploit Langflow Vulnerability for Remote Code Execution

Disclosed in March, the security defect enables unauthenticated attackers to write files to arbitrary locations on the system.

Zero-day vulnerability

Threat actors have begun exploiting a high-severity vulnerability in the popular low-code AI development platform Langflow, according to VulnCheck.

Tracked as CVE-2026-5027 (CVSS score of 8.8), the security defect is described as a path traversal issue that allows attackers to write files to arbitrary locations on the system.

“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 (‘../’),” a NIST advisory reads.

Successful exploitation of the bug, VulnCheck VP of security research Caitlin Condon warns, allows unauthenticated attackers to execute arbitrary code on vulnerable instances.

“The flaw can enable remote code execution (RCE), and because Langflow enables unauthenticated auto-login by default, attackers can reach the vulnerable endpoint without credentials,” VulnCheck told SecurityWeek.

Threat actors can send a single unauthenticated request to obtain a valid session token and then proceed to exploit CVE-2026-5027, it says.

Advertisement. Scroll to continue reading.

According to VulnCheck, the observed in-the-wild exploitation attempts successfully leveraged the path traversal to drop test files on victim systems.

The potential attack surface appears broad, with approximately 7,000 Langflow instances accessible from the internet, most of them in North America.

“The activity underscores a growing trend of attackers targeting the infrastructure and tooling that organizations use to build and deploy AI applications,” VulnCheck said.

CVE-2026-5027 was disclosed publicly on March 27 by Tenable, after a series of failed disclosure attempts. 

SecurityWeek has emailed Langflow for a statement and will update this article if it responds.

Related: ‘GreatXML’ Zero-Day Exploit Bypasses BitLocker

Related: Critical Langflow Vulnerability Exploited Hours After Public Disclosure

Related: Splunk, Palo Alto Networks Patch Severe Vulnerabilities

Related: ICS Patch Tuesday: Vulnerabilities Fixed by Siemens, Schneider, Phoenix Contact

Related Content

Endpoint Security

Apple announced that dozens of vulnerabilities have been patched in each of its operating systems.

Vulnerabilities

The critical remote code execution bug can be exploited without authentication, under the library’s stock default configurations.

Vulnerabilities

Impacting on-premises deployments, the OS command injection allows attackers to access privileged internal functionality.

Ransomware

The critical unsafe deserialization flaw allows attackers to execute arbitrary code remotely, without authentication.

ICS/OT

A researcher has explained how an attacker could exploit these vulnerabilities to target industrial organizations.

Artificial Intelligence

AgentForger allows an attacker to create, insert and remotely control an invisible autonomous AI agent inside a victim organization.

Vulnerabilities

The vulnerability tracked as CVE-2026-16232 has been exploited against customers with certain configurations.

Vulnerabilities

An attacker only needed to convince the targeted user to visit a malicious website to exfiltrate WhatsApp messages and contacts.

Copyright © 2026 SecurityWeek ®, a Wired Business Media Publication. All Rights Reserved.

Exit mobile version