CVE 5.3 MEDIUM

LibreChat’s Improper Input Validation in Prompt Creation API Enables Unauthorized Permission Changes_CVE-2025-66451

5.3 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2025-66451
Source GitHub_M
Published Dec 11, 2025 at 22:33

Affected Product

Vendor danny-avila
Product LibreChat
Version < 0.8.1
Affected Versions danny-avila LibreChat < 0.8.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.