Input Validation Flaw in LibreChat's PATCH API Endpoint
CVE-2025-66451
What is CVE-2025-66451?
LibreChat, a variant of ChatGPT with enhanced functionalities, presents a critical input validation issue in versions up to 0.8.0. This security flaw allows users to craft JSON requests that improperly modify prompt definitions through the PATCH endpoint intended for prompt groups. Specifically, the patchPromptGroup function does not sufficiently filter sensitive fields before passing req.body to the updatePromptGroup function. This oversight can potentially lead to unintended modifications, affecting the application's expected behavior and integrity. Users are advised to upgrade to version 0.8.1 or later, which addresses this vulnerability.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
LibreChat < 0.8.1
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
