SecurityContext

CVE-2025-66451: LibreChat - Broken Access Control

  • Cve: CVE-2025-66451
  • Name: LibreChat - Broken Access Control
  • 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.
  • Impact: Authenticated users can modify prompt groups beyond intended restrictions, potentially leading to unauthorized data manipulation.
  • Remediation: Update to version 0.8.1 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00357
  • Epss percentile: 0.30082
  • Assignee: [email protected]
  • Published at: 2025-12-11T23:15:50Z
  • Age in days: 348
  • Modified at: 2026-10-07T20:10:01Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66451
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://github.com/danny-avila/LibreChat/security/advisories/GHSA-vpqq-5qr4-655hnvd2025-12-11

References

UrlSourceTags
https://github.com/danny-avila/LibreChat/commit/01413eea3d3c1454d32ca9704fa9640407839737nvdPatch
https://github.com/danny-avila/LibreChat/security/advisories/GHSA-vpqq-5qr4-655hnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
librechat:librechat< 0.8.1nonvd/v1/products/librechat/librechat

Projects

RepositoryLink kindsIndexedUrl
danny-avila/librechatcommit, security_advisoryyes/v1/repositories/danny-avila/librechat

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-12-11
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 3609
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports