Home / go-pkgz / auth / CVE-2026-42560
CVE-2026-42560: is it exploited, and which versions of go-pkgz auth are affected and fixed?
CVE-2026-42560 is an authentication bypass (improper authentication) vulnerability in go-pkgz auth. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: github.com/go-pkgz/auth from 1.18.0 before 1.25.2 and github.com/go-pkgz/auth/v2 from 2.0.0 before 2.1.2 (GitHub advisory GHSA-f6qq-3m3h-4g42). Fixed in 1.25.2 and 2.1.2 (GitHub advisory GHSA-f6qq-3m3h-4g42). Severity: Critical (9.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42560?
auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation
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.
From the CVE record by GitHub_M, last updated May 11, 2026, 17:31 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| go-pkgz | auth | >= 1.18.0, < 1.25.2 >= 2.0.0, < 2.1.2 |
As the CVE record by GitHub_M states it, last updated May 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/go-pkgz/auth | >= 1.18.0, < 1.25.2 | 1.25.2 | GHSA-f6qq-3m3h-4g42 |
| Go | github.com/go-pkgz/auth/v2 | >= 2.0.0, < 2.1.2 | 2.1.2 | GHSA-f6qq-3m3h-4g42 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 13, 2026. Summary: auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation.
How severe is CVE-2026-42560?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42560 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 11, 2026)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 38.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42 x_refsource_CONFIRM
- https://github.com/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698 x_refsource_MISC
- https://github.com/go-pkgz/auth/releases/tag/v1.25.2 x_refsource_MISC
- https://github.com/go-pkgz/auth/releases/tag/v2.1.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 28, 2026
- Published
- May 9, 2026, 04:15 UTC
- CVE record updated
- May 11, 2026, 17:31 UTC by GitHub_M
- NVD
- Deferred, last modified July 24, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-42560
Is CVE-2026-42560 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of go-pkgz auth are affected by CVE-2026-42560?
github.com/go-pkgz/auth from 1.18.0 before 1.25.2 and github.com/go-pkgz/auth/v2 from 2.0.0 before 2.1.2, per the GitHub advisory GHSA-f6qq-3m3h-4g42. The tables above give every range the sources list.
Which version fixes CVE-2026-42560?
1.25.2 and 2.1.2, per the GitHub advisory GHSA-f6qq-3m3h-4g42. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42560?
Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42560?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.