Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

auth · Vulnerability

CVSS 3.1 9.1 CRITICALEUVD CVSS 3.1 9.1 CVSS 3.1 · [email protected] · Secondary 9.1 CRITICALCVSS_V3 Publisher rating CRITICALFixed by github.com/go-pkgz/auth 1.25.2Fixed by github.com/go-pkgz/auth/v2 2.1.2osv · severity unknownFixed by github.com/go-pkgz/auth 1.25.2Fixed by github.com/go-pkgz/auth/v2 2.1.2KEV status unknown

cve-program · CVE-2026-42560

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-28904

Published

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.

Read the publisher's advisory

nvd · CVE-2026-42560

Published

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.

Read the publisher's advisory

osv · GHSA-f6qq-3m3h-4g42

Published

### Summary 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. ### Details The bug is in the Patreon provider's user-mapping logic. Both the root module and the `v2` module create a fresh empty `token.User{}` and then derive the Patreon ID from `userInfo.ID` before that field has been populated: ```go mapUser: func(data UserData, bdata []byte) token.User { userInfo := token.User{} uinfoJSON := uinfo{} if err := json.Unmarshal(bdata, &uinfoJSON); err == nil { userInfo.ID = "patreon_" + token.HashID(sha1.New(), userInfo.ID) userInfo.Name = uinfoJSON.Data.Attributes.FullName userInfo.Picture = uinfoJSON.Data.Attributes.ImageURL ... } return userInfo } ``` Affected locations: - `provider/providers.go:257` - `v2/provider/providers.go:257` At that point, `userInfo.ID` is still the empty string, so the effective result is always: ```text patreon_ + sha1("") ``` which is: ```text patreon_da39a3ee5e6b4b0d3255bfef95601890afd80709 ``` for every Patreon user. The code appears to have intended to hash the Patreon user ID returned by Patreon, i.e. `uinfoJSON.Data.ID`, but instead hashes the uninitialized destination field. Why this matters: 1. Patreon is a documented, supported provider. 2. The library documents `token.User.ID` as the hashed user ID exposed to consumers. 3. The OAuth flow stores the mapped user object in JWT claims, and middleware later injects that object into the request context verbatim, consuming handlers receive the provider's wrong user.ID as authoritative identity. Relevant flow in `v2`: - `v2/provider/oauth2.go:207` calls `u := p.mapUser(...)` - `v2/provider/oauth2.go:223` stores `u` in token claims - `v2/middleware/auth.go:154` copies `*claims.User` into request context The existing tests already encode the broken behavior: - `provider/providers_test.go:179` - `provider/providers_test.go:204` - `v2/provider/providers_test.go:179` - `v2/provider/providers_test.go:204` Those tests assert the constant empty-string hash value for Patreon users. ### PoC This can be reproduced locally without contacting Patreon by exercising the provider's `mapUser` logic with two different Patreon payloads. From the repository root, create a temporary test file: `v2/provider/patreon_repro_test.go` ```go package provider import "testing" func TestPatreonSharedIdentity(t *testing.T) { r := NewPatreon(Params{ URL: "http://example.com", Cid: "cid", Csecret: "secret", }) a := r.mapUser(UserData{}, []byte(`{ "data": { "attributes": { "full_name": "Alice", "image_url": "https://example.com/alice.png" }, "id": "1111111" } }`)) b := r.mapUser(UserData{}, []byte(`{ "data": { "attributes": { "full_name": "Bob", "image_url": "https://example.com/bob.png" }, "id": "9999999" } }`)) if a.ID != b.ID { t.Fatalf("expected IDs to collide, got %q and %q", a.ID, b.ID) } t.Logf("Alice -> %s", a.ID) t.Logf("Bob -> %s", b.ID) } ``` Then run: ```bash cd v2 go test ./provider -run TestPatreonSharedIdentity -v ``` Expected result: ```text Alice -> patreon_da39a3ee5e6b4b0d3255bfef95601890afd80709 Bob -> patreon_da39a3ee5e6b4b0d3255bfef95601890afd80709 ``` I also confirmed this locally with three distinct Patreon `data.id` values; all of them produced the same `patreon_da39...` identity. You can also see the same issue reflected in the existing built-in tests, which already assert this constant Patreon ID. ### Impact This is an authentication/identity-collision vulnerability in the Patreon provider. Impacted users: - applications using `github.com/go-pkgz/auth/provider.NewPatreon` - applications using `github.com/go-pkgz/auth/v2/provider.NewPatreon` - applications that rely on `token.User.ID` as the stable local account identifier, or use it to key roles, profiles, entitlements, subscription state, or other authorization-relevant records Practical impact: - all Patreon-authenticated users in the same application can collapse into the same local account - data associated with one Patreon user may be exposed to or overwritten by another Patreon user - Patreon-specific attributes such as `is_paid_sub` can leak across unrelated users - if a target application grants any elevated privileges to the local account keyed by this shared Patreon ID, those privileges can effectively apply to every Patreon login ### Suggested Fix The Patreon provider should derive the user ID from the Patreon account ID returned by Patreon, not from the uninitialized destination struct. In both of these files: - `provider/providers.go` - `v2/provider/providers.go` change: ```go userInfo.ID = "patreon_" + token.HashID(sha1.New(), userInfo.ID) ``` to: ```go userInfo.ID = "patreon_" + token.HashID(sha1.New(), uinfoJSON.Data.ID) ``` I would also recommend adding a regression test with at least two different Patreon `data.id` values and asserting that they produce different local IDs. Because the current bug causes all Patreon users to share a single local ID, maintainers may also want to consider migration guidance for consumers who already have Patreon-linked local accounts created under the broken identifier.

Read the publisher's advisory

osv · GO-2026-5348

Published

auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation in github.com/go-pkgz/auth

Read the publisher's advisory

Affected versions, risk and source history

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

Risk history

Compare earlier KEV listings and EPSS scores. Advisory wording and affected versions have a separate history.

When does an EPSS score appear as a change?

A prediction change is reported when EPSS rises from below 10% to 10% or higher. Every daily score change from the last 30 days stays in this history. Before that, it keeps KEV changes and moves between EPSS bands (0.1%, 1%, 5%, 10%, 20%, 50% and 90%).

Advisory history

18 saved versions

See how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.

How advisory history works

Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.

23 Nov 2026 18:33:46 UTC

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…

euvd · EUVD-2026-28904 · Published

21 Nov 2026 18:23:15 UTC

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…

euvd · EUVD-2026-28904 · Published

19 Nov 2026 17:55:17 UTC

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…

euvd · EUVD-2026-28904 · Published

17 Nov 2026 17:45:11 UTC

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…

euvd · EUVD-2026-28904 · Published

15 Nov 2026 13:06:03 UTC

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…

euvd · EUVD-2026-28904 · Published

13 Nov 2026 12:03:57 UTC

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…

euvd · EUVD-2026-28904 · Published

11 Nov 2026 11:06:07 UTC

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…

euvd · EUVD-2026-28904 · Published

9 Nov 2026 10:13:28 UTC

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…

euvd · EUVD-2026-28904 · Published

7 Nov 2026 09:35:19 UTC

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…

euvd · EUVD-2026-28904 · Published

5 Nov 2026 09:03:18 UTC

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…

euvd · EUVD-2026-28904 · Published

3 Nov 2026 08:07:57 UTC

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…

euvd · EUVD-2026-28904 · Published

1 Nov 2026 07:14:17 UTC

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…

euvd · EUVD-2026-28904 · Published

30 Oct 2026 06:58:27 UTC

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…

euvd · EUVD-2026-28904 · Published

28 Oct 2026 05:14:51 UTC

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…

euvd · EUVD-2026-28904 · Published

25 Oct 2026 10:17:15 UTC

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…

nvd · CVE-2026-42560 · Published

24 Oct 2026 13:19:41 UTC

auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation

osv · GHSA-f6qq-3m3h-4g42 · Published

24 Oct 2026 13:19:41 UTC

auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation in github.com/go-pkgz/auth

osv · GO-2026-5348 · Published

23 Oct 2026 15:48:27 UTC

auth: Patreon provider assigns the same local user ID to every authenticated Patreon account, enabling cross‑user impersonation

cve-program · CVE-2026-42560 · Published

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 03:26 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current