All vulnerabilities

Servers and applications

CVE-2025-66451

Insufficient json validation on api requests to prompt creation - may expose invalid or the possibility to modify permissions of the prompt

Severity
Medium 5.3
Published
11 Dec 2025
Last changed
7 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.8.1
Exploit chance
0.4% in the next 30 daysHigher than 30% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper input validation (CWE-20)Mass assignment (CWE-915)
Attack
Over the network · No login needed · Needs someone to view a page or file
Attacker can
Read some data · Change some data
CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-vpqq-5qr4-655h
Sources
NVD, Project advisories (GitHub)

Description

Insufficient json validation on api requests to prompt creation. When creating prompts json requests are sent to define and then modify the prompts. This json was not sufficiently checked for valid input. The result was that users are able to modify prompts in a way that was not intended as part of the front end system.

For example, when a prompt is created the system takes the user creating the prompt and inserts their name along with their guid as the owner of the prompt. However by sending these fields as part of a patch request it is possible to change the user name and guid to any random value (or other user name and guid) – the result is that users are no longer able to modify their prompts or may get access to other's prompts.

The following GET API returns a prompts with its ownership information by "authorName" and "author"

From LibreChat-AI/LibreChat's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LibreChatServers and applications · cpe:a:librechat:librechat
  • Every version before 0.8.1
LibreChatServers and applications · github:librechat-ai/librechat
  • Version 0.8.0

About LibreChat

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

From its GitHub repository.
Docker Hub pulls
669,094Docker Hub, 15 Nov 2026
GitHub stars
47,138GitHub, 15 Nov 2026
Forks
9,706GitHub, 15 Nov 2026
License
MITGitHub
First published on GitHub
12 Feb 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-66451
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-66451
  • GitHub Advisory Database https://github.com/advisories/GHSA-vpqq-5qr4-655h
  • github.com https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-vpqq-5qr4-655h