CVE-2026-42560go-pkgz auth
Critical 9.1 No auth needed
Follow: this CVE · go-pkgz · go-pkgz auth We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- May 9, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for auth.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-pkgz/auth |
≥ 1.18.0 < 1.25.2 |
1.25.2 |
go get github.com/go-pkgz/auth@v1.25.2 |
| Go | github.com/go-pkgz/auth |
≥ 1.18.0 < 1.25.2 |
1.25.2 |
go get github.com/go-pkgz/auth@v1.25.2 |
| Go | github.com/go-pkgz/auth/v2 |
≥ 2.0.0 < 2.1.2 |
2.1.2 |
go get github.com/go-pkgz/auth/v2@v2.1.2 |
| Go | github.com/go-pkgz/auth/v2 |
≥ 2.0.0 < 2.1.2 |
2.1.2 |
go get github.com/go-pkgz/auth/v2@v2.1.2 |
Per OSV / GitHub Advisories (GHSA-f6qq-3m3h-4g42, GO-2026-5348). Check the version in your lockfile before upgrading.
Affected products
- go-pkgz · auth
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.