CVE-2026-42560go-pkgz auth Improper Authentication
NVDCVSS scored by security-advisories@github.com
Vulnerability 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.
CVSS v3.1 Base Metrics — Score 9.1 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- go-pkgz auth >= 1.18.0, < 1.25.2
- go-pkgz auth >= 2.0.0, < 2.1.2
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run go-pkgz auth and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- May 9, 2026Published
- Jul 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new go-pkgz auth CVEsYou are reading CVE-2026-42560. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698
- Referencehttps://github.com/go-pkgz/auth/releases/tag/v1.25.2
- Referencehttps://github.com/go-pkgz/auth/releases/tag/v2.1.2
- Vendor Advisoryhttps://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42
- Vendor Advisoryhttps://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42
Data last checked: Nov 27, 2026 08:11 UTC