Description
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.
Problem types
CWE-20: Improper Input Validation
CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
Product status
References
github.com/...reChat/security/advisories/GHSA-vpqq-5qr4-655h
github.com/...ommit/01413eea3d3c1454d32ca9704fa9640407839737
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.