A 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. The maintainer describes a credential exfiltration route…
Inspect the ClaimsCase · 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:
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.
Evidence basis: CLM-2026-NOV22-LIBRECHAT-ACTION-SERVER-SWAP-MECHANISM · CLM-2026-NOV22-LIBRECHAT-ACTION-SERVER-SWAP-SCOPE · LibreChat shared-agent OpenAPI action server swap exposes owner keys
At a glance
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.
Read the implicationsA live credential leak requires invocation of the modified action; no verified victim totals or downstream payment effects were published.
Limits and uncertaintyFull account
A 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.
The 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. The critical boundary is delegated agent configuration editing carrying the original owner's credential privileges into a changed execution destination.
The documented repair is bind action credentials to immutable approved servers and require the secret owner's renewed consent when actions change identity or destination. A live credential leak requires invocation of the modified action; no verified victim totals or downstream payment effects were published.
Mechanism and trust boundary
- 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
- 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
- 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
- supportsLibreChat shared-agent OpenAPI action server swap exposes owner keysprimary disclosure
Primary advisory or study: reproduction, results and limitations
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
- supportsLibreChat shared-agent OpenAPI action server swap exposes owner keysprimary disclosure
Primary advisory or study: technical mechanism and affected component
- supportsLibreChat shared-agent OpenAPI action server swap exposes owner keysprimary disclosure
GHSA-qh43-24gm-5j57: shared-agent editor changes OpenAPI servers URL while retaining owner action secret
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
- Nov 22, 2026 · Published version · first publication · revision 275