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

Missing authorization in Mobile (CVE-2026-106406)

The iOS Chrome print coordinator overwrites the shared system print controller's properties without checking whether a print session is already active. A background tab calling window.print() could therefore replace the content of an on-screen print dialog, crash the browser through a window hierarchy mismatch, or leak the web view.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 months

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: The PrintCoordinatorImpl unconditionally overwrites the shared UIPrintInteractionController singleton properties without verifying if a print session is active. A background tab can trigger a print request via window.print(), hijacking an ongoing print dialog in a foreground tab. This leads to potential print content spoofing, a browser crash (DoS) due to a window hierarchy mismatch, and a persistent memory leak.

Affected files:

  • ios/chrome/browser/print/coordinator/print_coordinator_impl.mm

Estimated timestamp from git blame: 2026-01-16

Vulnerability Mechanism

In iOS Chrome, printing is managed using the UIPrintInteractionController system singleton ([UIPrintInteractionController sharedPrintController]).

When a print job is initiated, PrintCoordinatorImpl::printRenderer:orItem:withTitle:baseViewController: immediately and unconditionally modifies the singleton's properties (delegate, printInfo, printPageRenderer, and printingItem) before calling presentAnimated:.

Simultaneously, PrintJavaScriptFeature::ScriptMessageReceived handles window.print() calls from web content. It checks !message.is_main_frame() && !message.is_user_interacting() to block background iframes. However, a background main frame satisfies message.is_main_frame() and is allowed to proceed without user interaction.

Because the UIPrintInteractionController state is shared across the entire application (even across multiple windows in an iPad split-view scenario), a background tab can overwrite the properties of an active, user-initiated print dialog currently on screen.

Potential Security Impacts

  1. Print Content Spoofing: If a user is reviewing a legitimate document in the system print dialog, and a background tab fires window.print(), the printPageRenderer on the singleton is replaced. UIKit does not snapshot the renderer at presentation time; it reads from it when the spooler processes the job. If the user taps "Print", they will unknowingly print the attacker's fraudulent content instead of the expected document.

  2. Denial of Service (Browser Crash): When the background tab initiates printing, its PrintCoordinatorImpl sets itself as the singleton's delegate. If the background tab belongs to a different window (e.g., in iPad split-view), the delegate's printInteractionControllerParentViewController: method returns a baseViewController from the background window hierarchy. UIKit attempts to present the print interaction controller (or reconcile an existing presentation) using a view controller from a different, inactive window hierarchy, triggering an NSInternalInconsistencyException that crashes the Chrome process.

  3. Memory Leak: The completion handler passed to presentAnimated:completionHandler: does not clear the singleton's properties after the dialog is dismissed. The UIPrintInteractionController singleton indefinitely retains the last used UIPrintPageRenderer, which retains the WKWebView. This causes a substantial memory leak of the web view after every print job.

Potential Steps to Trigger

(Note: These are suggested steps based on static analysis, as our tooling cannot execute a live proof of concept yet)

  1. An attacker lures a user to a malicious site, and instructs them to open a legitimate, sensitive site (e.g., a bank statement) in a second window (split-view) or a foreground tab.
  2. The user initiates a print action on the legitimate site.
  3. The system print dialog is displayed, showing the legitimate document.
  4. The malicious site, using a timer or visibility API listener, executes window.print() in its main frame.
  5. The background print request bypasses interaction checks and updates the UIPrintInteractionController singleton with the malicious site's content and delegate.
  6. Either the browser crashes immediately due to the delegate/hierarchy mismatch, or the user proceeds to print, generating a spoofed physical/PDF document containing the attacker's content.

Recommendation

  1. State Checking: Before overwriting properties on [UIPrintInteractionController sharedPrintController], verify if a print session is already active (e.g., check printInteractionController.delegate != nil). If a session is active, ignore or queue the background request.
  2. Restrict Background Printing: Update PrintJavaScriptFeature::ScriptMessageReceived to check web_state->IsVisible() to ensure only the active, visible tab can trigger printing.
  3. Cleanup: In the completionHandler of presentAnimated:, set delegate = nil, printPageRenderer = nil, and printingItem = nil to prevent memory leaks.

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 print coordinator mutates the application-wide UIPrintInteractionController singleton unconditionally, and the JavaScript bridge only blocks background iframes rather than background main frames.

Impact

A user could unknowingly print attacker-controlled content instead of the expected document, the browser could crash, and the web view could be retained in memory after each print job; the report notes the steps are from static analysis and no live proof of concept was executed.

What the attacker needed

Victim visits attacker-controlled site; victim opens a second tab or split-view window; victim starts printing a legitimate page; attacker page calls window.print() in its main frame

The fix

The print coordinator should check whether a print session is already active before changing the shared controller, restrict printing to visible tabs, and clear the controller's properties in the completion handler.

How it was found

  1. The attacker lures the user to a malicious site and gets them to open a legitimate site in a second window or foreground tab.
  2. The user starts a print action on the legitimate site.
  3. The system print dialog appears showing the legitimate document.
  4. The malicious site uses a timer or visibility listener to call window.print() in its main frame.
  5. The background request bypasses the interaction checks and overwrites the shared print controller with the attacker's content and delegate.
  6. The browser either crashes from the delegate/hierarchy mismatch or the user prints the spoofed content.

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.

On an iPhone or iPad, Chrome uses a single shared system object to show the print dialog. The code that starts a print job changes that shared object without first checking whether a print dialog is already open. A malicious page in another tab can therefore swap the document being printed, crash the app, or leave memory behind.

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.