Inappropriate implementation in Isolated Web Apps (CVE-2026-11102)
The Isolated Web App key rotation mechanism can be bypassed because the identity validator accepts the compromised previous key during updates, key rotation enforcement is skipped for version-increasing updates, and the update discovery heuristic can be evaded by padding the integrity block. An attacker holding a compromised signing key could push a malicious update and gain access to privileged IWA APIs.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 57 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 without the security team.
Overview: The Isolated Web App (IWA) key rotation mechanism can be bypassed because the identity validator unconditionally accepts compromised keys during the grace period. Additionally, key rotation enforcement is skipped for version-increasing updates, and the update discovery download heuristic is easily circumvented by padding. An attacker with a compromised key can exploit this to push malicious updates and retain access to highly privileged IWA APIs.
Affected files:
components/webapps/isolated_web_apps/identity/iwa_identity_validator.ccchrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command.ccchrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_discovery_task.ccchrome/browser/web_applications/isolated_web_apps/commands/install_isolated_web_app_command.cc
Estimated timestamp from git blame: 2026-02-06
The Isolated Web App (IWA) key rotation feature is designed to handle compromised developer signing keys by transitioning trust to a new key ($K_2$) while allowing the compromised key ($K_1$) a grace period to only execute already-installed apps. However, a combination of logic flaws allows an attacker holding the compromised key to bypass the rotation mechanism and push malicious updates.
1. Unconditional acceptance of previous_key in IwaIdentityValidator
In components/webapps/isolated_web_apps/identity/iwa_identity_validator.cc, the Matches function verifies signatures against KeyRotationInfo. It returns true if the key matches either the expected_key ($K_2$) or the previous_key ($K_1$). This validator is invoked during the signature verification path for both new installations and updates (via IsolatedWebAppInstallCommandHelper::CheckTrustAndSignatures). Because it does not check the operation context, a malicious update bundle signed only with the compromised $K_1$ will pass identity validation.
2. Key rotation check bypass for version-increasing updates
In chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command.cc, the HandleKeyRotationOrDowngradeIfNecessary function enforces key rotation logic only when the update version is the same as the current version. If pending_version > current_version, the command proceeds immediately without verifying that the update actually contains the expected_key (via pending_update_has_rk). An attacker can simply increment the version number in their malicious bundle to bypass this final enforcement check.
3. Bypassable discovery heuristic
IsolatedWebAppUpdateDiscoveryTask::CheckIntegrityBundleForRotatedKey downloads the first 8 KiB of a bundle to heuristically check for the rotated key. It assumes the integrity block fits within this chunk by checking for two 📦 markers (initial_bytes->rfind("📦") != initial_bytes->find("📦")). If an attacker pads the integrity block such that only one marker falls within the first 8 KiB, this condition evaluates to false, the heuristic is bypassed, and the full malicious bundle is downloaded and staged.
Potential Attack Steps
Note: These are suggested steps based on static analysis; our tooling agent does not have the ability to run code to verify them dynamically.
- The attacker holds a compromised IWA signing key ($K_1$) for an app currently installed on a victim's device at version $V_1$.
- The legitimate developer rotates the key via the KDC, setting the expected key to $K_2$ and the previous key to $K_1$.
- The attacker creates a malicious IWA update bundle signed only with $K_1$, and sets its version to $V_2$ (where $V_2 > V_1$).
- The attacker pads the integrity block of the bundle to exceed 8 KiB.
- The victim's Chrome instance discovers the update. The 8 KiB download heuristic is bypassed because the padding pushes the second
📦marker out of the initial chunk. - The update is fully downloaded and staged. Signature validation succeeds because
IwaIdentityValidatorunconditionally accepts the compromised $K_1$. - During update application,
IsolatedWebAppApplyUpdateCommandskips key rotation enforcement because the attacker chose a version $V_2 > V_1$. - The malicious update is installed over the legitimate app, granting the attacker's code access to privileged
isolated-app://APIs (e.g.,DIRECT_SOCKETS).
Suggested Fixes
IwaIdentityValidatorContext Awareness: Modify the validator to reject theprevious_keyduring installation and update flows. It should only be accepted for the execution of already-installed legacy versions.- Enforce Rotation on Version Increases: Update
IsolatedWebAppApplyUpdateCommand::HandleKeyRotationOrDowngradeIfNecessaryto enforce the presence of the rotated key (kr_data->pending_update_has_rk) even whenpending_version > current_version, provided a rotation is actively pending (!kr_data->current_installation_has_rk). - Robust Integrity Block Parsing: Remove the fragile 8 KiB string-search heuristic in
IsolatedWebAppUpdateDiscoveryTask. Instead, securely parse the integrity block's length from the bundle header and download exactly the bytes needed to validate the presence of the rotated key.
Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234
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 identity validator does not check the operation context and accepts the previous key for updates, the update command skips key rotation checks when the version increases, and the discovery heuristic relies on a fragile string search that can be evaded by padding.
Impact
An attacker with a compromised signing key could push a malicious update and gain access to privileged IWA APIs, but the report notes these steps are based on static analysis and have not been dynamically verified.
What the attacker needed
Compromised IWA signing key; victim has the app installed; developer has rotated the key
The fix
The validator should reject the previous key during installation and update flows, key rotation enforcement should apply even when the version increases, and the integrity block should be parsed securely instead of using a string-search heuristic.
How it was found
- The attacker holds a compromised IWA signing key for an app installed on a victim's device.
- The legitimate developer rotates the key, setting the expected key to a new key and the previous key to the compromised one.
- The attacker creates a malicious update bundle signed only with the compromised key and sets its version higher than the current version.
- The attacker pads the integrity block of the bundle to exceed 8 KiB.
- The victim's Chrome instance discovers the update; the 8 KiB download heuristic is bypassed because the padding pushes the second marker out of the initial chunk.
- The update is fully downloaded and staged; signature validation succeeds because the validator unconditionally accepts the compromised key.
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.
Isolated Web Apps are a special kind of web app in Chrome that get extra privileges. When a developer's signing key is stolen, Chrome has a key rotation feature to move trust to a new key while still allowing the old key to run already-installed apps for a short time. This report found that the old key can still be used to install new malicious updates, letting an attacker take over the app.
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.