{"cve":"CVE-2026-42560","nvd":{"published":"2026-05-09T06:16:10.603","modified":"2026-07-24T21:10:00.143","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-287"],"references":["https://github.com/go-pkgz/auth/commit/c0b15ee72a8401da83c01781c16636c521f42698","https://github.com/go-pkgz/auth/releases/tag/v1.25.2","https://github.com/go-pkgz/auth/releases/tag/v2.1.2","https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42","https://github.com/go-pkgz/auth/security/advisories/GHSA-f6qq-3m3h-4g42"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-42560","score":0.00417,"percentile":0.35987,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f6qq-3m3h-4g42","url":"https://osv.dev/vulnerability/GHSA-f6qq-3m3h-4g42","summary":"auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation","modified":"2026-06-25T19:56:25.728568125Z","packages":[{"ecosystem":"Go","name":"github.com/go-pkgz/auth","purl":"pkg:golang/github.com/go-pkgz/auth","ranges":[">=1.18.0 <1.25.2"],"fixed":["1.25.2"]},{"ecosystem":"Go","name":"github.com/go-pkgz/auth/v2","purl":"pkg:golang/github.com/go-pkgz/auth/v2","ranges":[">=2.0.0 <2.1.2"],"fixed":["2.1.2"]}]},{"id":"GO-2026-5348","url":"https://osv.dev/vulnerability/GO-2026-5348","summary":"auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation in github.com/go-pkgz/auth","modified":"2026-06-25T19:45:31.905427504Z","packages":[{"ecosystem":"Go","name":"github.com/go-pkgz/auth","purl":"pkg:golang/github.com/go-pkgz/auth","ranges":[">=1.18.0 <1.25.2"],"fixed":["1.25.2"]},{"ecosystem":"Go","name":"github.com/go-pkgz/auth/v2","purl":"pkg:golang/github.com/go-pkgz/auth/v2","ranges":[">=2.0.0 <2.1.2"],"fixed":["2.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}