All vulnerabilities

Servers and applications

GHSA-98gq-mc9j-349v

Broken access control in assistant-avatar upload lets any authenticated user modify another user's private assistant (IDOR)

Severity
Medium 4.2
Published
17 Nov 2026
Last changed
17 Nov 2026
Added to UpHeron
17 Nov 2026
Fixed in
0.8.9
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Sources
Project advisories (GitHub)

Description

Component: api/server/controllers/assistants/v1.js → uploadAssistantAvatar Route: POST /api/files/images/assistants/:assistant_id/avatar

When endpoints.assistants.privateAssistants: true is configured — the setting whose entire purpose is to isolate each user's assistants — any authenticated user who owns at least one assistant can modify another user's private assistant through the avatar-upload route. The request overwrites the victim's avatar, deletes the victim's previous avatar file, and reassigns the victim's assistant record to the attacker (so it leaves the victim's list and appears in the attacker's).

No chat messages or conversations are exposed: the assistant record stores no message content, and conversations are a separate user-scoped collection that this route never touches.

  • privateAssistants: true on the assistants endpoint. (Without it, assistants are instance-shared by design and there is no boundary to cross.)
  • The attacker is an authenticated, non-admin user…
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.9

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