Improper access control in LibreChat - CVE-2025-66451

 

Improper access control in LibreChat - CVE-2025-66451

Published: April 27, 2026


Vulnerability identifier: #VU128110
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-66451
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to modify prompt ownership information and gain unauthorized access to prompts.

The vulnerability exists due to improper access control in the PATCH endpoint for prompt groups (/api/prompts/groups/:groupId) when handling crafted patch requests. A remote user can submit a specially crafted PATCH request with modified author and authorName fields to modify prompt ownership information and gain unauthorized access to prompts.

The issue occurs because the patchPromptGroup function passes req.body directly to updatePromptGroup() without filtering sensitive fields.


Affected software

LibreChat

How to mitigate CVE-2025-66451

Install security update from vendor's website.

LibreChat - update to 0.8.1

External References

Related Security Bulletins