CVE-2026-8481 Remote Code Execution via Code Validation Endpoint

Critical 9.9 Published Updated

Authenticated attackers can execute arbitrary system commands via the code validation endpoint due to unsafe use of exec(), requiring immediate patching.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-8481?

CVE-2026-8481 is a critical code injection vulnerability in Langflow Langflow, published on 17 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

IBM Langflow OSS 1.0.0 through 1.10.0 contain a critical remote code execution vulnerability in the code validation API endpoint. The POST /api/v1/validate/code endpoint accepts user-supplied Python code and executes it directly using Python's built-in exec() function without sandboxing, input validation, or privilege restrictions, enabling any authenticated user to execute arbitrary system commands with the full privileges of the Langflow server process.

Weakness: CWE-94

Which versions are affected by CVE-2026-8481?

It affects 1 product.

Products include Langflow Langflow.

How do I fix CVE-2026-8481?

No fix has been published for CVE-2026-8481 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2026-8481 being exploited?

There is no known exploitation of CVE-2026-8481 in the wild and no public exploit code.

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-6jrp-2cpp-fpm4.

Is CVE-2026-8481 in your software?

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

Check your SBOMs for free