Skip to main content

Librechat EUVDEUVD-2026-16764

| CVE-2026-31943 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-27 GitHub_M
8.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as regular user
  2. Delivery
    Craft request with hex-normalized IPv6 SSRF payload
  3. Exploit
    Bypass isPrivateIP() validation
  4. Execution
    Access internal metadata service
  5. Impact
    Extract cloud credentials and secrets

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 prior to 0.8.3. Requires authenticated user account. Attacker exploits isPrivateIP() function bypass using IPv4-mapped IPv6 addresses in hex-normalized form to access internal resources (AWS metadata services, loopback, RFC1918 ranges) via SSRF.

Impact

The CVSS v3.1 score of 8.5 (High) reflects significant real-world risk driven by network-based attack vector (AV:N), low complexity (AC:L), and changed scope (S:C) with high confidentiality impact (C:H). The PR:L (low privileges required) indicator confirms this requires authenticated access, reducing the attack surface compared to unauthenticated SSRF. The changed scope is particularly concerning as it indicates the vulnerability can affect resources beyond the vulnerable component itself-specifically cloud metadata services that could expose IAM credentials, SSH keys, or API tokens. While no public exploit identified at time of analysis and no CISA KEV listing exists, SSRF vulnerabilities targeting cloud metadata services represent a well-understood attack pattern with numerous documented techniques. The technical simplicity of crafting hex-normalized IPv4-mapped IPv6 addresses makes this readily exploitable once an attacker has valid credentials. The automatable nature (UI:N) combined with potential access to high-value cloud credentials elevates this beyond typical web application SSRF to a critical cloud security concern for any LibreChat deployment in AWS, Azure, or GCP environments.

Exploit ScenarioDerived

An authenticated attacker with low-level privileges logs into a cloud-hosted LibreChat instance and exploits a feature that accepts URLs (such as web scraping, document import, or API integration functionality). Instead of providing a legitimate external URL, the attacker submits a crafted request using a hex-normalized IPv4-mapped IPv6 address representation of 169.254.169.254 (AWS metadata service), such as http://[::ffff:0xA9FE:0xA9FE]/latest/meta-data/iam/security-credentials/. The flawed isPrivateIP() function fails to recognize this as an internal address, allowing the request to proceed. The server retrieves and returns IAM temporary credentials to the attacker, who then uses these credentials to access the organization's AWS resources, escalate privileges, or exfiltrate data from S3 buckets and databases associated with the compromised role.

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 (SSRF) in LibreChat versions prior to 0.8.3 allows authenticated users to bypass IP validation and force the application server to make HTTP requests to internal network resources. The vulnerability stems from improper validation of IPv4-mapped IPv6 addresses in hex-normalized form, enabling access to cloud metadata services (AWS 169.254.169.254), loopback addresses, and RFC1918 private networks. With EPSS data unavailable and no CISA KEV listing, no public exploit identified at time of analysis, though the specific bypass technique (hex-normalized IPv4-mapped IPv6) is well-documented in SSRF research.

RemediationAI

Upgrade immediately to LibreChat version 0.8.3 or later, which includes fixes to the isPrivateIP() validation function in packages/api/src/auth/domain.ts to properly detect hex-normalized IPv4-mapped IPv6 addresses. Organizations should verify the update by testing that requests to internal IP addresses in various encoding formats (standard dotted decimal, hex, octal, IPv4-mapped IPv6) are properly blocked. As a defense-in-depth measure pending upgrade, implement network-level controls such as egress filtering to prevent the LibreChat server from accessing cloud metadata endpoints (169.254.169.254, fd00:ec2::254) and internal RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). Review application logs for suspicious outbound requests to internal IP ranges that may indicate prior exploitation. Consult the GitHub security advisory at https://github.com/danny-avila/LibreChat/security/advisories/GHSA-w5r7-4f94-vp4c for additional vendor-specific guidance and validation steps.

Affected VersionsENISA

LibreChat < 0.8.3

Affected Packages

euvd librechat fix: 0.8.3

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

The vulnerability exists in the isPrivateIP() function within packages/api/src/auth/domain.ts of LibreChat, an open-source ChatGPT alternative. The function implements SSRF protection by validating IP addresses before allowing HTTP requests, but fails to properly detect IPv4-mapped IPv6 addresses when presented in hex-normalized format (e.g., 0xA9FEA9FE representing 169.254.169.254). IPv4-mapped IPv6 addresses use the format ::ffff:a.b.c.d, but can be obfuscated through various encoding schemes. This represents a classic CWE-918 (Server-Side Request Forgery) implementation flaw where input validation fails to account for alternative IP address representations. The affected product (cpe:2.3:a:danny-avila:librechat) is a Node.js-based application that likely uses user-supplied URLs for legitimate features like web scraping or API integrations, which becomes the attack vector when validation is bypassed.

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 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/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
Low
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
CVE Published
Mar 27, 2026 - 19:21 nvd
HIGH 8.5

DescriptionCVE.org

LibreChat is a ChatGPT clone with additional features. Prior to version 0.8.3, isPrivateIP() in packages/api/src/auth/domain.ts fails to detect IPv4-mapped IPv6 addresses in their hex-normalized form, allowing any authenticated user to bypass SSRF protection and make the server issue HTTP requests to internal network resources - including cloud metadata services (e.g., AWS 169.254.169.254), loopback, and RFC1918 ranges. Version 0.8.3 fixes the issue.

Executive ViewAI

Why It Matters

LibreChat versions before 0.8.3 contain a server-side request forgery (SSRF) vulnerability that allows authenticated users to bypass network access controls and force the application to access internal resources, including cloud metadata services and private networks. This could enable unauthorized access to sensitive infrastructure and credentials, creating a critical pathway to lateral movement and data exfiltration for any user with application access.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level controls: (1) restrict application server outbound access via firewall to only required external destinations, blocking internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.169.254); (2) disable or restrict IAM roles/credentials accessible to the application service; (3) monitor outbound HTTP/HTTPS traffic from the application for requests to internal addresses or metadata services.

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

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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