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

Inappropriate implementation in Speech (CVE-2026-17816)

The browser process does not check page visibility for Web Speech recognition sessions on Android, relying only on a renderer-side abort. A compromised renderer could suppress that abort and keep capturing microphone audio and receiving transcripts while the tab is hidden.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: On Chrome for Android, active Web Speech recognition sessions are intended to abort when a page becomes hidden. However, this restriction is only enforced on the renderer side in Blink, which can be bypassed by a compromised renderer to capture microphone audio in the background.

Affected files:

  • content/browser/speech/speech_recognition_dispatcher_host.cc
  • third_party/blink/renderer/modules/speech/speech_recognition.cc
  • content/browser/speech/speech_recognition_manager_impl.cc
  • chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc
  • content/browser/speech/speech_recognizer_impl_android.cc

Estimated timestamp from git blame: 2014-07-24

Summary

We have identified a potential logic and permission usage-restriction bypass in Chrome for Android's Web Speech API implementation. While Blink includes a client-side mechanism to abort active speech recognition sessions when a page transitions to a hidden state on Android, the browser process performs no corresponding visibility validation. A compromised renderer can bypass this check, allowing a hidden tab to potentially capture microphone audio and receive live speech transcripts.

Please note that these findings are based on a static analysis of the codebase, as we currently lack the tooling to execute code or run a working Proof of Concept (PoC) on a live target.

Affected Files and Components

  • third_party/blink/renderer/modules/speech/speech_recognition.cc
  • content/browser/speech/speech_recognition_dispatcher_host.cc
  • content/browser/speech/speech_recognition_manager_impl.cc
  • chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc
  • content/browser/speech/speech_recognizer_impl_android.cc

Detailed Analysis and Root Cause

On Android, Blink is designed to abort an active Web Speech recognition session when the page becomes hidden (for example, when the user switches tabs or backgrounds Chrome):

C++
// third_party/blink/renderer/modules/speech/speech_recognition.cc
void SpeechRecognition::PageVisibilityChanged() {
#if BUILDFLAG(IS_ANDROID)
  if (!GetPage()->IsPageVisible())
    abort();
#endif
}

When abort() is called, Blink sends a SpeechRecognitionSession::Abort message over Mojo. However, this renderer-side call is the only mechanism that terminates the browser-process recognition session when the page transitions to a hidden state on Android.

The browser process does not perform any visibility validation of its own for Web Speech recognition:

  1. SpeechRecognitionDispatcherHost (content/browser/speech/speech_recognition_dispatcher_host.cc) resolves the RenderFrameHost, captures the origin, and checks permissions, but does not consult or check page visibility during the session lifecycle or start.
  2. SpeechRecognitionManagerImpl (content/browser/speech/speech_recognition_manager_impl.cc) and ChromeSpeechRecognitionManagerDelegate (chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc) check for prerendering and view types, but do not verify whether the requesting frame/tab is currently hidden.
  3. FrameSessionTracker (content/browser/speech/speech_recognition_manager_impl.cc) only aborts the session upon document destruction (DocumentUserData lifecycle) and does not observe visibility changes.
  4. SpeechRecognizerImplAndroid (content/browser/speech/speech_recognizer_impl_android.cc) does not implement any visibility-based teardown.

In contrast, other similar media or speech output paths (such as the Text-to-Speech controller in content/browser/speech/tts_controller_impl.cc) observe visibility changes browser-side and stop playback when hidden.

Potential Exploit Scenario

Under a compromised-renderer threat model (where an attacker has achieved execution control in a sandboxed renderer process):

  1. The user visits an attacker-controlled origin and grants microphone permission for the Web Speech API.
  2. The compromised renderer direct-binds the media::mojom::SpeechRecognizer Mojo interface and initiates a speech recognition session.
  3. The user switches tabs or backgrounds Chrome, causing the tab's WebContents to transition to a hidden state.
  4. An uncompromised Blink instance would normally trigger PageVisibilityChanged() and send an Abort IPC. The compromised renderer suppresses this IPC.
  5. Because there are no browser-side checks or observers for visibility in the speech recognition path, the session remains active. The Android system's speech recognizer continues capturing audio, and the browser process continues to stream captured speech transcripts back to the hidden compromised renderer.
  6. Additionally, because the browser-side start request paths lack visibility checks, a compromised renderer can also start a brand-new recognition session while hidden.

Suggested Remediation

Implement defensive browser-side checks. On Android, SpeechRecognitionDispatcherHost or SpeechRecognitionManagerImpl should track page visibility (for example, by implementing WebContentsObserver or checking RenderFrameHost::GetVisibilityState()) and automatically terminate active sessions when the corresponding page becomes hidden, mirroring the design pattern used in the TTS controller.

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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 visibility check for Web Speech recognition on Android exists only in the renderer (Blink) and is not enforced in the browser process.

Impact

A compromised renderer could capture microphone audio and receive live speech transcripts while the tab is hidden, and could also start a new recognition session while hidden.

What the attacker needed

Compromised renderer; user grants microphone permission; Android device

The fix

The browser process should track page visibility and automatically terminate active speech recognition sessions when the page becomes hidden, mirroring the TTS controller.

How it was found

  1. The user visits an attacker-controlled origin and grants microphone permission for the Web Speech API.
  2. The compromised renderer direct-binds the media::mojom::SpeechRecognizer Mojo interface and initiates a speech recognition session.
  3. The user switches tabs or backgrounds Chrome, causing the tab's WebContents to transition to a hidden state.
  4. The compromised renderer suppresses the Abort IPC that Blink would normally send.
  5. Because there are no browser-side checks or observers for visibility in the speech recognition path, the session remains active and transcripts continue to stream to the hidden renderer.

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 switch tabs on a phone, a website should stop listening through the microphone. Chrome normally stops it from inside the page's code, but the part of Chrome that actually runs the microphone does not check whether the page is still visible. If an attacker can take over the page's code, they can skip the stop command and keep recording in the background.

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.