Incorrect authorization in FedCM (CVE-2026-113183)
A logic flaw in how Signed Exchange certificate fetches reuse the navigation's URL loader throttles means the FedCM Set-Login same-site check is skipped, because the throttle still believes the request is a top-level document. A cross-origin tracker could therefore mark itself as signed-in profile-wide without any same-site visit.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 6 months
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A logic flaw in how Signed Exchange (SXG) certificate fetches are handled allows a cross-origin site to bypass FedCM Set-Login same-site enforcement. Because the cert fetch reuses the URLLoaderThrottles generated for the top-level navigation, the identity throttle incorrectly assumes a kDocument destination. This allows a tracker to maliciously mark itself as signed-in globally without a same-site visit.
Affected files:
content/browser/webid/webid_utils.cccontent/browser/loader/url_loader_throttles.cccontent/browser/web_package/signed_exchange_cert_fetcher_factory.cccontent/common/webid/identity_url_loader_throttle.ccchrome/browser/webid/federated_identity_permission_context.cc
Estimated timestamp from git blame: 2026-04-22
Root Cause
The FedCM Set-Login header same-site enforcement in webid::SetIdpSigninStatus contains a logic flaw that allows a bypass during Signed Exchange (SXG) certificate fetches.
When processing a Set-Login header, webid::SetIdpSigninStatus (in content/browser/webid/webid_utils.cc) performs two security checks to prevent trackers from arbitrarily setting a user's login status:
- If the request destination is not
kDocument, it ensures the request initiator is same-site with the Identity Provider (IDP) origin. - It verifies that the IDP origin is same-site with all frame ancestors, starting from the
FrameTreeNode's parent.
While this logic works for standard requests, it breaks during Signed Exchange navigations due to throttle reuse. When a navigation is initiated, NavigationURLLoaderImpl creates throttles based on the main resource_request(), binding the IdentityUrlLoaderThrottle callback with request.destination = network::mojom::RequestDestination::kDocument.
If the response is a Signed Exchange, a SignedExchangeLoader is created. This loader initializes a SignedExchangeCertFetcherFactory, passing it the URLLoaderThrottlesGetter callback from the original navigation request. When the SignedExchangeHandler parses the SXG signature and needs to fetch the cert-url, it invokes this factory.
The factory executes the throttle getter, generating a new IdentityUrlLoaderThrottle, but because it relies on the original navigation request's state, the throttle's callback is still bound with destination = kDocument.
If the cert-url endpoint responds with a Set-Login header, IdentityUrlLoaderThrottle parses it and calls webid::SetIdpSigninStatus. Because the destination was incorrectly bound as kDocument, the cross-origin initiator check is skipped entirely. Furthermore, because it is a top-level navigation, the ancestor check passes (the parent frame is null). As a result, the cert-url origin is marked as signed-in profile-wide without ever having been visited in a same-site context.
Potential Exploit Steps
Note: These are potential steps based on code analysis; we do not currently have a working proof of concept.
- An attacker configures a cross-origin tracking domain to serve a
Set-Login: logged-inheader from a specific endpoint. - The attacker hosts a malicious Signed Exchange (SXG) file on an attacker-controlled server. They configure the SXG's signature header to use the cross-origin tracker's endpoint as the
cert-url. - The attacker tricks a victim into navigating to the hosted SXG file.
- The browser begins a top-level navigation, discovers the SXG, and initiates a background fetch to the
cert-urlto verify the signature. - The tracker's endpoint responds with the
Set-Loginheader. - The browser parses the header, bypasses the same-site FedCM checks due to the inherited
kDocumentdestination state, and marks the tracker as signed-in globally in the user's profile.
Suggested Fix
The SignedExchangeCertFetcher should not blindly inherit the kDocument destination from the top-level navigation when generating URLLoaderThrottles. The throttles generated for the certificate fetch should reflect its nature as a subresource fetch, or the IdentityUrlLoaderThrottle should specifically check if it is being executed within the context of a Signed Exchange certificate fetch and enforce same-site constraints accordingly.
Evaluated with Chrome root at commit: a1e33f5848218e21d4a16ae2c1bc94e815c30c7f
Results 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.
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 Signed Exchange certificate fetcher inherits the top-level navigation's URLLoaderThrottles, so the identity throttle is bound with a document destination and skips the cross-origin initiator check.
Impact
A cross-origin tracker could be marked as signed in across the user's profile without a same-site visit, though the report notes no working proof of concept exists yet.
What the attacker needed
Victim navigates to attacker-hosted SXG; attacker controls a cross-origin endpoint; no proof of concept yet
The fix
The certificate fetcher should not inherit the document destination, or the identity throttle should detect a Signed Exchange certificate fetch and enforce same-site constraints.
How it was found
- The attacker sets up a cross-origin tracking endpoint that returns a Set-Login logged-in header.
- The attacker hosts a Signed Exchange file whose signature points at that tracker endpoint as the cert-url.
- The victim is tricked into navigating to the hosted Signed Exchange file.
- The browser starts the top-level navigation, detects the Signed Exchange and fetches the cert-url in the background.
- The tracker endpoint replies with the Set-Login header.
- The browser parses the header, skips the same-site checks and marks the tracker as signed in globally.
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.
FedCM is a browser feature that lets a website tell the browser whether you are logged in to an identity provider. Normally a site can only do this for itself, so a tracker cannot pretend you are signed in to it. Here a quirk in how the browser checks a special signed web page (a Signed Exchange) let a different site set that logged-in flag anyway.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.