CVE-2024-37014

Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_component" endpoint and provide a Python…

High · published June 10, 2024

Patch now

High probability of exploitation

CVSS calls it high at 8.8. It sits in the 99.2th percentile for exploit probability.

CVSS v3.1
8.8
EPSS
64%
Percentile
99.2
In the wild
Unconfirmed
What it is

⚡ Langflow's 0.6.19 version has a sneaky flaw that lets untrusted users execute code remotely—think of it as a user submitting a perfectly innocent-looking order form that turns into a recipe for chaos! 🔥 It’s like allowing a customer to submit a recipe to your kitchen; if they sneak in a few explosives disguised as seasonings, your restaurant might end up in flames. In this case, an attacker can deliver a malicious Python script through the vulnerable endpoint, gaining complete control! An attacker could hijack the server, executing arbitrary code and potentially compromising sensitive data or even taking down the entire service. Imagine a hacker running rampant in your kitchen, tossing out the menu and creating a disaster instead—yikes!

Put simply

It’s like allowing a customer to submit a recipe to your kitchen; if they sneak in a few explosives disguised as seasonings, your restaurant might end up in flames. In this case, an attacker can deliver a malicious Python script through the vulnerable endpoint, gaining complete control! The vulnerability allows remote code execution via the "POST /api/v1/custom_component" endpoint. If untrusted users can access this endpoint, they can send a malicious Python script that the server will execute without any authentication checks.

What to do

An attacker could hijack the server, executing arbitrary code and potentially compromising sensitive data or even taking down the entire service. Imagine a hacker running rampant in your kitchen, tossing out the menu and creating a disaster instead—yikes! To protect against this, ensure that access to the affected endpoint is tightly controlled. Implement authentication measures, update Langflow to version 0.6.20 or later, and review your input validation processes to filter out potentially harmful scripts. Act now! You've got this! With these fixes in place, you'll have your defenses stronger than ever! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.63674 · 99.2th percentile
Published
2024-06-10T00:00Z
EPSS history
Timeline
  • 10 JUN 00:00Z
    Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_component" endpoint and provide a Python…
    cvelistv5