{"id":"CVE-2023-39522","aliases":["CVE-2023-39522","GHSA-vmf9-6pcv-xr87","BIT-AUTHENTIK-2023-39522"],"related":[],"kind":"vulnerability","state":"published","title":"Username enumeration attack in goauthentik","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Withdrawn Advisory\nThis advisory has been withdrawn due to an incorrect package mapping error. This link is maintained to preserve external references.\n\n### Original Description\n## Summary\nUsing a recovery flow with an identification stage an attacker is able to determine if a username exists.\n\n## Impact\nOnly 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.\n\n## Details\n\nAn 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.\n\nThe invalid and valid usernames should both show the same message and always send an email. Article for reference here: https://postmarkapp.com/guides/password-reset-email-best-practices#how-to-make-sure-your-password-reset-emails-are-secure\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n-   Email us at [security@goauthentik.io](mailto:security@goauthentik.io)","format":"markdown","source":"ghsa"},{"lang":"es","text":"goauthentik es un proveedor de identidad de código abierto. En versiones afectadas que utilizan un flujo de recuperación con una etapa de identificación, un atacante puede determinar si un nombre de usuario existe. Solo las configuraciones con un flujo de recuperación se ven afectadas por esto. Cualquier persona con una cuenta de usuario en un sistema con el flujo de recuperación descrito anteriormente es susceptible de que se revele la existencia de su nombre de usuario/correo electrónico. Un atacante puede enumerar y verificar fácilmente la existencia de usuarios utilizando el flujo de recuperación, ya que se muestra un mensaje claro cuando un usuario no existe. Dependiendo de la configuración, esto se puede hacer por nombre de usuario, correo electrónico o ambos. Este problema se ha solucionado en las versiones 2023.5.6 y 2023.6.2. Se aconseja a los usuarios que actualicen. No se conocen soluciones alternativas para este problema.","source":"nvd"}],"published":"2023-08-29T17:23:37.092Z","modified":"2026-09-10T03:49:57.774Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-203"],"affected":[{"ranges":[{"version":">= 2023.6.0, < 2023.6.2","status":"affected"},{"version":"< 2023.5.6","status":"affected"}],"vendor":"goauthentik","product":"authentik","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2023.6.0","status":"affected","fixed":"2023.6.2"}],"ecosystem":"npm","package":"@goauthentik/api","purl":"pkg:npm/%40goauthentik/api","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2023.5.6"}],"ecosystem":"npm","package":"@goauthentik/api","purl":"pkg:npm/%40goauthentik/api","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2023.5.6"},{"status":"affected","introduced":"2023.6.0","fixed":"2023.6.2"}],"vendor":"goauthentik","product":"authentik","cpe":"cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2023.5.6"},{"type":"semver","introduced":"2023.6.0","status":"affected","fixed":"2023.6.2"}],"ecosystem":"Bitnami","package":"authentik","purl":"pkg:bitnami/authentik","source":"bitnami"}],"references":[{"url":"https://github.com/goauthentik/authentik/security/advisories/GHSA-vmf9-6pcv-xr87","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/goauthentik/authentik/commit/aa874dd92a770d5f8cd8f265b7cdd31cd73a4599","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39522","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/github/advisory-database/pull/8720#pullrequestreview-4726968365","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/goauthentik/authentik","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-10-01T20:19:47.988Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-39522","url":"https://www.cve.org/CVERecord?id=CVE-2023-39522","licence":"CVE Terms of Use","modified":"2024-10-01T20:19:58.448Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vmf9-6pcv-xr87","url":"https://github.com/advisories/GHSA-vmf9-6pcv-xr87","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:57.774Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-39522","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39522","licence":"Public domain","modified":"2026-06-17T06:12:30.803Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AUTHENTIK-2023-39522","url":"https://osv.dev/vulnerability/BIT-AUTHENTIK-2023-39522","licence":"Apache-2.0","modified":"2026-09-08T08:45:38.308Z"}],"updatedAt":"2026-11-25T22:58:27.415Z","epss":{"score":0.0062,"percentile":0.51034,"date":"2026-12-01T12:00:22.000Z"}}