CVE-2026-9198: CWE-94 Improper Control of Generation of Code ('Code Injection') in IBM Langflow OSS
Description
IBM Langflow OSS 1.0.0 through 1.10.0 allows unauthenticated attackers to chain /api/v1/auto_login (mints SUPERUSER tokens to any network caller) with /api/v1/validate/code (executes user code via exec()) to achieve full RCE on default Langflow deployments
CVSS v3.1
Score 9.8critical
Affected software
IBM
Langflow OSS
pkg:github/ibm/langflow_osscpe:2.3:a:ibm:langflow_oss:1.0.0:*:*:*:*:*:*:*cpe:2.3:a:ibm:langflow_oss:1.10.0:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-9198 is a critical vulnerability in IBM Langflow OSS 1.0.0 through 1.10.0 where unauthenticated attackers can chain two API endpoints: /api/v1/auto_login, which issues SUPERUSER tokens to any network caller, and /api/v1/validate/code, which executes user-supplied code using exec(). This combination allows attackers to achieve full remote code execution on default Langflow deployments. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code).
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary code remotely with SUPERUSER privileges, leading to complete compromise of affected systems. The CVSS v3.1 base score is 9.8, indicating critical severity with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict network access to the affected API endpoints and consider disabling or limiting the /api/v1/auto_login and /api/v1/validate/code endpoints to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- ibm
- Date Reserved
- 2026-05-21T15:40:11.465Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Indicators of Compromise
Exploit Source Code
Exploit code for Langflow 1.10.0 - RCE
# Exploit Title: Langflow 1.10.0 - RCE # Exploit Author: Richard Howe <rhowe425> # Vendor Homepage: https://www.langflow.org/ # Software Link: https://www.langflow.org/desktop # Version: < 1.10.0 # Tested on: Ubuntu 22.04 # CVE : CVE-2026-9198 import argparse from requests import get, post def stage1(base_url: str) -> str: endpoint = '/api/v1/auto_login' headers = { 'Content-Type': 'application/json', } try: resp = get(base_url + endpoint) except Exceptio... (1519 more characters)
Threat ID: 6a5b401834329bf928c71335
Added to database: 07/18/2026, 08:58:00 UTC
Last enriched: 08/05/2026, 13:09:59 UTC
Last updated: 10/15/2026, 06:48:20 UTC
Views: 120
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.