Skip to content
Access control Advisory Advanced CVE-2026-87479

Insufficient policy enforcement in Extensions (CVE-2026-87479)

A compromised renderer can spoof the referrer and user-gesture fields in the DownloadURL IPC, letting it bypass the ExtensionInstallSources policy and Safe Browsing warnings. This allows an attacker to prompt the user to install a malicious, self-signed extension.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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 compromised renderer can spoof the referrer and has_user_gesture fields in the DownloadURL Mojo IPC. The browser trusts these parameters without authoritative validation, allowing an attacker to bypass the ExtensionInstallSources policy and Safe Browsing warnings to prompt the user to install a malicious, self-signed extension.

Affected files:

  • content/browser/renderer_host/render_frame_host_impl.cc
  • chrome/browser/extensions/extension_management.cc
  • chrome/browser/download/download_target_determiner.cc
  • extensions/browser/crx_installer.cc
  • chrome/browser/download/download_crx_util.cc
  • content/browser/renderer_host/ipc_utils.cc

Estimated timestamp from git blame: 2024-12-10

Vulnerability Details

The browser process exposes the LocalFrameHost::DownloadURL Mojo IPC method to renderer processes. When a renderer sends a blink::mojom::DownloadURLParams message, RenderFrameHostImpl::DownloadURL processes it and calls VerifyDownloadUrlParams (content/browser/renderer_host/ipc_utils.cc). While this function validates elements like the blob token and initiator origin, it does not validate the referrer or has_user_gesture fields against authoritative browser-side state.

These unverified fields are copied into a download::DownloadUrlParameters object and passed to the download subsystem. This creates a critical security boundary violation when enterprise policies are in use:

  1. Warning Suppression: During download processing, DownloadTargetDeterminer::GetDangerLevel evaluates if the download is dangerous. If download_->HasUserGesture() is true and the download is deemed a trusted extension (checked via ExtensionManagement::IsOffstoreInstallAllowed), it returns DownloadFileType::NOT_DANGEROUS. This entirely suppresses Safe Browsing dangerous file warnings.
  2. Policy Bypass: ExtensionManagement::IsOffstoreInstallAllowed checks if the referrer matches the ExtensionInstallSources enterprise policy. Because the referrer is fully controlled by the compromised renderer, an attacker can spoof a trusted domain (e.g., https://trusted.example.corp/).
  3. Signature Proof Bypass: Once the download completes, ChromeDownloadManagerDelegate::ShouldOpenDownload checks the allowed status again. Because the spoofed referrer satisfies the policy check, CrxInstaller is initialized with OffStoreInstallAllowedBecausePref. This causes CrxInstaller::InstallCrx to use VerifierFormat::CRX3 (which only requires a standard cryptographic signature) instead of VerifierFormat::CRX3_WITH_PUBLISHER_PROOF (which requires Google Web Store keys).

As a result, a compromised renderer can force the browser to display a legitimate-looking "Add extension?" permissions prompt for an arbitrary, attacker-signed .crx file, bypassing strict enterprise controls.

Potential Reproduction Steps

Note: Our tooling agent does not currently have the ability to run code, so these are suggested/potential steps based on static analysis of the Chromium codebase.

  1. Assume a target browser is configured with an ExtensionInstallSources enterprise policy (e.g., ["https://trusted.domain/*"]).
  2. The attacker hosts a malicious, self-signed .crx extension file.
  3. The attacker compromises a renderer process (e.g., via a V8 vulnerability).
  4. From the compromised renderer, the attacker sends a LocalFrameHost::DownloadURL Mojo IPC to the browser.
  5. In the blink::mojom::DownloadURLParams payload, the attacker sets:
    • url: The location of the malicious .crx.
    • referrer: Spoofed to https://trusted.domain/.
    • has_user_gesture: Spoofed to true.
  6. The browser receives the IPC, trusts the forged parameters, suppresses Safe Browsing warnings, and presents the user with a standard extension installation prompt. If the user accepts, the malicious extension is installed with requested privileges.

Suggested Fix

The browser process must not rely on renderer-provided data for security decisions (CWE-807).

  1. In RenderFrameHostImpl::DownloadURL, validate the has_user_gesture parameter against the browser's authoritative state (e.g., by checking HasTransientUserActivation()). If the renderer claims a gesture but the browser disagrees, the gesture claim should be dropped or the IPC terminated.
  2. Similarly, validate the referrer URL against GetLastCommittedOrigin() or GetLastCommittedURL() for the given frame, ensuring a compromised renderer cannot claim a referrer outside of its actual origin.

Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955


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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

The browser process trusts renderer-supplied referrer and user-gesture values without checking them against its own authoritative state.

Impact

A compromised renderer could bypass enterprise extension-install policies and Safe Browsing warnings, leading the user to install a malicious extension if they accept the prompt.

What the attacker needed

ExtensionInstallSources policy configured; Attacker can compromise a renderer; User accepts install prompt

The fix

The browser should validate the user-gesture and referrer fields against its own authoritative state before using them for security decisions.

How it was found

  1. Assume the browser has an ExtensionInstallSources policy set.
  2. The attacker hosts a malicious, self-signed .crx extension file.
  3. The attacker compromises a renderer process.
  4. From the compromised renderer, send a DownloadURL IPC with spoofed referrer and user-gesture fields.
  5. The browser trusts the forged parameters, suppresses warnings, and shows an extension install prompt.

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.

When you download a file, your browser asks the website's code (the renderer) for details like where the download came from and whether you clicked something. This report says a hacked renderer can lie about those details. The browser then trusts the lie, skips security warnings, and may let you install a bad extension.

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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.