Missing authorization in WebAppInstalls (CVE-2026-106194)
The browser process trusted the renderer's Web App Manifest fields for file and protocol handlers without re-validating them, so a compromised renderer could register handlers pointing at cross-origin URLs. When a victim later opened an associated local file, the PWA could be navigated to the attacker's site and given read access to that file.
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 security team.
Overview: The browser process fails to validate the file_handlers and protocol_handlers fields of Web App Manifests received from the renderer during PWA installation. A compromised renderer can forge a manifest containing cross-origin action URLs or restricted protocol schemes, which the browser blindly persists and registers with the operating system. This potentially allows a sandbox escape leading to local file exfiltration or sensitive protocol interception.
Affected files:
chrome/browser/web_applications/commands/install_app_from_verified_manifest_command.ccchrome/browser/web_applications/jobs/manifest_to_web_app_install_info_job.ccchrome/browser/web_applications/web_app_install_utils.ccchrome/browser/web_applications/web_app.ccchrome/browser/apps/app_service/app_install/web_app_installer.cc
Estimated timestamp from git blame: 2026-03-30
Description
During a standard Progressive Web App (PWA) installation, the browser process requests the Web App Manifest from the renderer process via Mojo IPC (ManifestManagerHost::GetManifest). The renderer is expected to parse the manifest and enforce security constraints (e.g., ensuring handler URLs are within scope and protocol schemes are safelisted).
However, the browser process implicitly trusts the blink::mojom::ManifestPtr returned by the renderer for several sensitive fields. While ManifestManagerHost::MaybeGetBadMessageStringForManifest (content/browser/manifest/manifest_manager_host.cc) correctly re-validates the start_url and scope, it completely omits validation for file_handlers, protocol_handlers, share_target, and shortcuts.
Because the browser lacks these checks, a compromised renderer can bypass the renderer-side Blink parser and send a malicious ManifestPtr directly over Mojo. The browser's ManifestToWebAppInstallInfoJob blindly copies these fields:
PopulateFileHandlerInfoFromManifest(chrome/browser/web_applications/web_app_install_utils.cc:369) receives theapp_scopebut never uses it, copying the cross-originactionURL verbatim.ToWebAppProtocolHandlers(chrome/browser/web_applications/jobs/manifest_to_web_app_install_info_job.cc:442) copies protocol schemes and URLs without checking them against the allowed scheme safelist or the app's scope.
The unvalidated handlers are serialized into the WebAppDatabase and registered with the underlying Operating System. When a user later triggers the handler (e.g., by double-clicking a registered file type), the OS instructs Chrome to handle the file. WebAppLaunchProcess retrieves the malicious action URL from the database and navigates the PWA window to the attacker's cross-origin endpoint, potentially passing a FileSystemHandle directly to the attacker's site.
Potential Reproduction Steps
Note: These are potential steps as our tooling agent does not have the ability to run code to create a full exploit chain.
- An attacker hosts a malicious website and lures a victim to it.
- The attacker exploits an unrelated memory safety vulnerability (e.g., a V8 Use-After-Free) to compromise the sandboxed renderer process hosting their site.
- The site triggers a PWA install prompt.
- When the browser process requests the manifest, the compromised renderer intercepts the Mojo call.
- The renderer returns a forged
blink::mojom::ManifestPtrwherestart_urlandscopeare valid (same-origin), butfile_handlers[0].actionis set to an attacker-controlled data exfiltration URL (e.g.,https://attacker.com/steal_file). - The browser process accepts the manifest, failing to validate the file handler's scope, and registers the app and file association with the OS.
- The victim later double-clicks a local file associated with the app.
- The OS launches Chrome, which navigates the PWA to
https://attacker.com/steal_fileand provides it with read access to the local file via thewindow.launchQueueAPI, completing the sandbox escape and data exfiltration.
Suggested Fix
Strict, redundant validation must be added to the browser process to ensure it does not trust the renderer for sensitive manifest fields.
- IPC Validation: Update
ManifestManagerHost::MaybeGetBadMessageStringForManifestincontent/browser/manifest/manifest_manager_host.ccto iterate overfile_handlers,protocol_handlers,share_target, andshortcuts. - Scope Checks: Ensure that the
actionandurlfields of these handlers are strictly within the application'sscope. - Protocol Safelist: Ensure that the
protocolfield ofprotocol_handlersis checked against the permitted custom handler schemes (similar toVerifyCustomHandlerSchemein Blink). - Enforcement: If any of these validations fail, the browser should reject the manifest and terminate the renderer process with a Mojo bad message.
Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33
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 browser-side manifest validation only re-checked start_url and scope, omitting file_handlers, protocol_handlers, share_target and shortcuts, so renderer-supplied handler URLs and schemes were persisted unchecked.
Impact
A compromised renderer could potentially escape the sandbox, exfiltrate local files or intercept sensitive protocols, though the report notes the steps are potential and no full exploit chain was demonstrated.
What the attacker needed
Victim visits attacker site; separate renderer compromise needed; victim installs the PWA; victim opens an associated file
The fix
The browser process should re-validate handler fields against the app scope and a protocol safelist, rejecting the manifest and terminating the renderer on failure.
How it was found
- Lure the victim to an attacker-hosted site.
- Compromise the sandboxed renderer using an unrelated memory safety flaw.
- Trigger a PWA install prompt from the site.
- Intercept the manifest request and return a forged manifest with a valid start_url and scope but an attacker-controlled file handler action.
- The browser accepts the manifest and registers the app and file association with the OS.
- The victim opens an associated local file, and the PWA navigates to the attacker URL with read access to the file.
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.
A web app can ask the browser to become the default handler for certain file types or link schemes. The browser is meant to check that these requests stay inside the app's own site, but here it simply believed whatever the page's process told it. If an attacker had already broken into that page's process, they could point the handler at their own server and later receive the victim's local files.
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.