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

Published Jul 2, 2026
·
Updated

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 allowcustomcomponents=false security control. The vulnerability exists because the validation mechanism only checks the main component source code in nodetemplate["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 updateflowcomponentfield tool, which accepts attacker-controlled userid parameters, enabling attackers to inject malicious code into victim users' flows. When combined with publicly accessible flows and specific misconfigurations (AUTOLOGIN=true, NEWUSERISACTIVE=true), the attack can be conducted with reduced authentication requirements.

Affected Software

7 affected components
IBM Langflow OSS>=1.0.0<=1.10.0
IBM Langflow OSS<=1.9.2
IBM Langflow OSS<=1.0.0-1.10.0
All of the following
Langflow Langflow>=1.0.0<1.10.1
Any of the following
Apple macOS
Linux Linux kernel
Microsoft Windows

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade IBM Langflow OSS to a version that resolves this vulnerability.

    Fixed in 1.10.1

Event History

Jul 2, 2026
CVE Published
via IBM·12:00 AM
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jul 17, 2026
CVE Published
via MITRE·06:48 PM
Data Sourced
via MITRE·06:48 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeaknessAffected Software
May 8, 58583
Event
via FIRST·11:13 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9135?

The severity of CVE-2026-9135 is critical with a score of 9.9.

2

How do I fix CVE-2026-9135?

To fix CVE-2026-9135, upgrade IBM Langflow OSS to version 1.10.0 or later.

3

What type of vulnerability is CVE-2026-9135?

CVE-2026-9135 is a code injection vulnerability related to bypassing custom component validation.

4

Which versions of IBM Langflow OSS are affected by CVE-2026-9135?

CVE-2026-9135 affects IBM Langflow OSS versions 1.0.0 through 1.9.2.

5

What components are involved in CVE-2026-9135?

CVE-2026-9135 involves the Policies component and ToolGuard integration in IBM Langflow OSS.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203