CVE-2026-42560: go-pkgz auth · Improper Authentication
Affects go-pkgz authSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical : upgrade to 2.1.2 or 1.25.2 as a priority.
Data as of 5 Nov 2026, 23:24 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.1.2, 1.25.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade auth and github.com/go-pkgz/auth to 2.1.2 or 1.25.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| go-pkgzauth | Affected
| Fixed in
|
| go-pkgzauth | Affected
| Fixed in
|
Gogithub.com/go-pkgz/authpkg:golang/github.com/go-pkgz/authOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade go-pkgz auth to version 1.25.2 or later, or 2.1.2 or later, where the Patreon OAuth provider correctly derives unique user IDs. No other mitigation is indicated. Patch status is confirmed by the vendor advisory stating these versions fix the issue.
Description
auth provides authentication via oauth2, direct and email. From versions 1.18.0 to before 1.25.2 and 2.0.0 to before 2.1.2, the Patreon OAuth provider maps every authenticated Patreon account to the same local user.ID, instead of deriving a unique ID from the Patreon account returned by Patreon. In practice, this means all Patreon-authenticated users of an application using this library are collapsed into a single local identity. Any application that trusts token.User.ID as the stable account key can end up mixing or fully merging unrelated Patreon users, which can lead to cross-account access, privilege confusion, and subscription-state leakage. This issue has been patched in versions 1.25.2 and 2.1.2.
References
- github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42 (opens in a new tab)
- github.com/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698 (opens in a new tab)
- github.com/go-pkgz/auth/releases/tag/v1.25.2 (opens in a new tab)
- github.com/go-pkgz/auth/releases/tag/v2.1.2 (opens in a new tab)