# CVE-2022-2321: Improper Restriction of Excessive Authentication Attempts in heroiclabs/nakama

- Severity: High 7.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.61%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-07-05T18:25:11.000Z
- Modified: 2026-06-17T04:41:41.580Z
- Also known as: GHSA-8r94-4h3c-939f
- Weaknesses: CWE-307
- Assigned by: @huntrdev

## Description

Improper Restriction of Excessive Authentication Attempts in GitHub repository heroiclabs/nakama prior to 3.13.0. This results in login brute-force attacks.

(As written by CVE List.)

## Affected

- heroiclabs heroiclabs/nakama: from unspecified before 3.13.0
- github.com/heroiclabs/nakama/v3 (Go): up to 3.12.0
- heroiclabs nakama: before 3.13.0

## Every score

- @huntrdev: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/3055b3f5-6b80-4d47-8e00-3500dfb458bc> (exploit, patch, third-party-advisory, web)
- <https://github.com/heroiclabs/nakama/commit/e2e02fce80ff33ce45f8a6ebc0b7a99ee0b03824> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2321> (advisory)
- <https://github.com/heroiclabs/nakama/pull/878> (web)
- <https://github.com/heroiclabs/nakama> (package)

## Sources

- CVE List: [CVE-2022-2321](https://www.cve.org/CVERecord?id=CVE-2022-2321), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-8r94-4h3c-939f](https://github.com/advisories/GHSA-8r94-4h3c-939f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-2321](https://nvd.nist.gov/vuln/detail/CVE-2022-2321), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2321 · Whole record: https://cve.day/CVE-2022-2321.json · Rebuilt by cve.day 2026-11-25T22:58:12.717Z
