CVE-2023-39522
Username enumeration attack in goauthentik
Reported by github_m · Published August 29, 2023
@goauthentik/api is fixed in 2023.6.2 and 2023.5.6 (npm)
goauthentik is an open-source Identity Provider. In affected versions using a recovery flow with an identification stage an attacker is able to determine if a username exists. Only setups configured with a recovery flow are impacted by this. Anyone with a user account on a system with the recovery flow described above is susceptible to having their username/email revealed as existing. An attacker can easily enumerate and check users' existence using the recovery flow, as a clear message is shown when a user doesn't exist. Depending on configuration this can either be done by username, email, or both. This issue has been addressed in versions 2023.5.6 and 2023.6.2. Users are advised to upgrade. There are no known workarounds for this issue.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| @goauthentik/api | npm | 2023.6.2, 2023.5.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| goauthentik | authentik | >= 2023.6.0, < 2023.6.2, < 2023.5.6 |
| chainguard | authentik-2026.5 | * |
| goauthentik | authentik | 2023.6.0, 0 |
| chainguard | authentik-fips-2026.5 | * |
| goauthentik | api | 0, 2023.6.0 |
Timeline
- Aug 29, 2023 CVE Published
- Aug 30, 2023 EPSS Score (30 in total, the first dated here)
- Feb 8, 2026 Security Advisory
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-39522
vulnetix vdb fixes CVE-2023-39522
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-39522/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/goauthentik/authentik/security/advisories/GHSA-vmf9-6pcv-xr87 x_refsource_CONFIRM
- https://github.com/goauthentik/authentik/commit/aa874dd92a770d5f8cd8f265b7cdd31cd73a4599 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-39522 advisory
- https://github.com/advisories/GHSA-vmf9-6pcv-xr87 advisory