---
id: CVE-2025-66451
title: LibreChat is a ChatGPT clone with additional features
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).
  Howev…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-20
  - CWE-915
vendor: librechat
product: librechat
affected:
  - librechat < 0.8.1
patched:
  - librechat 0.8.1
published: '2025-12-11'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:10:01.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-66451'
references:
  - url: >-
      https://github.com/danny-avila/LibreChat/commit/01413eea3d3c1454d32ca9704fa9640407839737
    label: security-advisories@github.com
  - url: >-
      https://github.com/danny-avila/LibreChat/security/advisories/GHSA-vpqq-5qr4-655h
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00333
epssPercentile: 0.24546
ingestedAt: '2026-10-07T20:46:46.868Z'
---

## Overview

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

- `librechat < 0.8.1`

## Remediation

Upgrade past the affected range:

- `librechat 0.8.1`
