Skip to content
Access control Advisory Intermediate CVE-2026-87431

Missing authorization in Extensions (CVE-2026-87431)

A DevTools extension could attach a source map URL to a script resource without that URL being validated, unlike the content URL which was checked. This allowed a file:// URL pointing at a local Windows file to be attached, potentially exposing local file contents to the extension.

Microsoft Edge Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Steps to reproduce the problem

  1. Create a devtools extension, which...
  2. Finds a script resource for a site, and then calls
  3. script.attachSourceMapURL('file:///C:/Windows/win.ini')

Problem Description

In ExtensionServer.ts' onAttachSourceMapToResource, the message.contentUrl is validated, but message.sourceMapURL is not. We should check for URLs that are blocked, and if so, fail.

Additional Comments

I have added new tests to ExtensionServer.test.ts (attached), which demonstrate the gap. I have a fix, which I will upload and link.

Summary

Unvalidated sourceMapURL in AttachSourceMapToResource allows file:// access via DevTool extensions

Custom Questions

Reporter credit:

Microsoft Edge

Additional Data

Category: Security
Chrome Channel: Stable
Regression: No \

The original report as published on the Chromium issue tracker, by Microsoft Edge. 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

The onAttachSourceMapToResource handler validated message.contentUrl but never applied the same blocked-URL checks to message.sourceMapURL.

Impact

A DevTools extension could attach a file:// source map URL, potentially giving it access to local files that should be blocked.

What the attacker needed

A DevTools extension installed; extension can reach a script resource

The fix

The source map URL should be checked against the same blocked-URL rules as the content URL, and the request should fail if it is blocked.

How it was found

  1. Create a DevTools extension that looks for a script resource on a site.
  2. Have the extension call attachSourceMapURL with a file:// URL pointing at a local Windows file.

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.

Browser extensions can talk to the browser's developer tools through a special server. Here, one of the two web addresses the extension sends was checked against a blocklist, but the other was trusted blindly, so an extension could point the browser at a file on the user's own computer. That means a malicious extension might read local files it should not be able to reach.

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 by Microsoft Edge

View all

1 more disclosed report, best first.

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.