CVE-2026-42560 json
auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation
published 2026-04-30 6 mo ago modified 2026-07-24 3 mo ago also GHSA-f6qq-3m3h-4g42 , GO-2026-5348 , EUVD-2026-28904
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/go-pkgz/auth 1.25.2
- go github.com/go-pkgz/auth/v2 2.1.2
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/go-pkgz/auth | >=1.18.0, <1.25.2 |
1.25.2 |
| go | github.com/go-pkgz/auth/v2 | >=2.0.0, <2.1.2 |
2.1.2 |
Affected products
- go-pkgz auth
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698
web, patch
-
github.com
/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42
exploit, web, advisory
-
github.com
/go-pkgz/auth/releases/tag/v1.25.2
web
-
github.com
/go-pkgz/auth/releases/tag/v2.1.2
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-42560
advisory
-
github.com
/go-pkgz/auth
package
Sources
- CVE List CVE-2026-42560
- GitHub Advisory GHSA-f6qq-3m3h-4g42
- NVD CVE-2026-42560
- OSV GO-2026-5348
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.