Improper input validation in Danny-Avila Librechat
CVE-2025-66451
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 class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.003 (20.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Danny-avila Librechat — versions < 0.8.1
- Librechat
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-66451?
- CVE-2025-66451 is a medium-severity vulnerability in Danny-Avila Librechat, classified under Improper Input Validation. CVSS score: 6.5/10. Published 2025-12-11.
- How severe is CVE-2025-66451?
- Medium severity. CVSS v3 base score is 6.5 out of 10.