# CVE-2025-66451: LibreChat's Improper Input Validation in Prompt Creation API Enables Unauthorized Permission Changes

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-11T22:33:24.079Z
- Modified: 2026-10-07T20:10:01.970Z
- Weaknesses: CWE-20, CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: < 0.8.1
- librechat librechat: before 0.8.1

## Every score

- GitHub_M: CVSS:4.0 5.3 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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-vpqq-5qr4-655h> (exploit, vendor-advisory)
- <https://github.com/danny-avila/LibreChat/commit/01413eea3d3c1454d32ca9704fa9640407839737> (patch)

## Sources

- CVE List: [CVE-2025-66451](https://www.cve.org/CVERecord?id=CVE-2025-66451), CVE Terms of Use, modified 2025-12-12
- NVD: [CVE-2025-66451](https://nvd.nist.gov/vuln/detail/CVE-2025-66451), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-66451 · Whole record: https://cve.day/CVE-2025-66451.json · Rebuilt by cve.day 2026-11-25T22:59:09.274Z
