All vulnerabilities

Servers and applications

GHSA-g956-9687-5cpg

Unauthenticated X-Tenant-Id Header Trusted on Pre-Auth Routes (tenant-boundary bypass / admin-bootstrap race)

Severity
High
Published
17 Nov 2026
Last changed
17 Nov 2026
Added to UpHeron
17 Nov 2026
Fixed in
0.8.8
Sources
Project advisories (GitHub)

Description

CONFIRMED

  • Vulnerability: Authentication Bypass by Spoofing / Reliance on Untrusted Input for a Security Decision
  • CWE: CWE-290 (Authentication Bypass by Spoofing Header) / CWE-807 (Reliance on Untrusted Inputs in a Security Decision)
  • Severity: High
  • CVSS (estimate): 7.5 — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • File: packages/api/src/middleware/preAuthTenant.ts (the trust decision) + api/server/index.js:265-268 (mount point)
  • Consumers: packages/data-schemas/src/models/plugins/tenantIsolation.ts (pre('save'), pre('countDocuments') hooks), api/server/services/AuthService.js:349-390 (registerUser)
  • Routes affected: POST /api/auth/register, POST /api/auth/login, POST /api/auth/requestPasswordReset, /oauth/*, GET /api/config, GET /api/share/:shareId

The application treats an ordinary, unauthenticated, client-supplied HTTP header as authoritative for a security-boundary decision (which tenant's data/user-table a request operates against) with zero cryptographic binding…

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

Affected software

SoftwareAffected versions
LibreChatServers and applications · github:librechat-ai/librechat
  • Every version before 0.8.8

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