{"id":"CVE-2025-66451","aliases":["CVE-2025-66451"],"related":[],"kind":"vulnerability","state":"published","title":"LibreChat's Improper Input Validation in Prompt Creation API Enables Unauthorized Permission Changes","summary":"LibreChat is a ChatGPT clone with additional features. In versions 0.8.0 and below, when creating prompts, JSON requests are sent to define and modify the prompts via PATCH endpoint for prompt groups (/api/prompts/groups/:groupId). However, the request bodies are not sufficiently validated for proper input, enabling users to modify prompts in a way that was not intended as part of the front end system. The patchPromptGroup function passes req.body directly to updatePromptGroup() without filtering sensitive fields. This issue is fixed in version 0.8.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LibreChat is a ChatGPT clone with additional features. In versions 0.8.0 and below, when creating prompts, JSON requests are sent to define and modify the prompts via PATCH endpoint for prompt groups (/api/prompts/groups/:groupId). However, the request bodies are not sufficiently validated for proper input, enabling users to modify prompts in a way that was not intended as part of the front end system. The patchPromptGroup function passes req.body directly to updatePromptGroup() without filtering sensitive fields. This issue is fixed in version 0.8.1.","source":"cvelist"},{"lang":"es","text":"LibreChat es un clon de ChatGPT con características adicionales. En las versiones 0.8.0 e inferiores, al crear prompts, se envían solicitudes JSON para definir y modificar los prompts a través del endpoint PATCH para grupos de prompts (/api/prompts/groups/:groupId). Sin embargo, los cuerpos de las solicitudes no están suficientemente validados para una entrada adecuada, lo que permite a los usuarios modificar prompts de una manera que no estaba prevista como parte del sistema de frontend. La función patchPromptGroup pasa req.body directamente a updatePromptGroup() sin filtrar campos sensibles. Este problema se corrige en la versión 0.8.1.","source":"nvd"}],"published":"2025-12-11T22:33:24.079Z","modified":"2026-10-07T20:10:01.970Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-915"],"affected":[{"ranges":[{"version":"< 0.8.1","status":"affected"}],"vendor":"danny-avila","product":"LibreChat","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.8.1"}],"vendor":"librechat","product":"librechat","cpe":"cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-vpqq-5qr4-655h","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danny-avila/LibreChat/commit/01413eea3d3c1454d32ca9704fa9640407839737","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-12-12T19:29:15.031Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66451","url":"https://www.cve.org/CVERecord?id=CVE-2025-66451","licence":"CVE Terms of Use","modified":"2025-12-12T19:29:24.539Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66451","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66451","licence":"Public domain","modified":"2026-10-07T20:10:01.970Z"}],"updatedAt":"2026-11-25T22:59:09.274Z","epss":{"score":0.00357,"percentile":0.31506,"date":"2026-12-01T12:00:22.000Z"}}