Skip to content

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

MediumCVSS 5.3 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
LibreChat < 0.8.1 0.8.1 Fixed
danny-avila LibreChat = < 0.8.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
danny-avila LibreChat = < 0.8.1 No fix listed
LibreChat < 0.8.1 0.8.1

References