Skip to main content
Vulnerability Database/CVE-2026-111639

CVE-2026-111639: bbs-go Authentication Bypass Vulnerability

CVE-2026-111639 is an authentication bypass flaw in bbs-go that allows attackers to hijack user sessions through Google OAuth token replay. This post explains its impact, affected versions, and mitigation steps.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111639 Overview

CVE-2026-111639 is an authentication bypass vulnerability in bbs-go through version 4.4.6. The flaw resides in the /api/login/google_one_tap endpoint, which accepts Google-signed ID tokens without validating the aud (audience) claim. Remote attackers who operate their own Google OAuth client can capture a victim's Google-signed ID token and replay it against bbs-go. The server treats the token as valid and issues an authenticated session for the victim's Google-linked account. The result is full account takeover without any password or credential compromise. This issue is tracked under CWE-287: Improper Authentication.

Critical Impact

Remote attackers can take over any Google-linked bbs-go account by replaying ID tokens issued to attacker-controlled OAuth clients.

Affected Products

  • bbs-go through version 4.4.6
  • Deployments exposing the /api/login/google_one_tap endpoint
  • Instances with Google One Tap login enabled

Discovery Timeline

  • 2026-10-16 - CVE-2026-111639 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-111639

Vulnerability Analysis

The vulnerability is an audience confusion flaw in bbs-go's Google One Tap authentication path. Google ID tokens are JSON Web Tokens (JWTs) signed by Google and include an aud claim that binds the token to a specific OAuth client ID. A correct verifier must confirm the signature, the issuer, the expiration, and the audience. The bbs-go implementation in internal/pkg/google/jwt.go verifies the signature and standard claims but never checks that aud matches the application's own OAuth client ID. This omission allows any token signed by Google — including tokens issued to an unrelated, attacker-registered OAuth client — to pass validation. The handler in internal/services/third_user_service.go then uses the token's sub or email claim to locate the matching bbs-go account and establish a session.

Root Cause

The root cause is missing audience validation during JWT verification. See the vulnerable code paths in the GitHub JWT Implementation and the GitHub Third User Service Code. Because the server trusts any Google-signed token, it conflates authentication of the token's issuer with authentication of the user's intent to log in to bbs-go.

Attack Vector

An attacker registers their own Google OAuth client and lures a victim into signing in with Google against an attacker-controlled site or One Tap prompt. The victim's browser receives a Google-signed ID token scoped to the attacker's client. The attacker then POSTs that captured ID token to the bbs-go endpoint /api/login/google_one_tap. bbs-go validates the signature, skips the aud check, matches the token's subject to the victim's linked account, and returns a session cookie or token for that account. See the HackMD Account Takeover Analysis and the VulnCheck Advisory on Account Takeover for a full walkthrough. No exploitation code is reproduced here because no verified public exploit has been released.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111639

Indicators of Compromise

  • Successful authentications at /api/login/google_one_tap originating from IP addresses or user agents that do not match the victim's historical login profile.
  • Session establishment events for Google-linked accounts without a corresponding Google OAuth consent screen interaction from the user's browser.
  • Unusual geographic or ASN diversity in successful One Tap logins over short time windows.

Detection Strategies

  • Inspect application logs for Google One Tap authentications and decode the submitted ID token's aud claim; flag any value that does not match the bbs-go Google OAuth client ID.
  • Correlate One Tap login events with subsequent sensitive actions such as email changes, password resets, or privilege changes performed within minutes of the session.
  • Deploy web application firewall (WAF) rules that log every POST to /api/login/google_one_tap with full request bodies for offline analysis.

Monitoring Recommendations

  • Alert on account takeover indicators including rapid session creation followed by profile mutation on the same account.
  • Track baseline rates of One Tap logins per account; investigate accounts with concurrent sessions from disparate networks.
  • Forward authentication telemetry to a centralized analytics platform to retain tokens and client IDs for forensic review.

How to Mitigate CVE-2026-111639

Immediate Actions Required

  • Disable the /api/login/google_one_tap endpoint or the Google One Tap feature until a patched version is deployed.
  • Invalidate all active sessions for Google-linked accounts and force re-authentication through a verified channel.
  • Review audit logs for successful One Tap logins since the vulnerable version was deployed and notify potentially affected users.

Patch Information

No fixed version was listed in the NVD record at the time of publication. Users of bbs-go 4.4.6 and earlier should monitor the bbs-go GitHub repository for a release that adds aud claim validation to the Google ID token verifier in internal/pkg/google/jwt.go. Any corrected implementation must confirm that the aud claim equals the server-side configured Google OAuth client ID before issuing a session, and should also validate iss, exp, and token signature using Google's current JWKS keys.

Workarounds

  • Block external access to /api/login/google_one_tap at the reverse proxy or WAF layer until a patch is applied.
  • Remove or comment out the Google One Tap route registration in bbs-go and require users to authenticate through password or an alternative verified identity provider.
  • Apply a local source patch that enforces an aud claim comparison against the configured Google OAuth client ID before trusting the token.

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.