GHSA-38VJ-95Q4-GWVX
OIDC: a user whose sub matches a configured client_id is treated as client_credentials and gets admin API access
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-38VJ-95Q4-GWVX divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Impact
The HTTP API (`APIHandler.ts`) decided whether a bearer JWT came from the OAuth2 `client_credentials` grant by checking whether its `sub` claim equalled one of the configured `client_id`s. `client_credentials` tokens skip the `admin === true` claim check. A non-admin user whose account name (and therefore `sub`) collided with a configured client ID could use an ordinary `authorization_code` token to get full admin access to the HTTP API.
This is a variant of GHSA-qfmh-fph3-mw8q (CVE-2026-55089).
Only instances that use Etherpad's built-in OIDC provider with configured API clients are affected.
### Patches
The provider now signs an `etherpad_grant: "client_credentials"` marker into client_credentials access tokens, and `extraParams` cannot override it. The API trusts that marker instead of comparing `sub` to client IDs. Fixed in 3.3.8.
Upgrade note: client_credentials tokens issued before the upgrade don't carry the marker and get a 401 until they are re-issued. These tokens are short-lived.
### Workarounds
Make sure no user account name equals any configured OIDC `client_id`.
### Credits
Reported by Yves Soete of Blacksight LLC (@yssoe), reference BS-2026-063.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmep_etherpad-lite |
Sin parche | — | — | 1.8.14 afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/ether/etherpad/security/advisories/GHSA-38vj-95q4-gwvxLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
