HighVulnerability
CVE-2026-31945: LibreChat server-side request forgery in agent actions and MCP
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-31945
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
LibreChat versions 0.8.2-rc2 through 0.8.2 are vulnerable to server-side request forgery (SSRF) when agent actions or MCP are used. The earlier fix for GHSA-rgjq-4q58-m3q8 added hostname validation but does not check whether DNS resolution yields a private IP address, so an attacker can bypass it and reach internal resources such as an internal RAG API or cloud instance metadata endpoints.
Mitigation
Version 0.8.3-rc1 contains a patch.
Related items
- HighCVE-2026-123818: LMDeploy is a toolkit for compressing, deploying, and serving large language models. From 0.12.3 until 0.15.0…Similar attack · NVD/CVE Database
- HighGHSA-vvr2-h2jp-838m: Code Graph RAG: MCP paginated read_file path traversal / arbitrary file readSimilar attack · GitHub Advisory Database
- MediumAttackers Crash Claude's 'Office Party' Flaw to Run Malicious Code on LinuxSimilar attack · Dark Reading
- MediumCVE-2026-124588: huggingface finetrainers code injection via Library argumentSimilar attack · NVD/CVE Database
- MediumTaiwan-Based Hacker Used BOSSAI AI Agents to Steal Taipei Emergency Dispatch RecordsSimilar attack · The Hacker News