Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42560: CWE-287: Improper Authentication in go-pkgz auth

0
Critical
VulnerabilityCVE-2026-42560cvecve-2026-42560cwe-287
Published: Sat May 09 2026 (05/09/2026, 04:15:01 UTC)
Source: CVE Database V5
Vendor/Project: go-pkgz
Product: 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

AILast updated: 05/09/2026, 05:36:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses