PT-2025-50772 · Librechat · Librechat
Published
2025-12-11
·
Updated
2025-12-15
·
CVE-2025-66451
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
LibreChat versions 0.8.0 and below
Description
LibreChat, a ChatGPT clone, has an issue where input validation is insufficient when creating prompts. JSON requests sent to the
/api/prompts/groups/:groupId endpoint via the PATCH method are not properly validated. This allows users to modify prompts in unintended ways due to the patchPromptGroup function passing the request body (req.body) directly to the updatePromptGroup function without filtering sensitive fields.Recommendations
LibreChat versions prior to 0.8.1 should be updated to version 0.8.1 or later.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Librechat