Incorrect authorization in Web Authentication (Passkeys & Security Keys) (CVE-2026-79178)
The browser's WebAuthn relying party ID check only verified that both the caller host and the claimed RP ID had registry-controlled domains, without enforcing the public suffix boundary rule. A tenant of a private registry such as a hosting subdomain could therefore claim the parent registry domain as its RP ID, potentially bypassing WebAuthn's anti-phishing protection or silently manipulating saved passkeys for that domain.
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. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The WebAuthn Relying Party (RP) ID validation algorithm in the Chrome browser process potentially fails to enforce private registry boundaries as specified in the HTML registrable domain suffix algorithm. Consequently, subdomains of a private registry (such as *.up.railway.app) may be able to claim the registry's apex domain (railway.app) as a WebAuthn RP ID. This could allow tenant origins to bypass WebAuthn's core anti-phishing guarantees or silently manipulate saved passkeys on the apex domain.
Affected files:
components/webauthn/core/browser/webauthn_security_utils.cccomponents/webauthn/core/browser/webauthn_security_utils_unittest.cc
Estimated timestamp from git blame: 2018-01-18
Description of the Potential Issue
webauthn::OriginIsAllowedToClaimRelyingPartyId (implemented in components/webauthn/core/browser/webauthn_security_utils.cc:42-88) is the core browser-process security gate validating that a WebAuthn Relying Party ID is equal to, or is a registrable suffix of, the caller origin's host.
However, after performing basic suffix checks, the function only checks that both the caller origin's host and the claimed Relying Party ID have registry-controlled domains:
// components/webauthn/core/browser/webauthn_security_utils.cc:72-85
if (!net::registry_controlled_domains::HostHasRegistryControlledDomain(
caller_origin.host(),
net::registry_controlled_domains::INCLUDE_UNKNOWN_REGISTRIES,
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES) ||
!net::registry_controlled_domains::HostHasRegistryControlledDomain(
claimed_relying_party_id,
net::registry_controlled_domains::INCLUDE_UNKNOWN_REGISTRIES,
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES)) {
return false;
}
It fails to enforce the second condition of the HTML specification's registrable domain suffix algorithm (Step 4.3, Bullet 2), which requires that the claimed suffix must not match or end with the caller origin's public suffix (prefixed by .). This prevents a subdomain whose public suffix is a nested registry (e.g., up.railway.app) from relaxing its domain boundary to the parent registry domain (e.g., railway.app).
Potential Attack Scenario
If an attacker registers a tenant subdomain attacker.up.railway.app under the private registry up.railway.app (listed in the PSL under net/base/registry_controlled_domains/effective_tld_names.dat:15262):
- The user visits the attacker's page
https://attacker.up.railway.appin Chrome. - The attacker triggers a WebAuthn call with
rpId: "railway.app"(e.g. vianavigator.credentials.createorPublicKeyCredential.signalAllAcceptedCredentials). - The browser process receives the request and performs standard checks.
url::DomainIs("attacker.up.railway.app", "railway.app")istrue. HostHasRegistryControlledDomainis called for both:caller_origin.host()("attacker.up.railway.app"): Private registry isup.railway.app(length 14). Since14 < 23(host length), this returnstrue.claimed_relying_party_id("railway.app"): Fallon back to public suffixapp(length 3). Since3 < 11(host length), this returnstrue.
OriginIsAllowedToClaimRelyingPartyIdincorrectly returnstrue.- Impact A (Phishing-resistance bypass): For authentication, the browser displays a WebAuthn selection UI labeled as
railway.appand on user approval returns the signed assertion directly to the attacker page. - Impact B (Silent Passkey Manipulation): For
signalAllAcceptedCredentials, the browser executesContinueReportAfterRpIdCheckwithout user interaction, deleting or hiding the user's saved Google Password Manager or Windows Hello passkeys forrailway.appon behalf of the attacker origin.
Note: These are potential steps as our tooling does not have the ability to execute live code or maintain stateful interactive PoCs.
Comparison with Sibling Implementations
Other components in Chrome correctly handle this boundary check:
document.domain: Blink'sDocument::setDomain(inthird_party/blink/renderer/core/dom/document.cc) utilizesOriginAccessEntry::IsPublicSuffixSubdomainOfHostto correctly block settingdocument.domain = "railway.app"fromattacker.up.railway.appby throwing aSecurityError.- iOS CPE: The iOS Credential Provider Extension (
ios/chrome/credential_provider_extension/ui/net_util.mm) correctly usesGetDomainAndRegistry(..., INCLUDE_PRIVATE_REGISTRIES)on both hosts and ensures they match.
Suggested Fix
We recommend updating OriginIsAllowedToClaimRelyingPartyId to compare the registrable domains of both the caller host and the claimed Relying Party ID. For example:
std::string caller_registry =
net::registry_controlled_domains::GetDomainAndRegistry(
caller_origin.host(),
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);
std::string rp_registry =
net::registry_controlled_domains::GetDomainAndRegistry(
claimed_relying_party_id,
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);
if (caller_registry.empty() || rp_registry.empty() || caller_registry != rp_registry) {
return false;
}
This ensures that both domains reside on the same side of any public or private registry boundary, aligning WebAuthn RP ID validation with the rest of Chrome's security boundaries.
Evaluated with Chrome root at commit: 57b021e1fdae94a215627d29aeb1ccf2eb5b3e91
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
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 RP ID validation only checked that both hosts had registry-controlled domains and omitted the HTML rule that the claimed suffix must not match or end with the caller's own public suffix.
Impact
An attacker could potentially obtain a signed assertion for the parent domain after the user approves a prompt, or silently delete or hide the user's saved passkeys for that domain; the report notes these are potential steps and no live proof was executed.
What the attacker needed
Attacker controls a tenant subdomain; victim uses Chrome; victim approves the credential prompt
The fix
The RP ID check should compare the registrable domains of the caller host and the claimed RP ID, including private registries, and reject when they differ or are empty.
How it was found
- Visit the attacker-controlled tenant subdomain in Chrome.
- Trigger a WebAuthn call claiming the parent registry domain as the RP ID.
- The browser's suffix check passes and the RP ID check incorrectly returns true.
- The browser shows a credential prompt labelled with the parent domain and returns the assertion to the attacker page, or processes the credential report without user interaction.
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.
Passkeys are tied to a website's domain so that a fake site cannot ask for your credential for a real site. This report suggests that on shared hosting domains, a customer's subdomain could tell the browser it belongs to the parent hosting domain, so the browser might offer or alter passkeys meant for that parent. The report is a code review finding and the author says no live proof was run.
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.