CVE-2026-31945
Full vulnerability record from the local CVENow database.
Description
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.
Severity
HIGH
CVSS score
7.7
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-03-27 20:16:30.060000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
"id": "CVE-2026-31945",
"sourceIdentifier": "[email protected]",
"published": "2026-03-27T20:16:30.060",
"lastModified": "2026-10-26T21:10:00.170",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "LibreChat es un clon de ChatGPT con características adicionales. Las versiones 0.8.2-rc2 a 0.8.2 son vulnerables a un ataque de falsificación de petición del lado del servidor (SSRF) al usar acciones de agente o MCP. Aunque una vulnerabilidad SSRF anterior (https://github.com/danny-avila/LibreChat/security/advisories/GHSA-rgjq-4q58-m3q8) fue reportada y parcheada, la solución solo introdujo la validación del nombre de host. No verifica si la resolución DNS resulta en una dirección IP privada. Como resultado, un atacante aún puede eludir la protección y obtener acceso a recursos internos, como una API RAG interna o puntos finales de metadatos de instancias en la nube. La versión 0.8.3-rc1 contiene un parche."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "danny-avila",
"product": "LibreChat",
"versions": [
{
"version": ">= 0.8.2-rc2, < 0.8.3-rc1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
"baseScore": 7.7,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.1,
"impactScore": 4.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-03-30T19:00:49.640233Z",
"id": "CVE-2026-31945",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-918"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:librechat:librechat:0.8.2:-:*:*:*:*:*:*",
"matchCriteriaId": "8D828ED6-3F44-4DD1-B29F-62D8977AF33A"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:librechat:librechat:0.8.2:rc2:*:*:*:*:*:*",
"matchCriteriaId": "21865C8B-C628-4275-A552-89F64EF22918"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:librechat:librechat:0.8.2:rc3:*:*:*:*:*:*",
"matchCriteriaId": "47A1B487-1A7B-4E06-8503-56E7D349FAA2"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f92m-jpv7-55p2",
"source": "[email protected]",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
},
{
"url": "https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f92m-jpv7-55p2",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
}
]
}