Skip to content

Releases

v4.21.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 12:03
09bc53d

4.21.0 (2026-12-01)

Bug Fixes

Features

v4.20.8

Choose a tag to compare

@github-actions github-actions released this 01 Dec 09:54
b09dcc6

4.20.8 (2026-12-01)

Bug Fixes

  • api: require user.write to return a password reset code (fed1cd4)
  • login: only start IdP flows that return to a trusted public host (a51161a)
  • saml: stop serving the SAML attribute authority (b09dcc6)
  • restrict project memberships to project roles (a23e238)
  • scope user grant writes to the caller's organization (58bc058)
  • stop a user ID from being used in two organizations (e590967)

Behaviour Changes

This release contains security fixes that tighten existing checks. Check the following if you use the affected features:

  • Password reset with a returned code: RequestPasswordReset with return_code now requires the user.write permission on the user. A user can no longer request a code to be returned with their own token. The Login V2 and custom login UIs that call the API with a login client (IAM_LOGIN_CLIENT) are not affected. If your application sends its own password reset emails, call the API with a service user that has user.write.
  • External identity providers in a self-hosted Login V2: before an external identity provider flow starts, the login now checks that its success and failure URLs point to the public host of the request, and the API checks that host against the instance's domains and trusted domains. If your login runs on a domain that is not an instance domain, add it as a trusted domain of the instance. Make sure a proxy forwards the x-zitadel-public-host header to the API unchanged.
  • SAML attribute queries: ZITADEL no longer answers SAML attribute queries (attribute authority). Such requests are answered with Unimplemented. Single sign-on with SAML is not affected; service providers receive the attributes in the assertion.

v4.20.7

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:39
2957e4f

4.20.7 (2026-11-30)

Bug Fixes

Performance Improvements

v4.20.6

Choose a tag to compare

@github-actions github-actions released this 25 Nov 10:01
602e546

4.20.6 (2026-11-25)

Bug Fixes

Performance Improvements

v4.20.5

Choose a tag to compare

@github-actions github-actions released this 18 Nov 20:46
59827a8

4.20.5 (2026-11-18)

Bug Fixes

  • login: require the configured second factor before adding an authenticator (59827a8)

v4.20.4

Choose a tag to compare

@github-actions github-actions released this 17 Nov 16:08
384bb9e

4.20.4 (2026-11-17)

Bug Fixes

  • login: add a resend countdown to the OTP SMS page and stop duplicate codes (#13009) (8f22f0f)
  • login: support Safari and iOS older than 16.4 again (#13074) (384bb9e), closes #11629
  • login: use GitHub Enterprise Server template in login v1 (#13100) (e627c7c), closes #13086
  • use PKCE by default for Google, GitHub, GitLab and Azure AD IdPs (#13086) (9c1c141)

Performance Improvements

v4.20.3

Choose a tag to compare

@github-actions github-actions released this 13 Nov 14:15
a8b256c

⚠️ Upgrade notes

  • Custom login UIs: completing or failing an OIDC or SAML request (CreateCallback, CreateResponse) now requires the session.link permission, whatever headers are sent. The hosted Login V2 and custom login UIs whose service user has the IAM_LOGIN_CLIENT role are not affected. If yours uses another user, for example an IAM_OWNER personal access token, grant it IAM_LOGIN_CLIENT before upgrading.
  • Local authentication disabled: password checks through the Session API now follow the login policy of the user's organization, like Login V1. Users of an organization that disables username/password login can no longer sign in or change their password with a password. Send them to their identity provider.
  • Public host header: the x-zitadel-public-host header must be a single plain host with an optional port. Other values are now rejected instead of ignored.
  • Notification links: if the host that triggered a notification is not valid, its links use the instance's primary domain. This includes notifications queued before the upgrade.
  • Login V1 authorization codes: codes issued but not yet redeemed before the upgrade are rejected once. Affected users sign in again.
  • Login V2:
    • External IdP sign-ins must be completed in the browser that started them. Sign-ins in progress during the upgrade have to be restarted.
    • Adding OTP email or SMS as a second factor now needs a confirmation click.
    • New texts were added. Custom login texts show the default for them until customized.
    • Custom builds: internal modules moved to src/lib/server/ and src/lib/actions/, and the build fails on Server Actions missing from checks/server-actions.allowlist.json.

Error changes

No existing error IDs, message keys or gRPC codes were changed or removed. The following calls can now return errors where they previously succeeded:

Call Condition Error
CreateCallback, CreateResponse (OIDC/SAML) caller lacks session.link PERMISSION_DENIED
Session API password check organization disables username/password login FAILED_PRECONDITION, Errors.Org.LoginPolicy.UsernamePasswordNotAllowed
Session API password check organization's login policy can't be read FAILED_PRECONDITION, Errors.Org.LoginPolicy.NotFound
Session API password check session has no user organization FAILED_PRECONDITION, Errors.User.UserIDMissing (new, COMMAND-Vz4tb)
/oauth/v2/token (code issued through Login V1) user not authenticated, or a different user than at issuance invalid_grant
any request invalid x-zitadel-public-host header HTTP 400, invalid public host (new, HTTP-Rk7pX)

4.20.3 (2026-11-13)

Bug Fixes

  • login: bind external IdP sign-in to the browser that started it (4fc0ea6)
  • login: never complete OIDC/SAML requests with an invalid session (de24098)
  • login: require confirmation before adding OTP via email or SMS (f96bbb3)
  • login: restrict server actions and derive session data on the server (d3175e6)
  • login: restrict the IdP error page back link to login paths (77a320e)
  • login: retry gRPC calls that fail to connect with unavailable (#13063) (ade3702), closes #13064
  • oidc: bind Login V1 authorization codes to the authenticated user (b977f69)
  • session: enforce the local authentication policy on password checks (b95ebee)
  • validate public host headers before building links (8ce0ac5)

v4.20.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 07:33
dce17d5

4.20.2 (2026-11-09)

Bug Fixes

v4.20.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 08:08
709968c

4.20.1 (2026-11-03)

Bug Fixes

v4.20.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 10:18
8afa5dd

4.20.0 (2026-10-22)

⚠️ Upgrade notes

  • Go 1.26: ZITADEL is now built with Go 1.26.10. Outbound TLS connections (SMTP, external IdPs, Actions and webhook targets, HTTP SMS providers) no longer accept certificate chains through the compromised eMudhra intermediate CAs (#12969); affected endpoints need a new certificate, the check can't be disabled. Go 1.26 also rejects URLs with invalid colons in the host and offers post-quantum hybrid key exchanges in TLS by default. If a configured URL or outbound connection stops working, GODEBUG=urlstrictcolons=0 or GODEBUG=tlssecpmlkem=0 restores the previous behavior.
  • Login V2: the device code check is now signed with ZITADEL_SESSION_COOKIE_SECRET, like the other login proofs. Users in the middle of a device authorization during the upgrade have to enter the user code again.

Bug Fixes

Features

  • login: configurable text if external user can neither be create… (#12724) (fb4bc84), closes #12723

Performance Improvements

  • query: skip empty login-name pattern SubSelect (#12927) (f8ddee1)