CVE-2026-48519 Langflow: Unauthenticated RCE in Shareable Playgrounds

Critical 9.6 Published Updated

Unauthenticated attackers can execute arbitrary Python code via the Shareable Playground feature in Langflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-48519?

CVE-2026-48519 is a critical code injection vulnerability in Langflow Langflow, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.2, the "Shareable Playground" (or "Public Flows" in code) contains a critical RCE vulnerability. Shareable Playground feature works by enabling the execution of workflows by unauthenticated users, by accessing a link. Specifically, it enables the route /api/v1/build_public_tmp to execute any public flow, given a public flow ID. When the route executes the flow, it allows for providing arbitrary custom Python code as the nodes code, inside the JSON payload. The vulnerable field is data.nodes[X].data.node.template.code.value. This vulnerability is fixed in 1.9.2.

Weakness: CWE-94

Which versions are affected by CVE-2026-48519?

3 open source packages ship an affected version, including langflow. It affects 1 product.

PackageAffectedFixed in
langflow PyPIAll versions1.9.2
langflow PyPIAll versions1.9.2
langflow PyPIAll versions1.9.2

Products include Langflow Langflow.

How do I fix CVE-2026-48519?

Upgrade langflow to 1.9.2 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-48519 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48519 exists.

Public exploit code: 1 proofs of concept on GitHub.

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-v5ff-9q35-q26f, PYSEC-2026-243.

Is CVE-2026-48519 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free