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

Incorrect authorization in GetUserMedia (CVE-2026-106407)

A logic flaw in ChromeOS media stream handling allows a compromised renderer to bypass privacy indicators during multi-screen capture. An attacker could silently capture all connected monitors if the origin is allowlisted by enterprise policy.

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 Chrome Security team.

Overview: A logic flaw in MediaStreamManager on ChromeOS potentially allows a compromised renderer to bypass mandatory privacy UI indicators during multi-screen capture. By desynchronizing the request_all_screens flag and the stream_type parameter, an attacker can silently capture all connected monitors. This requires the renderer's origin to be allowlisted by the MultiScreenCaptureAllowedForUrls enterprise policy.

Affected files:

  • content/browser/renderer_host/media/media_stream_manager.cc
  • content/browser/renderer_host/media/media_stream_dispatcher_host.cc
  • chrome/browser/media/webrtc/chrome_screen_enumerator.cc
  • chrome/browser/chrome_content_browser_client.cc

Estimated timestamp from git blame: 2025-07-31

Summary

Under specific enterprise policy conditions on ChromeOS, a compromised renderer can potentially initiate a multi-screen capture session without triggering any mandatory privacy indicators (such as the standard sharing notification bar or the system tray icons managed by MultiCaptureUsageIndicatorService). This allows for the silent exfiltration of all visible screens.

Prerequisites

  • The target device is running ChromeOS.
  • The origin is allowlisted via the MultiScreenCaptureAllowedForUrls enterprise policy.
  • The attacker has achieved Remote Code Execution (RCE) in the renderer process hosting the allowlisted origin.

Root Cause Analysis

In blink.mojom.MediaStreamDispatcherHost.GenerateStreams, a multi-screen capture request triggers specific logic via the request_all_screens boolean flag. However, the UI and privacy indicator mechanisms expect multi-screen captures to explicitly use the DISPLAY_VIDEO_CAPTURE_SET stream type.

A compromised renderer can desynchronize these expectations, leading to a complete bypass of all privacy UI:

  1. Missing Invariant Check: MediaStreamDispatcherHost::ValidateControlsForGenerateStreams does not enforce that request_all_screens == true strictly pairs with DISPLAY_VIDEO_CAPTURE_SET. An attacker can supply request_all_screens = true alongside the standard single-screen type video.stream_type = DISPLAY_VIDEO_CAPTURE.
  2. Policy Authorization: On the UI thread, CheckRequestAllScreensAllowed authorizes the multi-screen capture purely based on the request_all_screens flag and the origin's presence in the enterprise policy allowlist.
  3. Standard UI Proxy Bypass: Back on the IO thread, MediaStreamManager::SetUpRequest executes an if (request->stream_controls().request_all_screens) block, which calls screen_enumerator->EnumerateScreens and executes an early return;. This skips the subsequent call to PostRequestToUI, leaving the session's request->ui_proxy default-initialized to nullptr.
  4. Indicator Suppression: Once the physical monitors are enumerated, the browser suppresses all privacy indicators:
    • Multi-capture UI bypassed: NotifyMultiCaptureStateChanged evaluates IsGetAllScreensMedia(). Because the attacker provided DISPLAY_VIDEO_CAPTURE rather than DISPLAY_VIDEO_CAPTURE_SET, this returns false, and the ChromeOS multi-capture tray indicators are bypassed.
    • Standard UI bypassed: MediaStreamManager::OnStreamStarted attempts to display the standard sharing bar by checking if (request->ui_proxy). Since the ui_proxy was bypassed during setup and remains nullptr, standard UI is completely suppressed.

Potential Reproduction Steps

(Note: These are suggested steps based on static code analysis; our tooling agent cannot execute code to provide a working proof-of-concept.)

  1. On a ChromeOS device, ensure an origin (e.g., an Isolated Web App or enterprise domain) is allowlisted via the MultiScreenCaptureAllowedForUrls enterprise policy.
  2. Compromise the renderer process for that origin.
  3. Send a crafted blink.mojom.MediaStreamDispatcherHost.GenerateStreams Mojo request with the following StreamControls:
    • video.stream_type = DISPLAY_VIDEO_CAPTURE
    • audio.stream_type = NO_SERVICE
    • request_all_screens = true
  4. The browser process grants valid session IDs for all enumerated physical monitors.
  5. The renderer binds and records the streams silently, without any privacy UI indicators or notifications being displayed to the user.

Suggested Fix

In MediaStreamDispatcherHost::ValidateControlsForGenerateStreams (or its helper AllowedStreamTypeCombination), explicitly enforce an invariant contract between request_all_screens and stream_type.

If request_all_screens is true, the video.stream_type must strictly be DISPLAY_VIDEO_CAPTURE_SET. If this invariant is violated, the validation should fail and immediately return bad_message::BadMessageReason::MSDH_INVALID_STREAM_TYPE_COMBINATION to terminate the misbehaving renderer.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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

Likely the code does not check that a request to capture all screens uses the correct stream type, so a mismatch lets the request skip the normal privacy checks and UI.

Impact

A compromised renderer could silently capture all connected monitors without any privacy indicators, but only if the origin is allowlisted by enterprise policy and the attacker already has code execution in the renderer.

What the attacker needed

ChromeOS device; Origin allowlisted by enterprise policy; Renderer process already compromised

The fix

The validation should enforce that request_all_screens is only true when the video stream type is DISPLAY_VIDEO_CAPTURE_SET, and reject other combinations.

How it was found

  1. On a ChromeOS device, ensure an origin is allowlisted via the MultiScreenCaptureAllowedForUrls enterprise policy.
  2. Compromise the renderer process for that origin.
  3. Send a crafted GenerateStreams request with request_all_screens set to true and video stream type set to DISPLAY_VIDEO_CAPTURE.
  4. The browser process grants session IDs for all monitors.
  5. The renderer records the streams silently without any privacy indicators.

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.

This is about a bug in ChromeOS that could let a malicious program (if it already took over part of the browser) record all your screens without showing the usual warning icons. It only works if your organisation has specifically allowed that website to capture multiple screens, and the attacker must already have a way to run code inside the browser.

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.