llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/zitadel/zitadel

GHSA-FGMF-7RF8-M6VF

ZITADEL: Actions V1 sandbox escape: host file read via require()

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -1610 d de la divulgación
Exposición56 dDesde la divulgación, 24 sept 2026, 1:19 p. m.
Detección53 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 v1.83.4
Monitoreo
Detectada
28 abr 22
24 sept 26
1 oct 26
17 nov 26
19 nov 26
28 abr 22
19 jun 23
8 ago 24
29 sept 25
19 nov 26
FechaFaseEventoDetalle
Remediación Parche v1.83.4 github.com/zitadel/zitadel · -1610 d desde divulgación
Divulgación Publicada GHSA-FGMF-7RF8-M6VF 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

A vulnerability in ZITADEL Actions V1 allows an organization Action author to read files from the ZITADEL host filesystem through the JavaScript `require()` module loader. On common self-hosted deployments this can be chained to steal bootstrap credentials (including the Login Client PAT) and escalate from a single-tenant organization owner to instance administrator.

Impact

ZITADEL Actions V1 run custom JavaScript inside the ZITADEL server process at OIDC, SAML, and login-flow trigger points. The runtime enables the goja Node-compatible `require()` registry without restricting the source loader, so Action scripts can load host files readable by the ZITADEL process (notably `.js` and `.json`, and in some cases other file contents via error channels).

An attacker with ORG_OWNER on any organization (which includes `org.action.write` and `org.flow.write`) can therefore:

  • Read process-readable host files, including configuration or secrets mounted into the API container (for example service-account material, projected secrets, or config carrying sensitive values).
  • On deployments that follow ZITADEL’s documented bootstrap paths (`ZITADEL_FIRSTINSTANCE_LOGINCLIENTPATPATH`, `ZITADEL_FIRSTINSTANCE_MACHINEKEYPATH`), recover instance-wide credentials such as the IAM_LOGIN_CLIENT PAT or the IAM_OWNER service-account key, enabling escalation to full instance control.

This collapses the expected multi-tenant isolation boundary: a tenant organization administrator is not meant to access host filesystem secrets or instance-wide credentials.

Scope note: This issue affects Actions V1. Host command execution was not identified as part of this vulnerability. Impact depends on what the ZITADEL process can read on disk and on deployment layout — documented Compose and quick-start setups that write bootstrap PATs or machine keys into the API container amplify severity.

Affected Versions

Systems running one of the following versions are affected:

  • 4.x: `4.0.0` through `4.16.0` (including RC versions)
  • 3.x: `3.0.0` through `3.4.12` (including RC versions)
Patches

The vulnerability has been addressed in the latest releases. The patch disables filesystem-backed module loading for Action scripts so that only the intended native `zitadel/*` modules can be required.

  • 4.x: Upgrade to $\ge$ 4.16.1 https://github.com/zitadel/zitadel/releases/tag/v4.16.1
  • 3.x: Upgrade to $\ge$ 3.4.13 https://github.com/zitadel/zitadel/releases/tag/v3.4.13
Workarounds

If an immediate upgrade is not possible:

  • Restrict who can create, update, or attach Actions — do not grant `org.action.write` / `org.flow.write` (or ORG_OWNER) to untrusted administrators in multi-tenant environments.
  • Audit existing Actions for `require()` of filesystem paths.
  • Remove or relocate bootstrap credential files (`login-client.pat`, machine keys) so they are not readable inside the API process filesystem.
  • Limit host filesystem exposure for the ZITADEL process (no unnecessary readable secrets beside the binary).
Questions

If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)

Credits

Thanks to Dor Konis (@dkonis https://github.com/dkonis) and Feras Daragma (@FerasTr https://github.com/FerasTr) from GE Vernova, and to pyuysig https://github.com/pyuysig, for finding and reporting this vulnerability.

Versiones

Rangos afectados

Afectada Corregida Última
github.com/zitadel/zitadel< 1.80.0-v2.20.0.20260717062331-baf6ed501b68
1.80.0-v2.20.0.20260717062331-baf6ed501b68
v1.87.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/zitadel/zitadel
Corregida v1.83.4 -1610 d v1.87.5 no afectada
Versiones corregidas1.80.0-v2.20.0.20260717062331-baf6ed501b68v1.83.4
Explotación

Arsenal público

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

Referencias
Otrahttps://github.com/zitadel/zitadel/security/advisories/GHSA-fgmf-7rf8-m6vf
Otrahttps://github.com/zitadel/zitadel/commit/afe108640cf57a17e8b743fbcdad9ae636eb3eb7
Otrahttps://github.com/zitadel/zitadel/commit/baf6ed501b684f47048553d9034e8d3aa824950e
Otrahttps://github.com/zitadel/zitadel/commit/e28d6bcc033368c3e9683ee15c195b8460b9305d
Otrahttps://github.com/zitadel/zitadel
Otrahttps://github.com/zitadel/zitadel/releases/tag/v3.4.13
Otrahttps://github.com/zitadel/zitadel/releases/tag/v4.16.1

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