Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 53%

GHSA-x34r-63hx-w57f: Langroid has WAF Bypass Leading to RCE in TableChatAgent

0
Critical
Published: 02/02/2026 (02/02/2026, 20:42:28 UTC)
Source: GCVE Database
Product: langroid

Description

Langroid versions up to 0.59.31 contain a vulnerability in the TableChatAgent component where a Web Application Firewall (WAF) bypass allows remote code execution (RCE). The vulnerability arises because the WAF does not properly block dangerous inputs due to a function returning False instead of raising an error, combined with unrestricted access to dangerous Python dunder attributes. This enables attackers to chain DataFrame methods to leak the eval builtin and execute arbitrary code. A proof-of-concept demonstrates executing shell commands via the pandas_eval tool. No patch or official fix is currently documented.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

PyPIghsa
langroid
Affected versions
<0.59.32

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 23:35:34 UTC

Technical Analysis

The vulnerability (CVE-2026-25481) affects langroid versions prior to 0.59.32. It involves the TableChatAgent's use of the pandas_eval tool to evaluate expressions. Although a WAF was introduced to prevent code injection (related to CVE-2025-46724), it can be bypassed because the _literal_ok() function returns False instead of raising an UnsafeCommandError on invalid input. This, combined with unrestricted access to dangerous dunder attributes such as __init__, __globals__, and __builtins__, allows attackers to chain whitelisted DataFrame methods to leak the eval builtin function and execute arbitrary code remotely. The exploit uses a crafted DataFrame column name to execute shell commands on the server. The vulnerability leads to remote code execution via user-controlled input in the pandas_eval tool within TableChatAgent.

Potential Impact

Successful exploitation allows unauthenticated remote attackers to execute arbitrary shell commands on the server running langroid's TableChatAgent. This results in full remote code execution (RCE), compromising the confidentiality, integrity, and availability of the affected system. The vulnerability bypasses existing WAF protections and leverages Python internals to execute malicious code.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions of langroid (<=0.59.31) in untrusted environments. Restrict access to the pandas_eval tool and disable or limit user-controlled expression evaluation. Monitor vendor channels for updates or patches addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-x34r-63hx-w57f
Osv Schema Version
1.4.0
Aliases
["CVE-2026-25481"]
Ecosystems
["PyPI"]
Database Specific Severity
CRITICAL
Cvss Version
4.0

Threat ID: 6a46ed1527e9c797194470a6

Added to database: 07/02/2026, 22:58:29 UTC

Last enriched: 07/02/2026, 23:35:34 UTC

Last updated: 07/03/2026, 08:51:23 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses