{
  "id": "CVE-2026-25481",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25481",
  "published_at": "2026-02-04T20:03:32.017Z",
  "title": "Langroid has WAF Bypass Leading to RCE in TableChatAgent",
  "vendor": "langroid",
  "product": "langroid",
  "cvss": {
    "score": 9.6,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:langroid:langroid:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.4,
    "nvd": 9.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "langroid",
        "product": "langroid",
        "ranges": [
          "\u003c 0.59.32"
        ],
        "fixed_in": [
          "0.59.32"
        ]
      }
    ],
    "upgrade": [
      "Upgrade langroid to 0.59.32 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/langroid/langroid/security/advisories/GHSA-x34r-63hx-w57f"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/langroid/langroid/security/advisories/GHSA-jqq5-wc57-f8hj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/langroid/langroid/commit/30abbc1a854dee22fbd2f8b2f575dfdabdb603ea"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
