# Langflow: PythonREPLComponent executes unsandboxed Python code, enabling authenticated RCE and privilege escalation

Advisory record · `GHSA-8qpj-27x8-pwpq`

- **Identifiers:** `GHSA-8qpj-27x8-pwpq` · `CVE-2026-10561` · `PYSEC-2026-4231`
- **State:** Confirmed
- **Severity:** CVSS 10.0 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html) · [CWE-95](https://cwe.mitre.org/data/definitions/95.html) · [CWE-266](https://cwe.mitre.org/data/definitions/266.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md) · [Privilege escalation](https://agentprime.io/advisories/tag/privilege-escalation.md)
- **Published:** 6 Oct 2026
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 Oct 2026, 13:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 10.0: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `langflow` (PyPI): affected `<1.10.1`; fixed in `1.10.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Langflow versions before 1.10.1 are vulnerable. Its Python Interpreter components execute user-supplied Python in-process without effective sandboxing, so any authenticated user who can edit and run a flow can execute arbitrary code with the service's privileges and escalate to superuser. Upgrade langflow to 1.10.1 or later, preferably 1.12.3 or later for the full hardening series.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 10.0 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`, from CNA (ibm)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0082, the 57th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:08 UTC: First seen by agentprime
- 31 Oct 2026, 14:08 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8qpj-27x8-pwpq)

## Sources

- [GitHub Advisory Database: GHSA-8qpj-27x8-pwpq](https://github.com/advisories/GHSA-8qpj-27x8-pwpq)
- [OSV: GHSA-8qpj-27x8-pwpq](https://osv.dev/vulnerability/GHSA-8qpj-27x8-pwpq)
- <https://github.com/langflow-ai/langflow/security/advisories/GHSA-8qpj-27x8-pwpq>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-10561>
- <https://github.com/langflow-ai/langflow/pull/13700>
- <https://github.com/langflow-ai/langflow/commit/2754c84aad1306f463db1c3bbb3e8ffbe85da77d>
- <https://github.com/langflow-ai/langflow>
- <https://github.com/langflow-ai/langflow/releases/tag/v1.10.1>
- <https://www.ibm.com/support/pages/node/7277242>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8qpj-27x8-pwpq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8qpj-27x8-pwpq/>. Everything for agents: <https://agentprime.io/llms.txt>.
