ZITADEL
ZITADEL: Actions V1 sandbox escape: host file read via require()
ZITADEL is an open source identity management platform. From 3.0.0 until 3.4.13 and 4.16.1, ZITADEL Actions V1 enables the goja Node-compatible require() registry without restricting its filesystem source loader. An organization Action author with ORG_OWNER, org.action.write, and org.flow.write permissions can run JavaScript at OIDC, SAML, and login-flow trigger points and load files readable by the ZITADEL server process. This can disclose mounted configuration and secrets, including credentials stored through ZITADEL_FIRSTINSTANCE_LOGINCLIENTPATPATH or ZITADEL_FIRSTINSTANCE_MACHINEKEYPATH, and recovered bootstrap credentials can enable escalation from an organization administrator to an instance administrator. The issue affects Actions V1, and host command execution is not established. This issue is fixed in versions 3.4.13 and 4.16.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 3.4.13
- >= 4.0.0, < 4.16.1
Fixed in 3.4.13, 4.16.1
Mitigation
Upgrade zitadel to 3.4.13 or 4.16.1 or later.
References
- Vendor advisory github.com/zitadel/zitadel/security/advisories…
- Patch github.com/zitadel/zitadel/commit/afe108640cf5…
- Patch github.com/zitadel/zitadel/commit/baf6ed501b68…
3 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.