CVE-2026-54769 Splunk · SPL

Detect CVE-2026-54769: Langroid TableChatAgent Sandbox Escape via eval() RCE in Splunk

Detects exploitation of CVE-2026-54769, a critical sandbox escape vulnerability in Langroid's TableChatAgent component (versions <= 0.65.1). The incomplete eval() mitigation allows attackers to craft malicious inputs that escape the intended sandbox and achieve remote code execution on the host system. CVSS 10.0 with public PoC available.

MITRE ATT&CK

Tactic
Execution Privilege Escalation

SPL Detection Query

Splunk (SPL)
spl
index=* sourcetype IN ("access_combined", "access_combined_wcookie", "python", "uvicorn", "gunicorn", "linux_secure", "wineventlog")
| eval is_langroid_endpoint=if(match(uri_path, "(?i)(chat|agent|query|ask|tablechat)"), 1, 0)
| eval has_rce_payload=if(match(coalesce(uri_query, request_body, message, CommandLine, ""), "(__import__|__builtins__|os\.system|subprocess|__class__\.__mro__|__subclasses__|importlib|open\(.*\)|exec\(|eval\()"), 1, 0)
| eval has_child_proc=if(sourcetype IN ("wineventlog", "linux_secure") AND match(coalesce(ParentProcessName, ppid_name, ""), "(?i)(python|python3|uvicorn|gunicorn|fastapi)") AND match(coalesce(CommandLine, command, ""), "(?i)(curl|wget|bash|sh -c|nc |python -c|cmd\.exe|powershell)"), 1, 0)
| where has_rce_payload=1 OR has_child_proc=1
| eval threat_type=case(
    has_child_proc=1, "RCE_ChildProcess_Spawned",
    is_langroid_endpoint=1 AND has_rce_payload=1, "RCE_Payload_In_Request",
    has_rce_payload=1, "RCE_Payload_Detected"
  )
| eval cve="CVE-2026-54769"
| table _time, host, src_ip, uri_path, uri_query, threat_type, cve, user, ParentProcessName, CommandLine
| sort -_time
critical severity medium confidence

Detects Langroid TableChatAgent exploitation attempts via eval() sandbox escape payloads in HTTP requests and suspicious child process spawning from Python web server processes.

Data Sources

Web Access LogsOS Process Audit LogsWindows Security Events

Required Sourcetypes

access_combinedaccess_combined_wcookiepythonuvicornlinux_securewineventlog

False Positives & Tuning

  • Legitimate security testing or penetration testing activities targeting Langroid deployments with authorization
  • Python applications using eval() for legitimate purposes co-hosted with Langroid services
  • Log aggregation systems forwarding raw user input that happens to contain Python code snippets
  • Development environments where engineers test TableChatAgent functionality with complex Python expressions

Other platforms for CVE-2026-54769


Testing Methodology

Validate this detection against 4 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 1Langroid TableChatAgent eval() Basic Sandbox Escape via __import__

    Expected signal: Python process executing os.system() call; creation of /tmp/cve_2026_54769_poc.txt by the Python process; Syslog/auditd records showing system() syscall from python3 process

  2. Test 2Langroid TableChatAgent MRO Traversal Sandbox Escape for RCE

    Expected signal: Python process spawning subprocess.Popen with system commands; process tree showing python3 as parent of id/sh commands; auditd EXECVE records for child process

  3. Test 3CVE-2026-54769 HTTP API Exploitation Simulation with Reverse Shell Payload

    Expected signal: Outbound TCP connection from Python/uvicorn process to attacker IP:4444; bash process spawned as child of python3/uvicorn; network flow showing new connection to port 4444 from the Langroid server IP; HTTP access log entry with encoded payload in POST body

  4. Test 4Langroid Package Version Enumeration for CVE-2026-54769 Exposure Assessment

    Expected signal: pip command execution; find/grep commands scanning for requirements files; curl requests to application health/version endpoints; process enumeration via ps

Unlock Pro Content

Get the full detection package for CVE-2026-54769 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections