Skip to main content
← All vulnerabilities
CVE-2025-66451

LibreChat's Improper Input Validation in Prompt Creation API Enables Unauthorized Permission Changes

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • danny-avila LibreChat

    fixed in 0.8.1

References 2

GitHub · danny-avila/LibreChat