CVE-2025-66451
published medium CVSS 4.0 · 5.3LibreChat's Improper Input Validation in Prompt Creation API Enables Unauthorized Permission Changes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| danny-avila | — | LibreChat< 0.8.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| danny-avila | LibreChat | < 0.8.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
2Provider assertions
2GitHub_M · cna
LibreChat's Improper Input Validation in Prompt Creation API Enables Unauthorized Permission Changes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc4f1b3ae4120cd37aaa2721503c3ef7de3a97e46f43fe1ea68d943a7f1c59bf
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record