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

Policy bypass in GPU (CVE-2026-11203)

A DRM bypass exists in the macOS compositor where a recycled video layer fails to update its preventsCapture property when switching from clear to protected video. An attacker could screen-record DRM-protected content by transitioning a video from clear to protected within the same page layout.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 42 days

Flapjack, 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 go/chrome-ai-generated-security-bugs-faq for more information.

Overview: A potential DRM bypass exists in the macOS compositor where hardware-protected video can be screen-recorded. This occurs because the preventsCapture property of an AVSampleBufferDisplayLayer is not updated when a clear video layer is recycled to display protected content. An attacker can exploit this by smoothly transitioning a video from a clear stream to a DRM-protected stream within the same page layout.

Affected files:

  • ui/accelerated_widget_mac/ca_renderer_layer_tree.mm

Estimated timestamp from git blame: 2024-12-06

Overview

A potential DRM bypass vulnerability exists in the macOS compositor (ui/accelerated_widget_mac/ca_renderer_layer_tree.mm). When a webpage transitions from playing clear video to hardware-protected video, the GPU process may recycle the existing CoreAnimation layer (AVSampleBufferDisplayLayer) to save performance. However, it fails to update the layer's preventsCapture property during this reuse, leaving the protected content vulnerable to screen recording tools.

Root Cause Analysis

In CARendererLayerTree::ContentLayer::CommitToCA, the code checks if an old_layer_ of the same type_ (in this case, CALayerType::kVideo) is available for reuse. If it is, the code swaps the underlying ca_layer_ and av_layer_:

C++
// ui/accelerated_widget_mac/ca_renderer_layer_tree.mm
if (old_layer_ && old_layer_->type_ == type_) {
  DCHECK(old_layer_->ca_layer_);
  std::swap(ca_layer_, old_layer_->ca_layer_);
  std::swap(av_layer_, old_layer_->av_layer_);
  // ... visual properties are updated, but preventsCapture is untouched ...
} else {
  switch (type_) {
    // ...
    case CALayerType::kVideo:
      av_layer_ = [[AVSampleBufferDisplayLayer alloc] init];
      // ...
      if (protected_video_type_ != gfx::ProtectedVideoType::kClear) {
        av_layer_.preventsCapture = true;
      }
      break;

Notice that av_layer_.preventsCapture is only set to true when a new layer is allocated. During layer recycling (the if block), preventsCapture is completely ignored.

Because the fallback layer matching algorithm (CALayerFallBack) matches layers based on their relative structural order in the tree, a new kHardwareProtected video frame can successfully match and reuse an old kClear video frame if the DOM structure hasn't changed. The recycled layer retains its original preventsCapture = NO state, completely bypassing macOS screen capture restrictions for the protected frame.

Potential Attacker Steps

Note: These are suggested steps based on static analysis, as our automated tooling agent does not have the ability to run code or execute a live proof-of-concept.

  1. An attacker hosts a webpage with a <video> element playing a clear, unprotected YUV video stream.
  2. The macOS GPU process creates a new AVSampleBufferDisplayLayer for this video. Because the content is clear, preventsCapture defaults to false.
  3. The attacker uses JavaScript to dynamically switch the video source to a DRM-protected stream (e.g., using Widevine/EME) without altering the layout or layer hierarchy of the page.
  4. The GPU process receives the new hardware-protected DrawQuad.
  5. The compositor's fallback matching algorithm pairs the new protected video layer with the old clear video layer, recycling the AVSampleBufferDisplayLayer.
  6. The protected video frames are enqueued into the recycled layer. Since preventsCapture was never updated to true, a user or malicious application can successfully screen-record the DRM-protected video.

Suggested Fix

Update the preventsCapture property dynamically during the layer recycling path to ensure it correctly reflects the protected_video_type_ of the current frame.

C++
if (old_layer_ && old_layer_->type_ == type_) {
  DCHECK(old_layer_->ca_layer_);
  std::swap(ca_layer_, old_layer_->ca_layer_);
  std::swap(av_layer_, old_layer_->av_layer_);
  
  if (type_ == CALayerType::kVideo) {
    bool should_prevent_capture = (protected_video_type_ != gfx::ProtectedVideoType::kClear);
    if (av_layer_.preventsCapture != should_prevent_capture) {
      av_layer_.preventsCapture = should_prevent_capture;
    }
  }
  // ...

Evaluated with Chrome root at commit: 4a3e9db74111a3c6c4b3acfd70050a05077cf27a


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 layer recycling code path does not update the preventsCapture property when reusing an existing AVSampleBufferDisplayLayer for protected content.

Impact

A user or malicious application could screen-record DRM-protected video, bypassing macOS screen capture restrictions.

What the attacker needed

MacOS system; victim visits attacker's webpage; video transitions from clear to DRM-protected

The fix

The preventsCapture property should be updated dynamically during the layer recycling path to reflect the current protected_video_type_.

How it was found

  1. An attacker hosts a webpage with a video element playing a clear, unprotected YUV video stream.
  2. The macOS GPU process creates a new AVSampleBufferDisplayLayer for this video, with preventsCapture defaulting to false.
  3. The attacker uses JavaScript to dynamically switch the video source to a DRM-protected stream without altering the layout.
  4. The GPU process receives the new hardware-protected DrawQuad.
  5. The compositor's fallback matching algorithm pairs the new protected video layer with the old clear video layer, recycling the AVSampleBufferDisplayLayer.
  6. The protected video frames are enqueued into the recycled layer, and since preventsCapture was never updated, screen recording succeeds.

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 watch a video on a computer, the system sometimes reuses the same 'window' for a new video to save resources. This report found that when switching from a normal video to a protected one (like a movie with DRM), the system forgot to turn on a setting that blocks screen recording. So someone could record the protected video without permission.

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.