# CVE-2026-10561: IBM Langflow OSS remote code execution in PythonREPLComponent

Source: https://junglewise.ai/threats/cve-2026-10561-ibm-langflow-oss-remote-code-execution-in-pythonreplcomponent  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-22. Updated: 2026-06-22  
License: CC BY 4.0 with a link back

CVE-2026-10561 · Severity: critical · CVSS 10 · Published 2026-06-22

IBM Langflow OSS, a tool used to design and deploy AI workflows, contains a critical security flaw that allows unauthorized individuals to take full control of the system. By exploiting a combination of a weak default login setting and a flaw in how the software runs Python code, an attacker can execute commands on the host server without needing a password. This could lead to the theft of sensitive AI provider keys (like OpenAI or Anthropic), access to private databases, and complete compromise of the underlying infrastructure.

Technologies: [IBM Langflow OSS](https://junglewise.ai/threats/technologies/langflow-oss), [langflow (PyPI)](https://junglewise.ai/threats/technologies/pypi-langflow). Vendors: [IBM](https://junglewise.ai/threats/vendors/ibm), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-10561 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-10561 being exploited in the wild.

**How severe is CVE-2026-10561?** Critical severity, with a CVSS score of 10, published 22 June 2026.

**Which products and versions are affected?** IBM Langflow OSS 1.0.0 through 1.9.3; langflow (PyPI) < 1.10.1, ECOSYSTEM:introduced=0,fixed=1.10.1.

**Is there a fix for CVE-2026-10561?** Yes. langflow (PyPI): upgrade to 1.10.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-10561 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-10561?** Check whether you run IBM Langflow OSS or langflow (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- langflow (PyPI): upgrade to 1.10.1 or later

  ```sh
  pip install "langflow>=1.10.1"
  ```


## Technical details

A critical vulnerability exists in IBM Langflow OSS (versions 1.0.0-1.9.3) involving two primary issues. First, the default configuration (LANGFLOW_AUTO_LOGIN=true) allows unauthenticated users to obtain a superuser JWT via the /api/v1/auto_login endpoint. Second, the PythonREPLComponent fails to properly isolate execution; while it attempts to restrict globals, it does not explicitly set the '__builtins__' key to an empty dictionary. In CPython, the exec() function automatically restores full access to the builtins module if it is missing from the globals dictionary, allowing attackers to use functions like __import__, open, and eval. An unauthenticated remote attacker can leverage these flaws to execute arbitrary OS commands with the privileges of the backend process (often root in Docker environments) and exfiltrate sensitive environment variables or flow definitions. The issue is resolved in version 1.9.4.

## Affected products

- IBM Langflow OSS 1.0.0 through 1.9.3

## Identifiers

- CVE-2026-10561
- GHSA-8qpj-27x8-pwpq
- PYSEC-2026-4231

## Timeline

- 2026-06-21: advisory: Initial publication of IBM security bulletin
- 2026-06-22: disclosed: CVE published to NVD dataset
- 2026-06-21: patched: Remediation available in version 1.9.4

## References

- [https://www.ibm.com/support/pages/node/7277242](https://www.ibm.com/support/pages/node/7277242)

## Related threats

- [IBM Langflow OSS path traversal arbitrary file read and write](https://junglewise.ai/threats/cve-2026-97677-ibm-langflow-oss-1-0-0-through-1-12-2-an-authenticated-flow)
- [IBM Langflow OSS authentication bypass](https://junglewise.ai/threats/cve-2026-93680-ibm-langflow-oss-1-0-0-through-1-12-8-could-allow-a-remote)
- [IBM Langflow OSS denial of service via resource exhaustion](https://junglewise.ai/threats/cve-2026-90991-ibm-langflow-oss-1-0-0-through-1-12-4-could-allow-a-remote)
- [IBM Langflow OSS path traversal arbitrary file overwrite](https://junglewise.ai/threats/cve-2026-77819-ibm-langflow-oss-1-0-0-through-1-12-3-could-allow-a-remote)
- [IBM Langflow OSS improper sanitization of secrets in exports](https://junglewise.ai/threats/cve-2026-77817-ibm-langflow-oss-1-0-0-through-1-12-4-could-allow-a-remote)
