Skip to content
OAuth / SSO Advisory Advanced CVE-2026-13865

Insufficient validation of untrusted input in Enterprise (CVE-2026-13865)

The OIDC enterprise enrollment process in Chrome fails to verify the JWT signature locally and has flawed redirect-chain validation logic. This allows an attacker to proxy via trusted domains and trigger a deceptive native dialog, potentially gaining enterprise policy control over a new Chrome profile.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: The OIDC enterprise enrollment process in Chrome fails to verify the JWT signature locally and has flawed redirect-chain validation logic. This allows an attacker to proxy via trusted domains (like login.microsoftonline.com) and trigger a deceptive native 'Your organization requires a new profile' dialog. If accepted, the attacker gains enterprise policy control over a new Chrome profile.

Affected files:

  • chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.cc
  • chrome/browser/enterprise/signin/oidc_authentication_signin_interceptor.cc
  • chrome/browser/ui/signin/dice_web_signin_interceptor_delegate.cc

Estimated timestamp from git blame: 2026-01-16

Summary

The OIDC NavigationThrottle in Chrome is used to intercept navigations to https://chromeenterprise.google/enroll for initiating enterprise profile enrollment. There are three potential security flaws in its implementation that allow an attacker to bypass the trust validation for enrollment requests and trigger deceptive, native OS dialogs. If the user accepts the dialog, an attacker can gain control over a new Chrome profile via enterprise policies.

Vulnerability Details

1. Insecure Redirect-Chain Validation (Any Hop) The throttle attempts to ensure that the enrollment request originates from a trusted source by checking the navigation's redirect chain. However, at chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.cc:265-270, the code iterates through the entire redirect chain and accepts the navigation if any hop matches a trusted host:

C++
for (const auto& chain_url : navigation_handle()->GetRedirectChain()) {
  if (!GetOidcEnrollmentUrlMatcher()->MatchURL(chain_url).empty()) {
    accept_redirect = true;
    break;
  }
}

An attacker can satisfy this check by registering an Azure AD application in their own tenant. A navigation that passes through login.microsoftonline.com (a trusted host) on its way to the enrollment URL will satisfy the check, regardless of the intermediate hops or the initiating untrusted domain.

2. Wildcard Host Matching for MCAS (Subdomain Bypass) The host https://mcas.ms is included in the trusted list. Due to how AddAllowFiltersWithLimit and FilterToComponents (components/url_matcher/url_util.cc:387-395) process mcas.ms (evaluating it as url::CanonHostInfo::NEUTRAL), the code prepends a dot ("." + *host) and sets *match_subdomains = true. This results in a wildcard match for any *.mcas.ms subdomain. Microsoft Defender for Cloud Apps (MCAS) allows tenants to proxy applications through subdomains like <app>.<region>.mcas.ms, which an attacker can control. An attacker can use an MCAS-proxied application to trigger the enrollment redirect, bypassing the source domain restriction entirely.

3. Missing JWT Signature Verification In chrome/browser/enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.cc, the id_token JWT provided in the URL fragment is parsed without verifying its cryptographic signature. The code at lines 330-347 splits the token on . and only base64-decodes the payload (section 1). The signature (section 2) is entirely ignored. The browser relies on this unverified token payload to display a highly deceptive, native 'Your organization requires a new profile' dialog (DiceWebSigninInterceptorDelegate::ShowOidcInterceptionDialog).

Impact

By exploiting these bypasses, an attacker can programmatically trigger a native 'Your organization requires a new profile' modal in the browser UI. This dialog is shown before any server-side cryptographic validation takes place. Because the dialog is a native Chrome prompt, users are likely to accept it.

If the user clicks 'Accept' or 'Continue', a new managed profile is created. If the attacker has enrolled their Azure AD tenant in Chrome Enterprise Core, the valid token (minted by the attacker's real tenant) is sent to the Google Device Management server. The attacker can then push arbitrary enterprise policies to this profile. This includes forced malicious extension installation, enterprise root CA injection, and proxy configurations, effectively giving the attacker total control over the user's data and traffic within that new profile.

Suggested Exploitation Steps

(Note: These are potential steps based on code analysis; an end-to-end exploit has not been fully verified via execution.)

  1. Attacker Setup: Register an OAuth application in an Azure AD tenant controlled by the attacker with redirect_uri=https://chromeenterprise.google/enroll and response_type=id_token token.
  2. (Optional, for full impact): Enroll this tenant as a third-party IdP in Chrome Enterprise Core.
  3. Lure Victim: Host a malicious webpage (https://attacker.com) and convince the victim to visit it.
  4. Redirection: The webpage redirects the victim's browser to the Azure AD authorization endpoint (https://login.microsoftonline.com) for the attacker's app.
  5. Authentication & Redirection: If the victim has an active Microsoft session, Azure AD silently authenticates and redirects to https://chromeenterprise.google/enroll#id_token=<attacker_jwt>&....
  6. Bypass Checks: The OIDC NavigationThrottle accepts the navigation because login.microsoftonline.com is in the redirect chain (or because an attacker-controlled *.mcas.ms proxy was used).
  7. Deceptive Dialog: The native 'Your organization requires a new profile' dialog is displayed to the user, based on the unverified token payload.
  8. Compromise: Upon acceptance, the valid token is sent to the backend, the profile is created, and it is managed by the attacker's enterprise policy.

Suggested Fixes

  1. Fix Redirect Chain Validation: Modify oidc_auth_response_capture_navigation_throttle.cc:265-270 to verify the entire redirect chain (or at least the initiating origin and all intermediate hops) against the trusted allowlist, rather than accepting the navigation if any single hop matches.
  2. Fix MCAS Wildcard Matching: Re-evaluate the inclusion of https://mcas.ms in the allowlist. If specific subdomains are expected, enumerate them. Alternatively, if *.mcas.ms is required, implement stricter validation of the originating request or the JWT itself to prevent abuse of attacker-controlled proxy subdomains.
  3. Implement Local JWT Verification: Add cryptographic signature verification for the id_token in OidcAuthResponseCaptureNavigationThrottle::AttemptToTriggerUrlInterception before displaying any UI prompts. The browser must independently verify that the token was signed by a trusted, enrolled Enterprise IdP.

Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0


Results from so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the code accepts a navigation if any hop in the redirect chain matches a trusted host, uses wildcard matching for mcas.ms subdomains, and parses the id_token without verifying its cryptographic signature.

Impact

If the user accepts the dialog, the attacker could gain enterprise policy control over a new Chrome profile, enabling forced extension installation, root CA injection, and proxy configuration.

What the attacker needed

Attacker controls an Azure AD tenant; victim visits attacker's webpage; victim has an active Microsoft session

The fix

The report suggests fixing redirect chain validation to check the entire chain, re-evaluating MCAS wildcard matching, and implementing local JWT signature verification before showing any UI prompts.

How it was found

  1. Register an OAuth application in an Azure AD tenant controlled by the attacker with redirect_uri set to the Chrome enrollment URL.
  2. Host a malicious webpage and convince the victim to visit it.
  3. The webpage redirects the victim's browser to the Azure AD authorization endpoint for the attacker's app.
  4. If the victim has an active Microsoft session, Azure AD silently authenticates and redirects to the Chrome enrollment URL with an id_token.
  5. The OIDC NavigationThrottle accepts the navigation because a trusted host is in the redirect chain or an attacker-controlled mcas.ms proxy was used.
  6. The native 'Your organization requires a new profile' dialog is displayed based on the unverified token payload.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you sign in to a work profile in Chrome, the browser checks a token to confirm it comes from a trusted company. The bug is that Chrome does not actually verify the token's signature and only checks if any step in the web redirect went through a trusted site. An attacker can abuse this to show a fake 'your organisation needs a new profile' pop-up, and if you accept, they can control that new profile.

What is OAuth / SSO?

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

OAuth and single sign-on flaws

The lesson behind this report.

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.