Skip to main content
← All vulnerabilities
CVE-2026-25481PYSEC-2026-383GHSA-X34R-63HX-W57F

Langroid has WAF Bypass Leading to RCE in TableChatAgent

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.59.32
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

Langroid is a framework for building large-language-model-powered applications. Prior to version 0.59.32, there is a bypass to the fix for CVE-2025-46724. TableChatAgent can call pandas_eval tool to evaluate the expression. There is a WAF in langroid/utils/pandas_utils.py introduced to block code injection CVE-2025-46724. However it can be bypassed due to _literal_ok() returning False instead of raising UnsafeCommandError on invalid input, combined with unrestricted access to dangerous dunder attributes (init, globals, builtins). This allows chaining whitelisted DataFrame methods to leak the eval builtin and execute arbitrary code. This issue has been patched in version 0.59.32.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • langroid langroid

    fixed in 0.59.32

  • langroidPyPI

    fixed in 0.59.32

References 3

GitHub · langroid/langroid