Skip to content
OpenAdvisories
High · 7.7 CVE-2026-33544 EUVD-2026-18254GHSA-9q5m-jfc4-wc92GO-2026-5296

Tinyauth has OAuth account confusion via shared mutable state on singleton service instances

Published Apr 2, 2026 · Updated Apr 3, 2026 · Assigned by GitHub_M

Description

Tinyauth is an authentication and authorization server. Prior to version 5.0.5, 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. This issue has been patched in version 5.0.5.

Affected products

VendorProductAffectedFixed
steveiliop56 tinyauth < 5.0.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/steveiliop56/tinyauth < 1.0.1-0.20260401140714-fc1d4f2082a5 1.0.1-0.20260401140714-fc1d4f2082a5 GHSA-9q5m-jfc4-wc92

Advisories 1

References