CVE Catalog

CVE-2025-66451

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

25th percentile - higher than 25% of all known CVEs

Summary

LibreChat versions 0.8.0 and below insufficiently validate JSON request bodies sent to the PATCH endpoint for prompt groups (/api/prompts/groups/:groupId). The patchPromptGroup function passes req.body directly to updatePromptGroup() without filtering sensitive fields, allowing users to modify prompts in unintended ways.

Risk Assessment

A user can modify prompts in a way not intended by the system, potentially leading to unauthorized changes or security bypass. The vulnerability affects versions 0.8.0 and below.

Recommendation

Update LibreChat to version 0.8.1 or later, which contains the fix. Until then, restrict access to the PATCH endpoint for prompt groups.

Other vulnerabilities in LibreChat

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS