llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · directus

GHSA-8M32-P958-JG99

Directus: Missing Cross-Origin Opener Policy

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -11 d de la divulgación
Exposición230 dDesde la divulgación, 4 abr 2026, 1:06 a. m.
Detección226 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 11.17.0
Monitoreo
Detectada
24 mar 26
4 abr 26
7 abr 26
17 nov 26
20 nov 26
24 mar 26
23 may 26
22 jul 26
21 sept 26
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 11.17.0 directus · -11 d desde divulgación
Divulgación Publicada GHSA-8M32-P958-JG99 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

Directus's Single Sign-On (SSO) login pages lacked a `Cross-Origin-Opener-Policy` (COOP) HTTP response header. Without this header, a malicious cross-origin window that opens the Directus login page retains the ability to access and manipulate the `window` object of that page. An attacker can exploit this to intercept and redirect the OAuth authorization flow to an attacker-controlled OAuth client, causing the victim to unknowingly grant access to their authentication provider account (e.g. Google, Discord).

Impact

A successful attack allows the attacker to obtain an OAuth access token for the victim's third-party identity provider account. Depending on the scopes authorized, this can lead to:
- Unauthorized access to the victim's linked identity provider account
- Account takeover of the Directus instance if the attacker can authenticate using the stolen credentials or provider session

Patches

This issue has been addressed by adding the `Cross-Origin-Opener-Policy: same-origin` HTTP response header to SSO-related endpoints. This header instructs the browser to place the page in its own browsing context group, severing any reference the opener window may hold.

Workarounds

Users who are unable to upgrade immediately can mitigate this vulnerability by configuring their reverse proxy or web server to add the following HTTP response header to all Directus responses: `Cross-Origin-Opener-Policy: same-origin`

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida Última
directus< 11.17.0
11.17.0
12.6.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmdirectus
Corregida 11.17.0 -11 d 12.6.1 no afectada
Versiones corregidas11.17.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-35408
Otrahttps://github.com/directus/directus/security/advisories/GHSA-8m32-p958-jg99
Otrahttps://github.com/directus/directus

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.