Inappropriate implementation in Cronet (CVE-2026-11215)
Cronet on Android canonicalises internationalised hostnames using the platform's transitional IDNA rules instead of the non-transitional rules required by the WHATWG URL standard, so some Unicode hosts resolve to a different domain than in standard Chrome. An attacker who registers the transitional variant of a domain could receive traffic meant for the original host and bypass public key pinning configured for it.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 19 days
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: Cronet for Android uses a platform-specific IDNA implementation that defaults to transitional processing, deviating from the WHATWG URL standard. This discrepancy leads to host confusion and allows for the bypass of Public Key Pinning (PKP) protections for domains containing certain 'deviation characters'.
Affected files:
url/url_idna_icu_alternatives_android.ccurl/android/java/src/org/chromium/url/IDNStringUtil.javacomponents/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.javacomponents/cronet/android/cronet_url_request_adapter.ccnet/url_request/url_request_job.cc
Estimated timestamp from git blame: 2022-11-17
Summary
When built for Android with is_cronet_build = true, Cronet utilizes platform-specific ICU alternatives to minimize binary size. This causes host canonicalization to delegate to the Android platform's java.net.IDN API. Unlike standard Chromium, which uses UTS #46 non-transitional processing (as required by the WHATWG URL standard), the Android platform implementation defaults to transitional processing. This discrepancy causes certain Unicode characters to resolve to different registrable domains than intended.
Technical Details
In Cronet-Android, IDN conversion is handled in url/url_idna_icu_alternatives_android.cc, which calls org.chromium.url.IDNStringUtil.idnToASCII via JNI. This Java method invokes java.net.IDN.toASCII(src, IDN.USE_STD3_ASCII_RULES).
The mapping divergence for UTS #46 'deviation characters' results in different canonical hosts:
| Input Host | Standard Chrome (Non-transitional) | Cronet-Android (Transitional) |
|---|---|---|
straße.de |
xn--strae-oqa.de |
strasse.de |
βόλος.gr |
xn--nxasmq6b.gr |
xn--nxasmm1c.gr |
a\u200Db.com (ZWJ) |
Rejected/Correctly Encoded | ab.com (ZWJ silently deleted) |
Security Impact
- Host Confusion / Parser Differential: A URL containing these characters resolves to a different TLS endpoint in Cronet compared to a WHATWG-conforming component. An attacker who registers the transitional variant (e.g.,
strasse.de) can intercept traffic intended for the non-transitional domain (xn--strae-oqa.de). - PKP Bypass: If an application developer pins the correct A-label
xn--strae-oqa.deforstraße.de, Cronet's canonicalization maps the request host tostrasse.de. During theTransportSecurityStatelookup, the request host (strasse.de) fails to match the registered pin (xn--strae-oqa.de), allowing the connection to proceed without enforcement to a potentially malicious domain. - Origin Isolation Bypass: Characters like Zero-Width Joiners (ZWJ) are silently stripped, potentially allowing different origins to be treated as identical by the Cronet engine.
Potential Attack Scenario
- An attacker registers the domain
strasse.de(the transitional variant ofstraße.de). - A user attempts to visit
https://straße.de/using an application embedded with Cronet. - Cronet canonicalizes the host to
strasse.deand resolves it to the attacker's server. - If the developer has configured PKP for
straße.deusing the non-transitional A-labelxn--strae-oqa.de, the check fails to find a matching pin forstrasse.de, and the connection proceeds.
Suggested Fix
Cronet-Android should avoid delegating IDNA processing to java.net.IDN if it cannot be configured for non-transitional UTS #46 processing. Ideally, Cronet should use a consistent UTS #46 non-transitional implementation across all platforms, even if it requires a small increase in binary size, to ensure URL standard compliance and security invariant consistency.
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
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 Cronet's Android build delegates host canonicalisation to the platform's java.net.IDN API, which defaults to transitional UTS #46 processing rather than the non-transitional processing the WHATWG URL standard requires.
Impact
Traffic intended for a pinned internationalised domain could be redirected to an attacker-controlled lookalike domain without the pin being enforced, and origins differing only by stripped zero-width characters could be treated as identical.
What the attacker needed
App embeds Cronet on Android; attacker registers the variant domain; developer pinned the non-transitional name
The fix
Cronet should stop relying on java.net.IDN and use a consistent non-transitional UTS #46 implementation on all platforms, accepting a small binary size increase.
How it was found
- An attacker registers the transitional variant of a domain, such as the plain-ASCII form of a name containing a deviation character.
- A user opens the original internationalised address in an app that embeds Cronet.
- Cronet canonicalises the host to the attacker's variant and resolves it to the attacker's server.
- Because the request host no longer matches the pinned name, the pinning check finds no pin and the connection proceeds.
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.
Some web addresses use non-English letters, and browsers must convert them into a plain-text form before connecting. There are two ways to do that conversion, and they can disagree: one address can turn into two different plain-text names. Cronet on Android picks the older method, so it may connect to a different site than the one the user typed, and a security check that was set up for the real site no longer applies.
What is Smuggling / CRLF?
A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.