# CVE-2026-9135: Policies Component Dynamic CodeInput Fields Bypass Custom Component Validation

- Severity: Critical 9.9 (CVSS:3.1, scored by ibm) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-07-17T18:48:55.949Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: ibm

## Description

IBM Langflow OSS 1.0.0 through 1.10.0 Langflow versions up to 1.9.2 (commit 94981c443d4918517b9e8163d70fc598dc33a32d) contain a code injection vulnerability in the Policies component's ToolGuard integration that bypasses the allow_custom_components=false security control. The vulnerability exists because the validation mechanism only checks the main component source code in node_template["code"]["value"] but fails to validate dynamic CodeInput fields that store generated ToolGuard Python files. Attackers can embed malicious Python code in these unvalidated dynamic fields, which are persisted in Flow.data and later executed server-side when a guarded tool is invoked through the ToolGuard runtime. This allows authenticated users with flow creation privileges to achieve arbitrary Python code execution on the backend despite custom component restrictions. The vulnerability can be escalated through cross-tenant flow manipulation via the agentic MCP update_flow_component_field tool, which accepts attacker-controlled user_id parameters, enabling attackers to inject malicious code into victim users' flows. When combined with publicly accessible flows and specific misconfigurations (AUTO_LOGIN=true, NEW_USER_IS_ACTIVE=true), the attack can be conducted with reduced authentication requirements.

(As written by CVE List.)

## Affected

- IBM Langflow OSS: from 1.0.0 up to 1.10.0
- langflow langflow: from 1.0.0 before 1.10.1

## References

- <https://www.ibm.com/support/pages/node/7278920> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-9135](https://www.cve.org/CVERecord?id=CVE-2026-9135), CVE Terms of Use, modified 2026-07-23
- NVD: [CVE-2026-9135](https://nvd.nist.gov/vuln/detail/CVE-2026-9135), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-9135 · Whole record: https://cve.day/CVE-2026-9135.json · Rebuilt by cve.day 2026-11-25T22:59:28.515Z
