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

Missing authorization in Lighthouse (CVE-2026-79053)

The DevTools Lighthouse panel forwards renderer-originated protocol events to its worker without checking their origin, and the worker's connection code treats an empty session identifier as absent. A compromised renderer could therefore forge an event so that privileged DevTools Protocol commands are sent on the root Tab connection, potentially bypassing Site Isolation.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 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: A logic vulnerability in the DevTools Lighthouse panel may allow a compromised renderer to issue privileged Chrome DevTools Protocol (CDP) commands on the root Tab connection. By forging protocol events, an attacker could exploit the Lighthouse worker as a confused deputy to perform unauthorized operations and spoof responses.

Affected files:

  • third_party/devtools-frontend/src/front_end/panels/lighthouse/LighthouseProtocolService.ts
  • third_party/devtools-frontend/src/front_end/core/protocol_client/DevToolsCDPConnection.ts
  • third_party/devtools-frontend/src/front_end/services/puppeteer/PuppeteerConnection.ts
  • third_party/devtools-frontend/src/front_end/entrypoints/lighthouse_worker/LighthouseWorkerService.ts
  • content/browser/devtools/devtools_session.cc

Estimated timestamp from git blame: 2025-11-03

Summary

A potential vulnerability has been identified in the interaction between the DevTools Lighthouse panel and its back-end worker. It appears that a compromised renderer can issue privileged Chrome DevTools Protocol (CDP) commands on the frontend's root connection (typically the Tab target) by performing a 'confused deputy' attack. This is achieved by forging renderer-originated protocol events that are forwarded to the Lighthouse worker's Puppeteer instance, which then issues commands targeting the root session due to insufficient sessionId validation.

Technical Details

1. Lack of Event Provenance in LighthouseProtocolService

LighthouseProtocolService.ts observes the DevTools shared root CDP connection. It forwards events to the Lighthouse worker if they contain a sessionId or if the method starts with Target. However, it does not appear to verify the provenance (origin) of these events:

TypeScript
// LighthouseProtocolService.ts
private dispatchProtocolMessage(message) {
  if (message.sessionId || ('method' in message && message.method?.startsWith('Target'))) {
    void this.send('dispatchProtocolMessage', {message});
  }
}

A compromised renderer knows its own sessionId (provided via AttachDevToolsSession) and can forge a Target.attachedToTarget notification. While the browser validates the outer sessionId, it does not prevent the renderer from emitting Target.* domain events inside that session.

2. Confused Deputy via Empty sessionId

When the Lighthouse worker's Puppeteer instance receives a forged Target.attachedToTarget event with an empty internal sessionId (e.g., ""), it may create a corresponding session state. In DevToolsCDPConnection.ts, the check if (sessionId) evaluates as false for an empty string, causing outgoing commands for that session to be dispatched on the root connection without a sessionId field. This results in the command being executed on the privileged root target (e.g., the Tab).

TypeScript
// DevToolsCDPConnection.ts
if (sessionId) {
  messageObject.sessionId = sessionId;
}

3. Cross-Session Response Spoofing

DevToolsCDPConnection.ts matches incoming protocol responses to pending commands solely by a numeric id. It fails to verify that the sessionId in the response matches the sessionId associated with the original command:

TypeScript
// DevToolsCDPConnection.ts
if ('id' in messageObject && messageObject.id !== undefined) {
  const callback = this.#callbacks.get(messageObject.id);
  // ...
  callback.resolve(messageObject);
}

Potential Impact

An attacker who has compromised a renderer could potentially use the DevTools frontend as a confused deputy to issue privileged commands, such as Target.setAutoAttach, on the root Tab connection. This could allow the attacker to attach to and control other tabs and frames, bypassing Site Isolation. Additionally, the attacker could spoof results for privileged CDP commands by guessing sequential message IDs.

Suggested Potential Steps to Reproduce

Note: These steps are theoretical as a functional proof-of-concept has not been executed.

  1. Compromise a renderer process (e.g., via a separate V8 exploit).
  2. Wait for the user to open the DevTools Lighthouse panel and start an audit on the compromised page.
  3. Retrieve the renderer's CDP session_id (e.g., "S_page").
  4. From the renderer, use the DevToolsSessionHost Mojo interface to dispatch a forged Target.attachedToTarget notification containing an empty internal sessionId and tagged with "S_page".
  5. Observe if the DevTools frontend issues privileged commands (like Target.setAutoAttach) on its root connection without a sessionId field.

Suggested Fix

  1. Verify Provenance: Update LighthouseProtocolService.ts to ensure only events originating from the backend (and not the renderer) are forwarded to the worker.
  2. Strict Validation: In DevToolsCDPConnection.ts, use a strict check for sessionId (e.g., sessionId !== undefined) instead of a truthiness check to ensure empty strings are not stripped.
  3. Session-Aware Response Matching: Modify DevToolsCDPConnection.ts to include the sessionId in the command callback map and verify it matches the sessionId in incoming responses.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


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 Lighthouse protocol service forwards events without verifying their provenance, and the connection code uses a truthiness check on the session identifier so an empty string is treated as no session, causing commands to be dispatched on the root connection.

Impact

An attacker who has already compromised a renderer could potentially issue privileged commands on the root Tab connection, attach to and control other tabs and frames, bypass Site Isolation, and spoof command responses; the steps are theoretical and no proof-of-concept was executed.

What the attacker needed

Compromised renderer process; user opens Lighthouse panel; user starts an audit on the page

The fix

The report suggests verifying event provenance, using a strict check for the session identifier instead of a truthiness check, and matching responses by session as well as message identifier; it does not say the issue was fixed.

How it was found

  1. Compromise a renderer process.
  2. Wait for the user to open the Lighthouse panel and start an audit on the compromised page.
  3. Retrieve the renderer's CDP session identifier.
  4. Use the DevToolsSessionHost interface to dispatch a forged Target.attachedToTarget notification with an empty internal session identifier.
  5. Observe whether the frontend issues privileged commands on its root connection without a session identifier.

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.

Chrome DevTools has a panel called Lighthouse that runs audits in a separate worker. The panel passes messages from the page being audited to that worker, but it does not check where those messages really came from. If an attacker has already taken over a page's process, they can send a fake message that makes the worker run powerful browser commands as if they came from the trusted DevTools side.

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.