CVE-2026-42560: CWE-287: Improper Authentication in go-pkgz auth
A critical authentication vulnerability exists in the go-pkgz auth library versions 1. 18. 0 to before 1. 25. 2 and 2. 0. 0 to before 2. 1. 2. The Patreon OAuth provider incorrectly maps all authenticated Patreon users to the same local user ID, causing unrelated users to be merged into a single identity.
AI Analysis
Technical Summary
The go-pkgz auth library's Patreon OAuth integration suffers from improper authentication (CWE-287) where it assigns the same local user ID to every Patreon-authenticated user instead of deriving a unique ID from the Patreon account. This flaw affects versions >=1.18.0 and <1.25.2, and >=2.0.0 and <2.1.2. Applications relying on token.User.ID as a stable account key may inadvertently merge distinct Patreon users, leading to unauthorized access and data leakage. The vulnerability has a CVSS 3.1 score of 9.1 (critical) and was patched in versions 1.25.2 and 2.1.2.
Potential Impact
Exploiting this vulnerability allows an attacker authenticated via Patreon OAuth to be treated as the same user as all other Patreon-authenticated users, causing cross-account access and potential leakage of sensitive subscription information. This compromises confidentiality and integrity of user accounts but does not affect availability.
Mitigation Recommendations
Upgrade the go-pkgz auth library 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.
CVE-2026-42560: CWE-287: Improper Authentication in go-pkgz auth
Description
A critical authentication vulnerability exists in the go-pkgz auth library versions 1. 18. 0 to before 1. 25. 2 and 2. 0. 0 to before 2. 1. 2. The Patreon OAuth provider incorrectly maps all authenticated Patreon users to the same local user ID, causing unrelated users to be merged into a single identity.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The go-pkgz auth library's Patreon OAuth integration suffers from improper authentication (CWE-287) where it assigns the same local user ID to every Patreon-authenticated user instead of deriving a unique ID from the Patreon account. This flaw affects versions >=1.18.0 and <1.25.2, and >=2.0.0 and <2.1.2. Applications relying on token.User.ID as a stable account key may inadvertently merge distinct Patreon users, leading to unauthorized access and data leakage. The vulnerability has a CVSS 3.1 score of 9.1 (critical) and was patched in versions 1.25.2 and 2.1.2.
Potential Impact
Exploiting this vulnerability allows an attacker authenticated via Patreon OAuth to be treated as the same user as all other Patreon-authenticated users, causing cross-account access and potential leakage of sensitive subscription information. This compromises confidentiality and integrity of user accounts but does not affect availability.
Mitigation Recommendations
Upgrade the go-pkgz auth library 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-28T16:56:50.192Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fec4aacbff5d8610c5050c
Added to database: 5/9/2026, 5:22:50 AM
Last enriched: 5/9/2026, 5:36:21 AM
Last updated: 5/9/2026, 6:32:54 AM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.