Skip to main content

Librechat CVE-2026-31945

| EUVDEUVD-2026-16765 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-27 GitHub_M
7.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to LibreChat as user
  2. Delivery
    Create agent action with malicious URL
  3. Exploit
    Bypass hostname validation via DNS resolution
  4. Execution
    Access internal IP address
  5. Impact
    Retrieve sensitive metadata or RAG API data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

LibreChat versions 0.8.2-rc2 through 0.8.2 with agent actions or MCP enabled. Requires authenticated user access (PR:L). Attacker can bypass hostname validation to access private IP addresses and internal resources like RAG APIs or cloud metadata endpoints.

Impact

The CVSS 7.7 score reflects high confidentiality impact with scope change, indicating potential for lateral movement beyond the vulnerable component. Attack complexity is low (AC:L) and requires only low-privileged authentication (PR:L), meaning any authenticated LibreChat user can exploit this vulnerability without specialized skills or tools. The network attack vector (AV:N) enables remote exploitation. However, real-world risk depends heavily on deployment context: installations with access to sensitive internal services or cloud metadata endpoints face severe risk of credential theft and privilege escalation, while isolated deployments have reduced exposure. No EPSS data is available for quantitative exploitation probability assessment, and no public exploit code or CISA KEV listing exists at time of analysis, suggesting exploitation is not yet widespread. The SSVC decision factors favor moderate-to-high priority: automatable (low technical complexity), exploitable (authenticated remote access), with high technical impact in multi-tenant or cloud deployments. The existence of a prior SSRF vulnerability and incomplete remediation indicates potential for security research community attention.

Exploit ScenarioDerived

An authenticated attacker with low-privileged LibreChat access creates a malicious agent action or MCP configuration specifying a domain they control (attacker-domain.com) with DNS records pointing to internal infrastructure IP addresses such as 192.168.1.10 (internal RAG API) or 169.254.169.254 (AWS metadata service). When LibreChat processes this agent action, the hostname validation passes but DNS resolution directs the server-side request to the private IP address. The attacker retrieves sensitive information including internal API responses, cloud instance credentials (IAM roles, access keys), or internal service configurations, enabling lateral movement and privilege escalation within the victim's infrastructure. No public exploit code exists, but the low attack complexity and detailed advisory enable straightforward weaponization by threat actors with authenticated access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 27, 2026

Server-side request forgery in LibreChat 0.8.2-rc2 through 0.8.2 allows authenticated users to access internal network resources via incomplete DNS validation bypass. Despite a prior SSRF patch, the current hostname validation fails to check if DNS resolution points to private IP addresses, enabling attackers to reach internal RAG APIs and cloud metadata endpoints. CVSS 7.7 with network-based attack vector and low complexity. EPSS data not available; no confirmed active exploitation (not listed in CISA KEV). Patch released in version 0.8.3-rc1.

RemediationAI

Upgrade immediately to LibreChat version 0.8.3-rc1 or later, which implements comprehensive IP address validation post-DNS resolution to prevent private IP access. The patch extends the prior hostname-based filtering with explicit checks for private IP ranges (RFC 1918), loopback addresses, link-local addresses, and cloud metadata endpoints. Organizations unable to upgrade immediately should implement network-level egress filtering to block LibreChat server access to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16, 127.0.0.0/8) and cloud metadata services. Additionally, restrict authenticated user permissions where feasible and monitor agent action usage for suspicious internal hostname references. Review application logs for requests to private IP addresses or metadata endpoints as potential indicators of exploitation attempts. Full remediation details and patch download available in the GitHub security advisory at https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f92m-jpv7-55p2.

Affected VersionsENISA

LibreChat 0.8.2-rc2, < 0.8.3-rc1

Affected Packages

euvd librechat_0_8_2_rc2 fix: 0.8.3-rc1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects LibreChat (cpe:2.3:a:danny-avila:librechat), an open-source ChatGPT alternative with extended capabilities including agent actions and Model Context Protocol (MCP) support. The flaw represents CWE-918 (Server-Side Request Forgery) where inadequate input validation in agent action or MCP handlers permits DNS rebinding attacks. The previous SSRF mitigation implemented hostname-based filtering but failed to validate the resolved IP addresses post-DNS lookup. This allows attackers to leverage DNS entries that resolve to RFC 1918 private address spaces (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or link-local addresses (169.254.0.0/16), circumventing hostname blocklists. The vulnerability specifically targets environments where LibreChat integrates with internal services like Retrieval-Augmented Generation APIs or operates in cloud environments with accessible metadata services (AWS 169.254.169.254, Azure 169.254.169.254, GCP metadata.google.internal).

Know when Librechat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:12 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
0.8.3-rc1
CVE Published
Mar 27, 2026 - 19:23 nvd
HIGH 7.7

DescriptionCVE.org

LibreChat is a ChatGPT clone with additional features. Versions 0.8.2-rc2 through 0.8.2 are vulnerable to a server-side request forgery (SSRF) attack when using agent actions or MCP. Although a previous SSRF vulnerability (https://github.com/danny-avila/LibreChat/security/advisories/GHSA-rgjq-4q58-m3q8) was reported and patched, the fix only introduced hostname validation. It does not verify whether DNS resolution results in a private IP address. As a result, an attacker can still bypass the protection and gain access to internal resources, such as an internal RAG API or cloud instance metadata endpoints. Version 0.8.3-rc1 contains a patch.

Executive ViewAI

Why It Matters

LibreChat versions 0.8.2-rc2 through 0.8.2 contain a server-side request forgery vulnerability that allows authenticated users to bypass DNS validation and access internal network resources, including RAG APIs and cloud metadata endpoints. This exposes organizations running vulnerable LibreChat instances to unauthorized disclosure of sensitive internal data and potential lateral movement within their infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level controls to restrict LibreChat's outbound connectivity to explicitly whitelisted internal and external destinations, and monitor for DNS queries and HTTP requests to private IP address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2024-11170 HIGH POC
8.8 Mar 20

A vulnerability in danny-avila/librechat version git 81f2936 allows for path traversal due to improper sanitization of f

CVE-2024-10361 CRITICAL POC
9.1 Mar 20

An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /ap

CVE-2026-22252 CRITICAL POC
9.1 Jan 12

LibreChat before v0.8.2-rc2 allows any authenticated user to execute shell commands as root inside the container through

CVE-2025-8850 HIGH POC
8.8 Oct 30

LibreChat 0.7.9 lets an authenticated user turn off two-factor authentication on their own account without supplying a v

CVE-2025-66450 HIGH POC
8.6 Dec 11

Stored cross-site scripting and tracker injection in LibreChat 0.8.0 and earlier allow a user who can create a chat to c

CVE-2025-66201 HIGH POC
8.6 Nov 29

LibreChat is a ChatGPT clone with additional features. Rated high severity (CVSS 8.6), this vulnerability is remotely ex

CVE-2025-69222 HIGH POC
8.1 Jan 07

LibreChat 0.8.1-rc2 has SSRF in the Actions feature that allows authenticated users to make the server perform requests

CVE-2024-11171 HIGH POC
7.5 Mar 20

In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. Rated high severity (

CVE-2025-7104 HIGH POC
7.5 Sep 29

A mass assignment vulnerability exists in danny-avila/librechat, affecting all versions. Rated high severity (CVSS 7.5),

CVE-2025-8849 HIGH POC
7.5 Oct 31

Unbounded `key` and `value` parameters on the LibreChat 0.7.9 memory API (`POST /api/memories` and `PATCH /api/memories/

CVE-2024-11173 MEDIUM POC
6.5 Mar 20

An unhandled exception in the danny-avila/librechat repository, version git 600d217, can cause the server to crash, lead

CVE-2024-10366 MEDIUM POC
6.5 Mar 20

An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy