{"id":"CVE-2026-22252","summary":"LibreChat MCP Stdio Remote Command Execution","details":"LibreChat is a ChatGPT clone with additional features. Prior to v0.8.2-rc2, LibreChat's MCP stdio transport accepts arbitrary commands without validation, allowing any authenticated user to execute shell commands as root inside the container through a single API request. This vulnerability is fixed in v0.8.2-rc2.","aliases":["GHSA-cxhj-j78r-p88f"],"modified":"2026-08-12T03:51:27.428232166Z","published":"2026-01-12T18:01:48.399Z","related":["CGA-rjcj-hh2j-544g"],"database_specific":{"cwe_ids":["CWE-285"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22252.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22252.json"},{"type":"ADVISORY","url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-cxhj-j78r-p88f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22252"},{"type":"FIX","url":"https://github.com/danny-avila/LibreChat/commit/211b39f3113d4e6ecab84be0a83f4e9c9dea127f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/danny-avila/librechat","events":[{"introduced":"da108155663f8aaab4e9d83e8a45aba273f0f7aa"},{"fixed":"211b39f3113d4e6ecab84be0a83f4e9c9dea127f"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:librechat:librechat:0.8.2:rc1:*:*:*:*:*:*","extracted_events":[{"introduced":"0.8.2-rc1"},{"last_affected":"0.8.2-rc1"}]}}],"versions":["0.8.2-rc1","v0.8.2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22252.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}