---
id: CVE-2023-47111
aliases:
  - GHSA-7h8m-vrxx-vr4m
title: ZITADEL race condition in lockout policy execution
summary: ZITADEL race condition in lockout policy execution
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
vendor: zitadel
product: github.com/zitadel/zitadel
ecosystem: go
affected:
  - 'github.com/zitadel/zitadel >= 2.39.0, < 2.40.5'
  - github.com/zitadel/zitadel < 2.38.3
patched:
  - github.com/zitadel/zitadel 2.40.5
  - github.com/zitadel/zitadel 2.38.3
published: '2023-11-08'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:58.782363243Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7h8m-vrxx-vr4m'
references:
  - url: 'https://github.com/zitadel/zitadel/security/advisories/GHSA-7h8m-vrxx-vr4m'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-47111'
  - url: >-
      https://github.com/zitadel/zitadel/commit/22e2d5599918864877e054ebe82fb834a5aa1077
  - url: 'https://github.com/zitadel/zitadel'
  - url: 'https://github.com/zitadel/zitadel/releases/tag/v2.38.3'
  - url: 'https://github.com/zitadel/zitadel/releases/tag/v2.40.5'
tags:
  - osv
  - go
epss: 0.00516
epssPercentile: 0.41464
ingestedAt: '2026-09-12T03:13:01.764Z'
---

## Overview

### Impact

ZITADEL provides administrators the possibility to define a `Lockout Policy` with a maximum amount of failed password check attempts. On every failed password check, the amount of failed checks is compared against the configured maximum.
Exceeding the limit, will lock the user and prevent further authentication.

In the affected implementation it was possible for an attacker to start multiple parallel password checks, giving him the possibility to try out more combinations than configured in the `Lockout Policy`.

### Patches

2.x versions are fixed on >= [2.40.5](https://github.com/zitadel/zitadel/releases/tag/v2.40.5)
2.38.x versions are fixed on >= [2.38.3](https://github.com/zitadel/zitadel/releases/tag/v2.38.3)

### Workarounds

There is no workaround since a patch is already available.

### References

None

### Questions

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


## Affected packages

- `github.com/zitadel/zitadel >= 2.39.0, < 2.40.5`
- `github.com/zitadel/zitadel < 2.38.3`

## Remediation

Upgrade to a patched release:

- `github.com/zitadel/zitadel 2.40.5`
- `github.com/zitadel/zitadel 2.38.3`
