Case · DiggingBeagle record

LibreChat shared-agent editors could redirect the owner’s action API key

The maintainer describes a credential exfiltration route based on an authorized editor changing an action definition.

Published by DiggingBeagle:

Scope

LibreChat before 0.8.7; a shared agent with editor rights for another user, a stored owner action credential, and subsequent action invocation.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The cited primary source supports the stated mechanism and scoped outcome. Impact band remains unrated because no calibrated victim exposure or severity distribution is established by the cited evidence.

Assessed Nov 22, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Share an agent with action credentials

    An owner grants another user editing access to a LibreChat agent whose OpenAPI action has credentials stored by the owner.

    Boundary: Agent configuration edit privilege versus secret-owner authorization

  2. 02

    Replace the OpenAPI server destination

    The editor changes the action definition or servers URL without separately obtaining the owner's approval for that new destination.

    Boundary: Mutable OpenAPI spec inherits immutable-looking stored credentials

  3. 03

    Trigger an action call

    When the action is used, the owner's saved API credential may be attached to the replacement endpoint. This is a disclosed path, not proof of campaign-scale exfiltration.

    Boundary: Credential transmission to an unauthorized tool server

Claims & evidence

CLM-2026-NOV22-LIBRECHAT-ACTION-SERVER-SWAP-SCOPEThe maintainer describes a credential exfiltration route based on an authorized editor changing an action definition. The user's permission to edit the prompt or action metadata was not an authorization to move the owner's secret to another origin.supported

Basis: reported finding

Link to claim
CLM-2026-NOV22-LIBRECHAT-ACTION-SERVER-SWAP-MECHANISMA collaborator permitted to edit a shared LibreChat agent could modify its OpenAPI action specification, including the server URL, while the agent continued to use the owner's stored API key. When the action was invoked, the runtime could send that credential to a server chosen by the collaborator.supported

Basis: reported finding

Link to claim

Implications

A shared agent is not safe merely because the original owner consented to the initial action. Editing the target service changes the recipient of its credential and should invalidate the prior authorization even where the user prompt and action name remain unchanged.

Controls and mitigations

  • bind action credentials to immutable approved servers and require the secret owner's renewed consent when actions change identity or destination

Unknowns and contradictions

  • A live credential leak requires invocation of the modified action; no verified victim totals or downstream payment effects were published.

Sources and citation

Material revision history

  1. Nov 22, 2026 · Published version · first publication · revision 275