A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42560

CVE-2026-42560: Auth OAuth2 Library Auth Bypass Vulnerability

CVE-2026-42560 is an authentication bypass flaw in the auth OAuth2 library affecting Patreon provider implementations. It collapses all Patreon users into a single identity, risking cross-account access and privilege confusion.

Published: May 18, 2026

CVE-2026-42560 Overview

CVE-2026-42560 is an authentication flaw in the go-pkgz/auth library, a Go package that provides authentication via OAuth2, direct, and email flows. The Patreon OAuth provider maps every authenticated Patreon account to the same local user.ID instead of deriving a unique identifier from the Patreon account returned by the provider. All Patreon-authenticated users of an application using the library collapse into a single local identity. Applications that trust token.User.ID as the stable account key can mix or fully merge unrelated Patreon users. The defect affects versions 1.18.0 through 1.25.1 and 2.0.0 through 2.1.1. Fixes ship in versions 1.25.2 and 2.1.2.

Critical Impact

Cross-account access, privilege confusion, and subscription-state leakage between unrelated Patreon-authenticated users.

Affected Products

  • go-pkgz/auth versions 1.18.0 through 1.25.1
  • go-pkgz/auth versions 2.0.0 through 2.1.1
  • Applications using the Patreon OAuth provider from go-pkgz/auth

Discovery Timeline

  • 2026-05-09 - CVE-2026-42560 published to the National Vulnerability Database (NVD)
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42560

Vulnerability Analysis

The vulnerability is an authentication weakness classified under [CWE-287] Improper Authentication. The Patreon OAuth provider in go-pkgz/auth constructs the local user record without incorporating the Patreon-supplied account identifier. Every successful Patreon authentication produces an identical user.ID value in the issued token.

Downstream code that uses token.User.ID as a primary key collapses distinct Patreon accounts into one logical user. Session state, entitlements, and subscription data tied to that key become shared across all Patreon-authenticated users of the application. An attacker who authenticates with any Patreon account inherits the session context of every other Patreon user on the same host application.

Root Cause

The Patreon provider implementation omits a per-account identifier when populating the local user object. Unlike the library's other OAuth providers, it does not derive user.ID from the unique Patreon account identifier returned by the Patreon API. The provider returns a constant or otherwise non-unique value, breaking the contract that token.User.ID is stable and unique per authenticated principal.

Attack Vector

The attack requires only that the target application exposes the Patreon OAuth login flow. An attacker authenticates normally through Patreon. The resulting session shares the same local identity as any other Patreon-authenticated user. The attacker reads or modifies data belonging to those users, including subscription tiers, account settings, and any resources keyed on user.ID. No privileges or user interaction beyond standard OAuth login are required.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-f6qq-3m3h-4g42 for the maintainer's technical write-up and the patch commit for the corrected identifier derivation.

Detection Methods for CVE-2026-42560

Indicators of Compromise

  • Multiple distinct Patreon accounts resolving to the same internal user.ID in application logs.
  • Authentication audit records showing identical local user identifiers for different Patreon email addresses or display names.
  • Subscription or entitlement records updated by users who do not own the underlying Patreon account.

Detection Strategies

  • Audit dependency manifests (go.mod, go.sum) for github.com/go-pkgz/auth versions in the vulnerable ranges 1.18.0–1.25.1 and 2.0.0–2.1.1.
  • Query authentication logs for duplicate user.ID values associated with the Patreon provider across distinct Patreon profile identifiers or email addresses.
  • Review application data stores for orphaned or merged Patreon-linked records that share a single primary key.

Monitoring Recommendations

  • Alert on session creation events where the Patreon provider issues a user.ID that already maps to a different external account identifier.
  • Track changes to subscription state and privileged settings performed by Patreon-authenticated sessions for anomalous reassignment.
  • Capture and retain OAuth callback payloads to support forensic correlation between Patreon account IDs and local user IDs.

How to Mitigate CVE-2026-42560

Immediate Actions Required

  • Upgrade go-pkgz/auth to version 1.25.2 (for the 1.x line) or 2.1.2 (for the 2.x line).
  • Invalidate all existing sessions issued through the Patreon provider before re-enabling Patreon login.
  • Reconcile application user records to detach merged Patreon identities and restore correct ownership of subscription state.

Patch Information

The maintainer released fixes in v1.25.2 and v2.1.2. The corrective change is in commit c0b15ee, which derives user.ID from the unique Patreon account identifier returned by the Patreon API. Update Go module dependencies with go get github.com/go-pkgz/auth@v1.25.2 or go get github.com/go-pkgz/auth/v2@v2.1.2 and rebuild affected services.

Workarounds

  • Disable the Patreon OAuth provider in the application configuration until the dependency is upgraded.
  • Override the Patreon provider's user mapping in calling code to populate user.ID from the unique Patreon account identifier returned by the provider.
  • Restrict access to functionality keyed on token.User.ID for Patreon-authenticated sessions until the patched version is deployed.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechAuth

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Commit Update

  • GitHub Release v1.25.2

  • GitHub Release v2.1.2

  • GitHub Security Advisory GHSA-f6qq-3m3h-4g42
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English