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

Published Dec 11, 2025
·
Updated

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.

Affected Software

2 affected components
librechat<=0.8.0
librechat librechat<0.8.1

Event History

Dec 11, 2025
CVE Published
via MITRE·10:33 PM
Data Sourced
via MITRE·10:33 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-66451?

CVE-2025-66451 has been rated as a high severity vulnerability due to its potential impact on the confidentiality and integrity of prompt data.

2

How do I fix CVE-2025-66451?

To fix CVE-2025-66451, upgrade LibreChat to version 0.8.1 or later, where the vulnerability has been addressed.

3

What versions of LibreChat are affected by CVE-2025-66451?

CVE-2025-66451 affects LibreChat version 0.8.0 and earlier versions.

4

What types of attacks can exploit CVE-2025-66451?

CVE-2025-66451 can be exploited to manipulate prompt data through insufficient request validation, leading to potential data corruption or unauthorized access.

5

What components of LibreChat are impacted by CVE-2025-66451?

CVE-2025-66451 impacts the PATCH endpoint for prompt groups in the API, specifically affecting how JSON requests are processed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203