CVE-2026-42560: Vulnerability in github.com/go-pkgz/auth

Critical. 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...

Go, CWE-287

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-f6qq-3m3h-4g42
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-287
Published
30 Apr 2026
Last change
24 Jul 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/go-pkgz/auth Go, Affected from 1.18.0 through 1.25.1. Fixed in 1.25.2
  • github.com/go-pkgz/auth/v2 Go, Affected from 2.0.0 through 2.1.1. Fixed in 2.1.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes