Skip to main content

Microsoft CVE-2026-33544

HIGH
Race Condition (CWE-362)
2026-04-01 https://github.com/steveiliop56/tinyauth GHSA-9q5m-jfc4-wc92
7.7
CVSS 3.1 · Vendor: https://github.com/steveiliop56/tinyauth
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Initiate concurrent OAuth logins for same provider
  2. Exploit
    Race condition overwrites PKCE verifier
  3. Execution
    User receives attacker's access token
  4. Impact
    Session established with wrong identity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Two users must initiate OAuth login concurrently against GenericOAuthService, GithubOAuthService, or GoogleOAuthService singleton instances where PKCE verifiers and access tokens are stored as mutable shared fields; requires user interaction to trigger OAuth flow and precise timing of concurrent requests.

Impact

Real-world risk is HIGH despite moderate CVSS 7.7 scoring. The CVSS vector (AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N) indicates network-accessible attacks with high attack complexity, requiring low privileges and user interaction, with scope change and high confidentiality/integrity impact. However, the 'high complexity' rating underestimates exploitability: the proof-of-concept demonstrates 99.9% success rate in concurrent scenarios using only the Go race detector, requiring no specialized exploit tools. The attack requires only that two users authenticate simultaneously - a common occurrence in multi-user authentication systems. The PR:L (low privileges) requirement means any legitimate user can trigger the race by timing their login with a target victim. UI:R (user interaction required) reflects that victims must authenticate, but this is normal application usage, not attacker-induced interaction. The scope change (S:C) correctly captures that attackers gain access beyond their authorized privilege level by assuming victim identities. No EPSS score is available yet for this recently disclosed CVE, and it is not listed in CISA KEV, indicating no confirmed active exploitation. However, the detailed GitHub advisory includes working proof-of-concept code and race detector validation, significantly lowering the barrier to weaponization. The vulnerability affects authentication - a critical security boundary - and bypass grants complete access to victim resources in tinyauth's ACL system, making this a priority remediation despite the probabilistic nature requiring concurrent traffic.

Exploit ScenarioDerived

An attacker with a valid account on a tinyauth-protected application identifies that the target uses tinyauth v5.0.4 for GitHub OAuth authentication. The attacker monitors when a high-privilege victim user (such as an administrator) is likely to log in, or socially engineers the victim to authenticate simultaneously. The attacker initiates their own GitHub OAuth login flow, reaching the authorization callback stage. As the victim's callback arrives at the tinyauth server and begins processing, the attacker's callback executes VerifyCode() milliseconds later, overwriting the singleton token field with the attacker's OAuth token. When the victim's request proceeds to

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 01, 2026

Authentication bypass via OAuth token race condition in tinyauth allows concurrent attackers to hijack user sessions and gain unauthorized access to victim accounts. The vulnerability affects tinyauth v5.0.4 and earlier versions where singleton OAuth service instances share mutable PKCE verifier and access token fields across all concurrent requests. When two users authenticate simultaneously with the same OAuth provider (GitHub, Google, or generic OAuth), the second request overwrites the first

Earlier versions of this analysis (1)
v1 Apr 01, 2026 - 21:00 CVSS 7.7

Authentication bypass via OAuth token race condition in tinyauth allows concurrent attackers to hijack user sessions and gain unauthorized access to victim accounts. The vulnerability affects tinyauth v5.0.4 and earlier versions where singleton OAuth service instances share mutable PKCE verifier and access token fields across all concurrent requests. When two users authenticate simultaneously with the same OAuth provider (GitHub, Google, or generic OAuth), the second request overwrites the first user's token, causing the first user to receive a session with the second user's identity and access privileges. Go race detector confirms 99.9% exploit success rate (9,985/10,000 iterations) in concurrent scenarios. No active exploitation confirmed (not in CISA KEV), but detailed proof-of-concept demonstrates reliable session hijacking with publicly available exploit methodology. EPSS data not available for this recent CVE.

RemediationAI

Upgrade to a patched version of tinyauth once available from the vendor repository at https://github.com/steveiliop56/tinyauth. Monitor the GitHub advisory at https://github.com/steveiliop56/tinyauth/security/advisories/GHSA-9q5m-jfc4-wc92 for patch release notifications. The vendor's suggested fix involves architectural changes to pass OAuth tokens and PKCE verifiers as method parameters or return values rather than storing them as mutable singleton fields, and migrating PKCE verifier storage to session cookies keyed by the OAuth state parameter. As an interim workaround, organizations can implement request serialization by adding mutex locks around the VerifyCode/Userinfo call sequence in oauth_controller.go, though this may impact concurrent authentication performance and does not fully resolve the architectural issue. Alternatively, deploy separate tinyauth instances per OAuth provider to reduce collision probability, or implement network-level rate limiting to prevent concurrent OAuth callbacks from the same provider. Organizations should audit authentication logs for anomalous session creation patterns where user identities change unexpectedly, as this may indicate exploitation. Given the authentication bypass severity and high proof-of-concept reliability, prioritize patching for internet-facing tinyauth deployments with multiple concurrent users.

Affected Packages

go github.com/steveiliop56/tinyauth fix: 1.0.1-0.20260401140714-fc1d4f2082a5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from unsafe concurrent access to shared mutable state in Go OAuth service implementations. The affected package (pkg:go/github.com_steveiliop56_tinyauth) implements three OAuth service classes (GenericOAuthService, GithubOAuthService, GoogleOAuthService) as singletons returned by OAuthBrokerService.GetService(). These singletons store OAuth2 tokens and PKCE (Proof Key for Code Exchange) verifiers as struct fields rather than thread-local or session-scoped storage. The root cause is CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization, also known as a race condition). During the OAuth authorization code flow, the callback handler invokes VerifyCode() which stores the exchanged access token in a singleton field, then calls Userinfo() to fetch user claims using that stored token. Between these operations, a concurrent request can overwrite the token field, causing the original request to authenticate as the wrong user. This violates the fundamental OAuth security assumption that authorization codes and tokens are bound to specific user sessions. The lack of synchronization primitives (mutexes) or proper state isolation makes the race window exploitable in production under normal concurrent load.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/steveiliop56/tinyauth) PRIMARY 7.7 HIGH
AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
SUSE HIGH

Primary rating from Vendor (https://github.com/steveiliop56/tinyauth).

CVSS VectorVendor: https://github.com/steveiliop56/tinyauth

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Apr 02, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 01, 2026 - 19:52 nvd
HIGH 7.7

DescriptionCVE.org

Summary

All three OAuth service implementations (GenericOAuthService, GithubOAuthService, GoogleOAuthService) store PKCE verifiers and access tokens as mutable struct fields on singleton instances shared across all concurrent requests. When two users initiate OAuth login for the same provider concurrently, a race condition between VerifyCode() and Userinfo() causes one user to receive a session with the other user's identity.

Details

The OAuthBrokerService.GetService() returns a single shared instance per provider for every request. The OAuth flow stores intermediate state as struct fields on this singleton:

Token storage - generic_oauth_service.go line 96:

go
generic.token = token  // Shared mutable field on singleton

Verifier storage - generic_oauth_service.go line 81:

go
generic.verifier = verifier  // Shared mutable field on singleton

In the callback handler oauth_controller.go lines 136-143, the code calls:

go
err = service.VerifyCode(code)                       // line 136 - stores token on singleton
// ... race window ...
user, err := controller.broker.GetUser(req.Provider)  // line 143 - reads token from singleton

Between these two calls, a concurrent request's VerifyCode() can overwrite the token field, causing GetUser() → Userinfo() to fetch the wrong user's identity claims.

The same pattern exists in all three implementations:

PoC

Race scenario (two concurrent OAuth callbacks):

  1. User A and User B both click "Login with GitHub" on the same tinyauth instance
  2. Both are redirected to GitHub, authorize, and GitHub redirects both back with authorization codes
  3. Both callbacks arrive at tinyauth nearly simultaneously:
Timeline:
  t0: Request A → service.VerifyCode(codeA) → singleton.token = tokenA
  t1: Request B → service.VerifyCode(codeB) → singleton.token = tokenB  (overwrites tokenA)
  t2: Request A → broker.GetUser("github")  → Userinfo() reads singleton.token = tokenB
  t3: Request A receives User B's identity (email, name, groups)

User A now has a tinyauth session with User B's email, gaining access to all resources User B is authorized for via tinyauth's ACL.

PKCE verifier DoS variant: Even with PKCE, concurrent oauthURLHandler calls overwrite the verifier field, causing VerifyCode() to send the wrong verifier to the OAuth provider, which rejects the exchange.

Static verification: Run Go's race detector on a test that calls VerifyCode and Userinfo concurrently on the same service instance - the -race flag will flag data races on the token and verifier fields.

Go race detector confirmation: Running a concurrent test with go test -race on the singleton service detects 4 data races on the token and verifier fields. Without the race detector, measured token overwrite rate is 99.9% (9,985/10,000 iterations).

Test environment: tinyauth v5.0.4, commit 592b7ded, Go race detector + source code analysis

Impact

An attacker who times their OAuth callback to race with a victim's callback can obtain a tinyauth session with the victim's identity. This grants unauthorized access to all resources the victim is permitted to access through tinyauth's ACL system. The probability of collision increases with concurrent OAuth traffic.

The PKCE verifier overwrite additionally causes a denial-of-service: concurrent OAuth logins for the same provider reliably fail.

Suggested Fix

Pass verifier and token through method parameters or return values instead of storing them on the singleton:

go
func (generic *GenericOAuthService) VerifyCode(code string, verifier string) (*oauth2.Token, error) {
    return generic.config.Exchange(generic.context, code, oauth2.VerifierOption(verifier))
}

func (generic *GenericOAuthService) Userinfo(token *oauth2.Token) (config.Claims, error) {
    client := generic.config.Client(generic.context, token)
    // ...
}

Store the PKCE verifier in the session/cookie associated with the OAuth state parameter, not on the service struct.

Executive ViewAI

Why It Matters

CVE-2026-33544 is a critical authentication bypass in tinyauth v5.0.4 and earlier that allows attackers to hijack user sessions through OAuth token race conditions during concurrent authentication requests. An attacker can trigger simultaneous logins with the same OAuth provider to steal another user's session token and assume their identity and access privileges. This vulnerability directly compromises account security across any application using affected tinyauth versions for authentication.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement application-level request queuing to serialize concurrent OAuth authentication attempts; (2) Use stateless session tokens with per-request nonce validation; (3) Add real-time session anomaly detection to flag impossible-travel logins or privilege escalations; (4) Restrict OAuth provider concurrency to single-threaded request processing; (5) Monitor authentication logs for multiple simultaneous logins from different IP addresses to the same account.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Affected Products (CPE)CVE.org

pkg:go/github.com_steveiliop56_tinyauth

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy