CVE-2026-85057 — Vulnerability in github.com/zitadel/zitadel
ZITADEL: Actions V1 sandbox escape: host file read via require()
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.75%). Schedule for your next planned update.
Does your project use an affected github.com/zitadel/zitadel version?
Paste your go.sum to check it for CVE-2026-85057 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.0through4.16.0(including RC versions) - 3.x:
3.0.0through3.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.
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
Credits
Thanks to Dor Konis (@dkonis) and Feras Daragma (@FerasTr) from GE Vernova, and to pyuysig, for finding and reporting this vulnerability.
Advisory Timeline
- First published September 24, 2026 (63 days ago).
- Last revised October 1, 2026 — 7 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/zitadel/zitadel@v1.80.0-v2.20.0.20260717062331-baf6ed501b68
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/zitadel/zitadel Go · Affected: All versions | 1.80.0-v2.20.0.20260717062331-baf6ed501b68 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-fgmf-7rf8-m6vfWEB
- https://github.com/zitadel/zitadel/commit/afe108640cf57a17e8b743fbcdad9ae636eb3eb7WEB
- https://github.com/zitadel/zitadel/commit/baf6ed501b684f47048553d9034e8d3aa824950eWEB
- https://github.com/zitadel/zitadel/commit/e28d6bcc033368c3e9683ee15c195b8460b9305dWEB
- https://github.com/zitadel/zitadelPACKAGE
- https://github.com/zitadel/zitadel/releases/tag/v3.4.13WEB
- https://github.com/zitadel/zitadel/releases/tag/v4.16.1WEB
Frequently Asked Questions
- What is CVE-2026-85057?
- ZITADEL: Actions V1 sandbox escape: host file read via require(). This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2026-85057?
- CVE-2026-85057 affects github.com/zitadel/zitadel. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-85057 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 50.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-67494CRITICAL
ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login
- CVE-2025-27507CRITICAL
IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations
- CVE-2026-29193HIGH
ZITADEL: Login V2 UI Policy Bypass Allows Unauthorized Self-Registration and Authentication
- CVE-2025-48936HIGH
ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection
- CVE-2025-64103HIGH
Zitadel May Bypass Second Authentication Factor
- CVE-2025-64431HIGH
IDOR Vulnerabilities in ZITADEL's Organization API allows Cross-Tenant Data Tempering
- CVE-2024-28855HIGH
Improper HTML sanitization in ZITADEL
- CVE-2024-29891HIGH
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass