Skip to content
Heist/ feed
Back to feed
Medium

Username enumeration attack in goauthentik

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-39522
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:44 UTC · Revision 1

Source evidence

Username enumeration attack in goauthentik

core-osv · Original source

Published 29 Aug 2023, 17:23 UTC

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.

osv:CVE-2023-39522
Complete source record
{
  "id": "070e20e7a3a74352e383e33b46f9c685fd2566ec2f7b3ddc82c9e927479a92cc",
  "url": "https://osv.dev/vulnerability/CVE-2023-39522",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2023-39522",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-39522",
      "aliases": [
        "BIT-authentik-2023-39522",
        "CVE-2023-39522",
        "GHSA-vmf9-6pcv-xr87"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/goauthentik/authentik",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3925f5a20840389a47646bdf5e31e9f7c279c81c"
                },
                {
                  "introduced": "7db9ced218ed6584fe4ab9e4f115509fac9bdd52"
                },
                {
                  "fixed": "aba857753bcf785a2023d3ac80f9a6f7f15979fe"
                },
                {
                  "fixed": "aa874dd92a770d5f8cd8f265b7cdd31cd73a4599"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2023.5.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2023.6.0"
                      },
                      {
                        "fixed": "2023.6.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "aa874dd92a770d5f8cd8f265b7cdd31cd73a4599"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "version/2023.6.1",
            "version/2023.5.5",
            "version/2023.6.0",
            "version/2023.5.4",
            "version/2023.5.3",
            "version/2023.5.2",
            "version/2023.5.1",
            "version/2023.2.1",
            "version/2022.12.1",
            "version/2022.12.0",
            "version/2022.10.1",
            "version/2022.9.0",
            "version/2022.8.2",
            "version/2022.8.1",
            "version/2022.7.2",
            "version/2022.6.2",
            "version/2022.5.2",
            "version/2022.5.1",
            "version/2022.4.1",
            "version/2022.3.3",
            "version/2022.2.1",
            "version/2022.1.4",
            "version/2022.1.3",
            "version/2022.1.1",
            "version/2021.12.5",
            "version/2021.12.4",
            "version/2021.12.3",
            "version/2021.12.2",
            "version/2021.12.1",
            "version/2021.12.1-rc5",
            "version/2021.12.1-rc4",
            "version/2021.12.1-rc3",
            "version/2021.12.1-rc2",
            "version/2021.12.1-rc1",
            "version/2021.10.4",
            "version/2021.10.3",
            "version/2021.10.1-rc3",
            "version/2021.9.3",
            "version/2021.9.2",
            "version/2021.9.1",
            "version/2021.9.1-rc3",
            "version/2021.9.1-rc2",
            "version/2021.9.1-rc1",
            "version/2021.8.4",
            "version/2021.8.3",
            "version/2021.8.2",
            "version/2021.8.1",
            "version/2021.8.1-rc2",
            "version/2021.7.1",
            "version/2021.7.1-rc1",
            "version/2021.6.4",
            "version/2021.6.3",
            "version/2021.6.1",
            "version/2021.6.1-rc4",
            "version/2021.6.1-rc3",
            "version/2021.6.1-rc2",
            "version/2021.6.1-rc1",
            "version/2021.5.2",
            "version/2021.5.1",
            "version/2021.5.1-rc10",
            "version/2021.5.1-rc9",
            "version/2021.5.1-rc8",
            "version/2021.4.1",
            "version/2021.4.1-rc2",
            "version/2021.4.1-rc1",
            "version/2021.3.4",
            "version/2021.3.3",
            "version/2021.3.2",
            "version/2021.3.1",
            "version/2021.3.1-rc2",
            "version/2021.3.1-rc1",
            "version/2021.2.3-stable",
            "version/2021.2.2-stable",
            "version/2021.1.3-stable",
            "version/2021.1.2-stable",
            "version/2021.1.1-stable",
            "version/2021.1.1-rc2",
            "version/2021.1.1-rc1",
            "version/0.13.3-stable",
            "version/0.13.2-stable",
            "version/0.13.1-stable",
            "version/0.13.0-stable",
            "version/0.13.0-rc4",
            "version/0.13.0-rc3",
            "version/0.13.0-rc2",
            "version/0.13.0-rc1",
            "version/0.12.11-stable",
            "version/0.12.10-stable",
            "version/0.12.9-stable",
            "version/0.12.8-stable",
            "version/0.12.7-stable",
            "version/0.12.6-stable",
            "version/0.12.5-stable",
            "version/0.12.4-stable",
            "version/0.12.3-stable",
            "version/0.12.2-stable",
            "version/0.12.1-stable",
            "version/0.12.0-stable",
            "version/0.11.0-stable",
            "version/0.10.9-stable",
            "version/0.10.8-stable",
            "version/0.10.7-stable",
            "version/0.10.6-stable",
            "version/0.10.5-stable",
            "version/0.10.4-stable",
            "version/0.10.3-stable",
            "version/0.10.2-stable",
            "version/0.10.1-stable",
            "version/0.10.0-stable",
            "version/0.10.0-rc6",
            "version/0.10.0-rc5",
            "version/0.10.0-rc4",
            "version/0.10.0-rc3",
            "version/0.10.0-rc2",
            "version/0.10.0-rc1",
            "version/0.9.0-stable",
            "version/0.9.0-rc2",
            "version/0.9.0-rc1",
            "version/0.9.0-pre7",
            "version/0.9.0-pre6",
            "version/0.9.0-pre5",
            "version/0.9.0-pre4",
            "version/0.9.0-pre3",
            "version/0.9.0-pre2",
            "version/0.9.0-pre1",
            "version/0.8.15-beta",
            "version/0.8.14-beta",
            "version/0.8.12-beta",
            "version/0.8.11-beta",
            "version/0.8.10-beta",
            "version/0.8.9-beta",
            "version/0.8.8-beta",
            "version/0.8.7-beta",
            "version/0.8.6-beta",
            "version/0.8.5-beta",
            "version/0.8.4-beta",
            "version/0.8.3-beta",
            "version/0.8.2-beta",
            "version/0.8.1-beta",
            "version/0.8.0-beta",
            "version/0.7.17-beta",
            "version/0.7.16-beta",
            "version/0.7.15-beta",
            "version/0.7.14-beta",
            "version/0.7.13-beta",
            "version/0.7.12-beta",
            "version/0.7.11-beta",
            "version/0.7.10-beta",
            "version/0.7.9-beta",
            "version/0.7.8-beta",
            "version/0.7.7-beta",
            "version/0.7.6-beta",
            "version/0.7.5-beta",
            "version/0.7.4-beta",
            "version/0.7.3-beta",
            "version/0.7.2-beta",
            "version/0.7.1-beta",
            "version/0.7.0-beta",
            "version/0.6.3-beta",
            "version/0.6.2-beta",
            "version/0.6.1-beta",
            "version/0.6.0-beta",
            "version/0.5.0-beta",
            "version/0.4.2-beta",
            "version/0.4.1-beta",
            "version/0.4.0-beta",
            "version/0.3.0-beta",
            "version/0.2.8-beta",
            "version/0.2.7-beta",
            "version/0.2.6-beta",
            "version/0.2.5-beta",
            "version/0.2.4-beta",
            "version/0.2.3-beta",
            "version/0.2.2-beta",
            "version/0.2.1-beta",
            "version/0.2.0-beta",
            "version/0.1.38-beta",
            "version/0.1.37-beta",
            "version/0.1.36-beta",
            "version/0.1.35-beta",
            "version/0.1.34-beta",
            "version/0.1.33-beta",
            "version/0.1.32-beta",
            "version/0.1.31-beta",
            "version/0.1.30-beta",
            "version/0.1.29-beta",
            "version/0.1.28-beta",
            "version/0.1.27-beta",
            "version/0.1.26-beta",
            "version/0.1.25-beta",
            "version/0.1.24-beta",
            "version/0.1.23-beta",
            "version/0.1.22-beta",
            "version/0.1.21-beta",
            "version/0.1.20-beta",
            "version/0.1.19-beta",
            "version/0.1.18-beta",
            "version/0.1.17-beta",
            "version/0.1.16-beta",
            "version/0.1.15-beta",
            "version/0.1.14-beta",
            "version/0.1.13-beta",
            "version/0.1.12-beta",
            "version/0.1.11-beta",
            "version/0.1.10-beta",
            "version/0.1.9-beta",
            "version/0.1.8-beta",
            "version/0.1.7-beta",
            "version/0.1.6-beta",
            "version/0.1.5-beta",
            "version/0.1.4-beta",
            "version/0.1.3-beta",
            "version/0.1.2-beta",
            "version/0.1.1-beta",
            "version/0.1.0-beta",
            "version/0.0.13-alpha",
            "version/0.0.12-alpha",
            "version/0.0.11-alpha",
            "version/0.0.10-alpha",
            "version/0.0.9-alpha",
            "version/0.0.8-alpha",
            "version/0.0.7-alpha",
            "version/0.0.6-alpha",
            "version/0.0.5-alpha",
            "version/0.0.4-alpha",
            "version/0.0.3-alpha",
            "version/0.0.2-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39522.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.201955950Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39522.json",
        "https://github.com/goauthentik/authentik/security/advisories/GHSA-vmf9-6pcv-xr87",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-39522",
        "https://github.com/goauthentik/authentik/commit/aa874dd92a770d5f8cd8f265b7cdd31cd73a4599"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-203"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39522.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-39522",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510808,
  "published_at": "2023-08-29T17:23:37.092+00:00"
}