Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-32245

CVE-2026-32245: Tinyauth Auth Bypass Vulnerability

CVE-2026-32245 is an authentication bypass flaw in Tinyauth's OIDC token endpoint that allows malicious clients to exchange authorization codes not issued to them. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 13, 2026

CVE-2026-32245 Overview

CVE-2026-32245 is an authorization bypass vulnerability in Tinyauth, an authentication and authorization server. Prior to version 5.0.3, the OIDC token endpoint does not verify that the client exchanging an authorization code is the same client the code was originally issued to. This flaw allows a malicious OIDC client operator to exchange another client's authorization code using their own client credentials, obtaining tokens for users who never authorized their application.

This vulnerability directly violates RFC 6749 Section 4.1.3, which mandates that authorization servers must ensure the authorization code was issued to the authenticated confidential client or verify the client_id matches for public clients.

Critical Impact

Malicious OIDC client operators can impersonate users and gain unauthorized access to resources by hijacking authorization codes intended for legitimate applications.

Affected Products

  • Tinyauth versions prior to 5.0.3

Discovery Timeline

  • 2026-03-12 - CVE CVE-2026-32245 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-32245

Vulnerability Analysis

This vulnerability is classified as CWE-863 (Incorrect Authorization). The core issue lies in the OIDC token endpoint's failure to bind authorization codes to specific clients during the token exchange process. In a properly implemented OAuth 2.0/OIDC flow, when a user authorizes an application, the authorization server generates a code that is cryptographically or logically bound to that specific client. During the token exchange, the server must verify this binding before issuing access tokens.

In vulnerable versions of Tinyauth, the GetCodeEntry function in the OIDC controller retrieves authorization codes without validating the requesting client's identity. This allows any authenticated OIDC client to exchange authorization codes that were issued to other clients, effectively bypassing the authorization model entirely.

Root Cause

The root cause is the missing client ID validation in the GetCodeEntry function call within the OIDC token endpoint. The vulnerable code retrieved authorization codes based solely on the code hash without verifying that the code was originally issued to the requesting client. This architectural oversight allows cross-client code exchange attacks.

Attack Vector

An attacker operating a malicious OIDC client registered with the Tinyauth server can exploit this vulnerability through the following attack scenario:

  1. The attacker registers a legitimate-looking OIDC client with the Tinyauth server
  2. A victim user authenticates and authorizes a different, legitimate OIDC client application
  3. The attacker intercepts or obtains the authorization code (through phishing, network interception, or referrer leakage)
  4. The attacker submits the stolen authorization code to the token endpoint using their own client credentials
  5. Due to missing client validation, Tinyauth issues tokens to the attacker's client for the victim user
  6. The attacker now has valid access tokens allowing them to impersonate the victim

The fix implemented in version 5.0.3 adds the client ID as a required parameter when retrieving code entries:

go
 
 	switch req.GrantType {
 	case "authorization_code":
-		entry, err := controller.oidc.GetCodeEntry(c, controller.oidc.Hash(req.Code))
+		entry, err := controller.oidc.GetCodeEntry(c, controller.oidc.Hash(req.Code), client.ClientID)
 		if err != nil {
 			if errors.Is(err, service.ErrCodeNotFound) {
 				tlog.App.Warn().Msg("Code not found")

Source: GitHub Commit Details

Detection Methods for CVE-2026-32245

Indicators of Compromise

  • Token exchange requests where the client_id in the token request differs from the client_id that initiated the authorization flow
  • Unusual patterns of authorization code usage across multiple client applications
  • Users reporting unauthorized access to their accounts through applications they never authorized
  • Multiple token requests for the same authorization code from different client credentials

Detection Strategies

  • Implement logging that captures both the authorizing client_id and the exchanging client_id for all token requests
  • Monitor for anomalies where authorization codes generated for one client are being exchanged by different clients
  • Review OIDC audit logs for patterns of cross-client code exchange attempts
  • Set up alerts for failed token exchanges that may indicate exploitation attempts

Monitoring Recommendations

  • Enable verbose logging on the Tinyauth OIDC token endpoint to capture client identification details
  • Implement real-time correlation between authorization requests and token exchange requests
  • Monitor for spikes in authorization code exchange failures after upgrading, which may indicate blocked exploitation attempts
  • Track user sessions for unauthorized application access patterns

How to Mitigate CVE-2026-32245

Immediate Actions Required

  • Upgrade Tinyauth to version 5.0.3 or later immediately
  • Audit recent token exchange logs for any signs of cross-client code exploitation
  • Invalidate and rotate all existing authorization codes and refresh tokens as a precaution
  • Notify users to review their authorized applications and revoke any suspicious access

Patch Information

The vulnerability is fixed in Tinyauth version 5.0.3. The patch modifies the GetCodeEntry function to require client ID validation during authorization code retrieval, ensuring codes can only be exchanged by the client they were originally issued to.

For detailed patch information, see the GitHub Security Advisory GHSA-xg2q-62g2-cvcm and the GitHub Release Version 5.0.3.

Workarounds

  • If immediate upgrade is not possible, consider temporarily disabling OIDC functionality until the patch can be applied
  • Implement additional network-level controls to restrict which clients can access the token endpoint
  • Enable enhanced logging on the token endpoint to detect any exploitation attempts while awaiting upgrade
  • Consider implementing a Web Application Firewall (WAF) rule to validate client_id consistency between authorization and token requests
bash
# Upgrade Tinyauth to patched version
# Using container image
docker pull steveiliop56/tinyauth:5.0.3

# Or if building from source
git fetch --tags
git checkout v5.0.3

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechTinyauth

  • SeverityMEDIUM

  • CVSS Score6.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Technical References
  • GitHub Commit Details

  • GitHub Release Version 5.0.3

  • GitHub Security Advisory GHSA-xg2q-62g2-cvcm
  • Related CVEs
  • CVE-2026-32246: Tinyauth OIDC Auth Bypass Vulnerability

  • CVE-2026-33544: Tinyauth Race Condition Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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