# CVE-2026-42560: auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-30T20:47:24.000Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-f6qq-3m3h-4g42, GO-2026-5348
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- go-pkgz auth: >= 1.18.0, < 1.25.2; >= 2.0.0, < 2.1.2
- github.com/go-pkgz/auth (Go): from 1.18.0 before 1.25.2
- github.com/go-pkgz/auth/v2 (Go): from 2.0.0 before 2.1.2

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42> (exploit, advisory, web)
- <https://github.com/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698> (fix, web)
- <https://github.com/go-pkgz/auth/releases/tag/v1.25.2> (web)
- <https://github.com/go-pkgz/auth/releases/tag/v2.1.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42560> (advisory)
- <https://github.com/go-pkgz/auth> (package)

## Sources

- CVE List: [CVE-2026-42560](https://www.cve.org/CVERecord?id=CVE-2026-42560), CVE Terms of Use, modified 2026-05-11
- GitHub Advisory Database: [GHSA-f6qq-3m3h-4g42](https://github.com/advisories/GHSA-f6qq-3m3h-4g42), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5348](https://pkg.go.dev/vuln/GO-2026-5348), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-42560](https://nvd.nist.gov/vuln/detail/CVE-2026-42560), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42560 · Whole record: https://cve.day/CVE-2026-42560.json · Rebuilt by cve.day 2026-11-25T22:59:21.141Z
