Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for CVE-2026-9198.

Unlock with Pro - from £29/user/mo
CVE-2026-9198 Sumo Logic CSE · Sumo

Detect IBM Langflow Code Injection Exploitation (CVE-2026-9198) in Sumo Logic CSE

Detects exploitation attempts against IBM Langflow instances vulnerable to CVE-2026-9198, a code injection vulnerability (CWE-94) that allows unauthenticated or authenticated attackers to execute arbitrary code via crafted requests to Langflow's component/flow execution API. This vulnerability is listed in CISA KEV and is being actively exploited in the wild. Detection focuses on anomalous process execution spawned by the Langflow application, suspicious payloads to Langflow API endpoints, and post-exploitation indicators such as reverse shells, credential harvesting, or outbound C2 connections originating from Langflow hosts.

MITRE ATT&CK

Tactic
Initial Access Execution Persistence

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=*endpoint* OR _sourceCategory=*sysmon*
| where parent_process_name matches "*langflow*" or parent_process_name matches "*uvicorn*" or parent_process_name matches "*python*"
| where process_name matches "*bash*" or process_name matches "*sh*" or process_name matches "*powershell*" or process_name matches "*cmd.exe*" or command_line matches "*curl*" or command_line matches "*wget*"
| where command_line matches "*eval(*" or command_line matches "*exec(*" or command_line matches "*os.system*" or command_line matches "*subprocess*" or command_line matches "*base64 -d*" or command_line matches "*0>&1*"
| fields _messagetime, host, parent_process_name, process_name, command_line, user
| sort -_messagetime
critical severity high confidence

Surfaces endpoint telemetry showing Langflow processes spawning shells or interpreters with injection-style command patterns, consistent with CVE-2026-9198 exploitation.

Data Sources

Sumo Logic Endpoint CollectorSysmonCloud SIEM Enterprise

Required Tables

endpoint_events

False Positives & Tuning

  • Legitimate Langflow developers testing custom Python component code that shells out intentionally
  • CI/CD pipelines invoking Langflow via automation scripts that use interpreters
  • Administrative maintenance scripts that restart or manage the Langflow service using shell commands

Other platforms for CVE-2026-9198


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Simulate Langflow Component Code Injection via Python eval

    Expected signal: Process creation event showing python3 as parent spawning bash child process with command line containing 'echo LANGFLOW_ATOMIC_TEST_INJECTION'

  2. Test 2Simulate Reverse Shell Spawn from Langflow Process

    Expected signal: Process and network events showing bash establishing an outbound TCP connection with redirected file descriptors (0>&1 pattern) in command line.

  3. Test 3Simulate PowerShell Encoded Command Execution via Langflow on Windows

    Expected signal: Windows Security Event ID 4688 / Sysmon Event ID 1 showing powershell.exe launched with -EncodedCommand flag, ideally with a Langflow-related parent process (python.exe or uvicorn).

Unlock playbooks & atomic tests with Pro

Get the full detection package for CVE-2026-9198 — response playbook and atomic red team tests, plus investigation guidance and hunting queries.

df00tech Pro — £29/user/month

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections