Zitadel security advisories and patch management

Zitadel security advisories and patch management means knowing which releases fix your exposure, which advisories change behavior, and how to stage each upgrade and its setup job before production.

On this page

Zitadel security advisories and patch management starts with knowing what you run

A self-hosted Zitadel that handles workforce or customer sign-in is a tier-one dependency, so its patch process needs an owner before the next release appears. This page covers how to follow the Zitadel release stream and technical advisories, how to stage upgrades and the setup job, and how to plan rollback when a new version changes behavior. The first step is an inventory: record the exact Zitadel version each environment runs, the PostgreSQL version behind it (Zitadel supports versions 14 through 18), the deployment method (Kubernetes with the Helm chart, Docker Compose or binaries), and which teams depend on it for sign-in. Without that record, an advisory cannot be matched to your exposure.

Zitadel publishes its releases on the zitadel/zitadel releases page on GitHub, where each tagged version lists its changes. The latest release in the supplied facts is v4.19.5, released on 15 October 2026. Releases tell you what changed; technical advisories tell you what is wrong and what to do about it, and they can announce breaking behavior changes that affect configuration or login flows. Confirm the current release and advisory list directly on the vendor's pages on the day you plan a change, because a version that is current today may not be current when your change window opens.

Assign three roles before the first patch is needed: someone who owns the release watch and triages each advisory against your deployment, someone who runs upgrades in a staging environment that mirrors production identity data and client configuration, and someone who approves the production change and holds the rollback plan. The rollback plan should state whether the database schema change is reversible and where the pre-upgrade database backup is kept, and it should be tested in staging before the production window. Treat the setup job as part of the release: confirm in staging that it completes cleanly for the target version before any production rollout, and record the result as evidence for your change record.

Patching approaches and when each fits

This table compares three ways to handle Zitadel releases: scheduled minor-version patching, out-of-cycle emergency patches driven by advisories, and pinning to a major version until a planned upgrade. Read each column against your own change process, since the trigger, owner and testing differ sharply between the three. The main takeaway is that a pinned version still needs advisory monitoring, because pinning defers upgrades but does not remove exposure.

ApproachTrigger and ownerTesting expected before rolloutMain risk
Scheduled minor-version patchingRegular review of new releases by the platform team; the change owner approves the windowStaging deployment, login and admin console smoke tests, and a check of the setup job output before productionAccumulated drift if windows slip, and behavior changes in a release read as routine
Out-of-cycle emergency patchA technical advisory or a critical fix in a release; the security lead and on-call engineer decideTargeted regression on login, MFA and token issuance, run on a staging copy as fast as the advisory allowsRushed rollout skips the setup job or config checks, and a fix may carry breaking changes the advisory describes
Pinned to a major version until planned upgradeArchitecture or compliance owner sets the pin; the upgrade project is scheduled and trackedFull upgrade rehearsal on a production-like copy, including data migration and integration tests, before the pin is liftedUnpatched exposure while the pin holds, so advisories must still be watched and mitigations applied
Applies when the release is a patch within the current lineUsually yes for scheduled patching, with advisory review in the same cycleStandard staging passLow, if the release notes and advisories show no breaking change
Applies when a published advisory affects your deployed versionEmergency path is the defaultConfirm the affected versions and fixed release against the advisory before choosing the pathHigh if the path is chosen without reading the advisory's behavior change notes
Setup job and database schemaRun as part of each version change in every approachConfirm the setup job completes on a copy of production data before any live rolloutPartial schema changes if the job is interrupted or skipped
Evidence for assessorsChange records, release tracking and staging results kept per versionKeep dated records of who approved the path and whyMissing records make it hard to show that patching decisions were controlled
Approach to confirm with ZitadelCheck the technical advisory page and the releases page for your current line before you commit to a windowAsk whether a given release changes the setup job or database requirements, and confirm supported PostgreSQL versions for the target releaseAssuming a patch release is risk-free without reading its notes

How to stage a Zitadel upgrade and run the setup job

This sequence moves a Zitadel release from advisory review to production through a tested staging copy, so the setup job's schema and configuration changes are proven against your own data before users are affected.

  1. Back up the PostgreSQL database

    Before anything changes, the team takes a full backup of the Zitadel PostgreSQL database and confirms the server is running a version Zitadel supports, which is PostgreSQL 14 through 18 according to Zitadel's database documentation. The backup should be restorable to a separate server, and the restore should be tested at least once in a non-production environment. The step is done when someone has restored the backup somewhere else and queried it successfully, with the backup location and timestamp recorded in the change ticket. Confirm your own retention and encryption requirements with the backup owner.

  2. Read the advisory and release notes

    The upgrade owner reads Zitadel's technical advisories and the release notes for every version between the current release and the target, looking for behavior changes, required configuration edits, deprecated settings and fixes that affect your deployment. Advisories often describe the risk, the affected versions and the mitigation, so note any workaround that must be applied before or during the upgrade. The output is a short written list of required actions, owners and open questions, signed off by the security lead. Anything unclear goes to Zitadel's support channel before staging begins.

  3. Build a staging copy with the same method

    The platform team builds a staging environment using the same deployment method as production, whether Kubernetes with the official Helm chart, Docker Compose or binaries. The staging instance uses the same configuration, TLS termination, reverse proxy and external domain pattern, and a restored copy of the production database, with secrets and the masterkey handled exactly as in production. Differences between staging and production are documented, because a mismatch here can hide the problems the test was meant to catch. The step is complete when staging serves its login page and the Console on its own hostname.

  4. Run the new version's setup job

    Deploy the target Zitadel version to staging and run its setup job against the restored staging database, following the version's documented steps. The setup job applies database and configuration changes, so capture its full log output and the database state before and after. The step closes when the job exits successfully and the health probes report the new version as ready, with the job log saved as evidence for the change record. If the job fails, stop, restore staging from the backup and investigate before retrying.

  5. Verify login, clients and provisioning flows

    Test the flows that matter to your business on staging: a password login, a passkey or MFA login where enabled, OIDC logins for each registered client, a SAML single sign-on test for each SAML application, and a SCIM create, update and deactivate cycle against a test user. Compare results with the baseline recorded from production. The step is done when every flow passes, and any failure is logged with the affected client or provider, the error and the fix. Admin console review is part of this step, so confirm that instance and organization settings, identity providers and service accounts show the expected values.

  6. Roll production with a rollback path

    Schedule the production change in a window agreed with application owners, and repeat the setup job steps from staging with the same version and configuration. Keep the pre-upgrade database backup available and document the rollback path before starting, including who decides to roll back, how the previous image or chart version is redeployed and how the database is restored if the setup job has changed the schema. Watch health probes, login success rates and error logs during and after the change. The step is complete when production passes the same login, OIDC, SAML and SCIM checks used on staging, and the change record shows the final version, job output and verification results.

Security risks in delayed or rushed Zitadel patching

Delayed or rushed upgrades expose a self-hosted Zitadel in a few predictable ways: the public login path stays unpatched, admin surfaces change under load, the setup job leaves data half-migrated, and clients break without warning. Each risk below maps to a control your team can own before the next release lands.

Unpatched flaws on the login endpoint

The login UI and OIDC endpoints are reachable from the internet, so an authentication flaw fixed in a release stays exploitable until you upgrade. Assign an owner to read each release note and technical advisory against the version you run, and set a target window for applying high-severity fixes. Check that your proxy, WAF and load balancer still route to the patched pods after each rollout, and confirm the running version on every replica, not only the one you tested.

Technical advisories

Admin console exposure during rollout

During a rolling upgrade, instance administrators may reach the Console through paths that were blocked on the previous version or that a new release changes. Keep the Console behind your access rules for the whole window, not only at steady state. Confirm that the administrator organization and service accounts are reachable only from your administration network, and that console access is logged for the duration of the change.

Setup job leaving a half-migrated database

The setup job applies schema and data changes to PostgreSQL before the new version serves traffic. If it fails partway, the database can be in a state the old binaries cannot read and the new ones have not finished. Take a verified database backup immediately before the job, run the job in staging against a copy of production data, and record the exact image tag used. Have a tested restore procedure ready before you start the production run.

Database requirements

Breaking changes in OIDC and SAML clients

Advisories can announce behavior changes that affect token contents, redirect handling, signing or SAML bindings, and a client that worked last quarter may fail after an upgrade. Inventory every application, its flow and its token expectations, and map each to the release notes. Test sign-in, token refresh, logout and SAML assertions for each client in staging, and keep the previous release available as a documented rollback path.

Unclear approval and change evidence

When a patch is applied without a record of who assessed the advisory, who approved the window and what was tested, you cannot show a reviewer that the change was controlled. Keep a change record per release that names the advisory or release reviewed, the staging results, the backup reference, the approver and the rollback decision. Retain these records with your identity platform documentation so an auditor can trace each version in production back to an approved change.

How the upgrade path differs by deployment method

The operator changes the chart version and the image tag in the values file that is kept under version control. Zitadel recommends Kubernetes with the official Helm chart for high availability, so this is the path most production teams will follow. The release notes for both the chart and the Zitadel version need to be read together, because a chart release can carry configuration changes that affect the rollout.

  • Pinned versions: Set the chart version and the image tag explicitly in the same change, and record both in the change ticket.
  • Setup job: Confirm in the current chart documentation whether the setup job runs automatically during an upgrade or must be triggered separately. Verify that it completes successfully before API pods serve the new version.
  • Database version: Check that the PostgreSQL server is within the supported range of versions 14 through 18 before the upgrade starts.
  • Rolling update: Watch readiness probes and confirm that pods from the old and new versions do not handle traffic in a way the advisory warns against.
  • Rollback: Confirm with the advisory whether a schema change makes it impossible to return to the previous image. Take a database backup before the change.

After the rollout, confirm that the console and hosted login load, and that a test client can obtain a token through the OIDC flow it uses in production.

What breaking behavior changes mean for client applications

An advisory can announce a behavior change that reaches past the Zitadel instance into the applications that rely on it. Token contents, token lifetimes, session handling, logout endpoints, redirect URI matching and the claims returned by userinfo or SAML assertions are the areas where a Zitadel release can alter what a relying application receives. The owner of each OIDC or SAML client, not the platform team, must review every advisory against that client's configuration before the instance is upgraded in production. Each advisory should be read in full on the Zitadel technical advisories page, because the summary in a release note often omits the affected versions and the exact fields involved.

Start with a client inventory. For each advisory, list the projects, applications and service accounts in every organization that could be touched, and record the protocol, the grant type, the token types and claims the application reads, and how it validates signatures and sessions. Then mark which clients fall inside the advisory's described change. Clients that validate tokens through a generic library often inherit a change silently, so ask owners to test against the actual token and response, not the documentation. Confirm with Zitadel which configuration and versions the advisory covers, whether a workaround exists for clients that cannot change immediately, and whether the change can be disabled by a setting, and record those answers against the advisory.

Test every affected client in a staging instance that runs the target version and mirrors the production configuration, including its organizations, identity providers and client settings. Confirm that sign-in, token refresh, logout and API calls still succeed, and that the application handles any changed claim or expired session correctly. Then schedule the production change as a coordinated window. Each application owner should sign off on the staged result, and rollback steps should name the client changes, not only the Zitadel version to revert. If a client cannot be ready in time, decide in advance whether the advisory's mitigation is acceptable for that client or whether the upgrade waits.

Limits to confirm before you rely on a patch plan

A patch plan is only as good as the commitments behind it. The items below are the points where Zitadel's published material does not settle the answer for your version, database and support tier, so each one needs a written answer before you schedule upgrades or promise a patch window to your own stakeholders.

Which versions receive fixes

Ask Zitadel which release lines still receive security fixes and for how long after a new minor or major release ships. Do not assume that the newest release is the only one patched, and do not assume an older line stays supported. Confirm whether fixes are backported to earlier lines, and whether a fix for your current version comes as a patch release or requires moving to a newer minor version first. Get the answer in writing and attach it to your change calendar.

Technical advisories

Supported PostgreSQL range per version

Zitadel's database documentation lists the PostgreSQL versions it supports for self-hosting, but the supported range can differ by Zitadel release. Before you upgrade Zitadel, confirm which PostgreSQL major versions the target release supports, and whether your current database version remains valid. Plan any PostgreSQL major upgrade as its own change with a tested backup and restore, so a security patch to Zitadel is not blocked by an unplanned database move.

Database docs

Rollback after the setup job

The setup job migrates the database schema when a new version starts. Ask whether that migration can be reversed, and whether a previous Zitadel binary or image can run against the migrated schema. If rollback is not supported, your only recovery path is a restore from a database backup taken before the job ran. Confirm this for each target version, and record the backup point and its restore time in the change plan before you start.

Helm chart and binary compatibility

Confirm which Helm chart version pairs with which Zitadel image version, and whether the chart's values keys changed between releases. Ask whether a configuration that works with the binary or Docker Compose deployment carries over unchanged to the chart. Mismatches between chart and application versions are a common cause of failed rollouts, so pin both in your deployment code and test the pair in staging before production.

Self-hosting overview

Whether Enterprise changes support response

The Enterprise plan includes custom support agreements and technical account management. Ask in writing whether those terms change advisory notification, response times for security issues, and access to engineers during an incident, and whether they apply to self-hosted deployments. Do not assume the standard support tier covers your window of exposure. Compare the written terms against the time you need to test and roll out a fix in your environment.

Zitadel pricing

Questions teams ask before patching Zitadel

How much does patching Zitadel cost?

No public price exists for a patching engagement, so the cost depends on the written scope. The main cost is the labor to read each release and advisory, test the upgrade in a staging copy of your environment, run the setup job, and roll the change to production with a rollback plan. Recurring cost comes from the number of releases you track per year and the number of environments you maintain. Request a quote that lists the release range covered, the environments in scope, whether a staging rebuild is included, and what happens when a critical advisory lands mid-cycle. Zitadel's own pricing page covers subscription plans, which are separate from implementation work.

How long does a Zitadel upgrade take?

Duration is set by the distance between your current version and the target, any breaking changes listed in advisories, the size of your database, and how many environments must be validated before production. Minor patch releases usually move faster than major releases with schema or behavior changes. Plan the time around staging validation and the setup job, not only the rollout itself. Ask your partner for a timeline built from your environment inventory, and check the Zitadel release notes for the target version before estimating. The latest release supplied for this page is v4.19.5, released on 15 October 2026, so confirm which version you need to reach.

Can our internal team patch Zitadel without a partner?

Yes, many teams patch Zitadel in-house, provided they have Kubernetes or Docker Compose operations skills, PostgreSQL administration experience, and a staging environment that mirrors production. The work becomes harder when the team must also track advisories, test identity flows such as login, MFA and SAML, and document each change for auditors. Check whether your team can run the setup job against a restored copy of the production database, roll back cleanly, and verify OIDC and SAML clients afterward. A partner is most useful when capacity is thin or when a fixed schedule must be met.

What does the patching work need from our team?

The work needs access to every environment in scope, a staging copy of the database, credentials for the cluster or host running Zitadel, and a named approver for change tickets. Your change process may require a written rollback plan, a maintenance window, and evidence of testing before production. Gather these before work starts: the current Zitadel version in each environment, the PostgreSQL version (Zitadel supports versions 14 through 18), your deployment method, backup status, and the owner of each downstream application. Agree on who approves a production change and how quickly they can respond during an advisory.

What should we do when an emergency security advisory is published?

Start by reading the advisory on the Zitadel technical advisories page to confirm which versions are affected, whether a workaround exists, and whether any configuration change is required before upgrading. Then check your running version against the affected range, identify exposed internet-facing endpoints, and decide whether to apply a workaround, upgrade, or both. Keep a record of each decision and its time. Stage the fix in a copy of production first when time allows, but do not skip the advisory's required steps. Having an agreed emergency change path before the advisory arrives shortens this cycle considerably.

Does Zitadel Enterprise support include patching help?

The Zitadel pricing page describes its Enterprise plan as offering custom support agreements and technical account management. Confirm with Zitadel exactly which upgrade assistance, response commitments and advisory notifications are included in your agreement, because those terms are set in the contract rather than the public page. Patching work performed by DeployOpen is separate and is defined in its own written scope, covering environment testing, the setup job, rollout and evidence. Ask both parties to state who handles which step so responsibilities do not overlap during an incident.

Does the AGPL license change affect how we apply patches?

Zitadel moved its core, Console and hosted login to the GNU Affero General Public License 3.0 with v3.0 on 31 March 2025, while APIs, SDKs, Helm charts and Terraform configurations remain under Apache 2.0. Patching itself does not change license terms, but if you modify the core or Console and offer them to users over a network, the AGPL's source obligations may apply. Ask your legal team to review your modifications before each upgrade that touches custom code. Keep your patched build records so you can show which source version runs in production.

How a DeployOpen patch engagement is scoped

DeployOpen plans and delivers Zitadel patch work as a fixed-scope engagement with scope, deliverables and timing agreed in writing before work starts. For patching, the written scope should name the Zitadel versions in play, the target release, the environments covered (for example, a staging copy and production), and who approves each step. Ongoing upgrades, advisory monitoring and continuous testing can run as a retainer when a single release cycle is not enough. Ask for the scope to state which of these two models applies, because the cost and the accountability for missed advisories differ between them.

The written scope for patching covers four stages. Advisory triage means reviewing each published technical advisory against your deployed version and configuration, recording which items apply, and noting any breaking behavior changes the advisory announces. Staging means rebuilding a copy of your deployment, including the PostgreSQL database (supported versions 14 through 18), the Helm chart or Compose files, and your reverse proxy, then applying the target release there first. Setup job runs mean executing the setup job against the staged database and recording its output, since the job can change schema and instance state. Verification covers login, token issuance, SCIM provisioning and admin console access, followed by written rollback notes that say which backup to restore and in what order if production fails.

Quotes follow from the written scope. DeployOpen does not publish a price list, so the quote depends on how many environments, releases and advisories the scope covers, how much custom configuration must be retested, and whether a retainer is included. Ask each vendor for the same breakdown: triage, staging, setup job runs, verification, rollback documentation, and any follow-up after go-live. Confirm with your own team which release line you intend to track, because the release history is published on GitHub and the latest supplied release, v4.19.5, was released on 15 October 2026. Confirm which breaking changes apply to your version before the scope is fixed.

How DeployOpen delivers Zitadel patch management

DeployOpen plans, implements and supports self-hosted Zitadel inside your own infrastructure, so advisory tracking, staging, the setup job and rollout are handled against your environment. Each engagement is fixed-scope, with the upgrade path and deliverables agreed in writing before work starts.

How we scope

  • Inventory your current Zitadel version, deployment method and PostgreSQL version against the supported range.
  • Agree which release channels, advisory sources and owners your team will monitor and who approves each upgrade.
  • Define in writing the staging environments, rollback expectations and maintenance windows that the work will cover.

How we build

  • Build a staging copy of your production instance, including the database, so each target release is tested first.
  • Run the setup job against staging and review its changes before any production rollout begins.
  • Test sign-in, MFA, SAML and OIDC flows, and admin console access after each upgrade on the staging copy.

How we hand over

  • Document the advisory monitoring routine, approval steps, upgrade runbook and rollback procedure for your team.
  • Record the behavior changes announced in each advisory and the checks that confirm your configuration still works.
  • Walk your operators through the staging and production rollout so the next upgrade can run without us.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial engagement.
  • Keep the upgrade plan current as new Zitadel releases and advisories are published for your deployment.
  • Confirm with your team which support tier and response expectations fit your change control process.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.