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

Incorrect authorization in Permissions (CVE-2026-106244)

A logic error in permission canonicalisation meant camera and display-capture requests from the untrusted OneGoogleBar iframe on the New Tab Page were attributed to the privileged chrome://new-tab-page origin. An attacker who compromised that iframe could show a misleading prompt and, once granted, reuse the stored grant for silent camera or screen access later.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 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 without the Chrome Security team.

Overview: A logic error in permission canonicalization causes hardware permission requests from the untrusted OneGoogleBar iframe to be incorrectly attributed to the privileged chrome://new-tab-page origin. This allows an attacker who has compromised the untrusted iframe to spoof permission prompts and gain silent, persistent camera or display-capture access across sessions.

Affected files:

  • chrome/browser/permissions/chrome_permissions_client.cc
  • chrome/browser/ui/webui/new_tab_page/untrusted_source.cc
  • chrome/browser/resources/new_tab_page/app.html
  • components/permissions/permission_util.cc
  • chrome/browser/ui/views/permissions/permission_prompt_base_view.cc
  • chrome/browser/media/webrtc/display_media_access_handler.cc

Estimated timestamp from git blame: 2026-03-30

Description

The New Tab Page (NTP) top frame (chrome://new-tab-page/) embeds the OneGoogleBar (OGB) within an iframe sourced from chrome-untrusted://new-tab-page/. This untrusted iframe is explicitly granted camera and display-capture capabilities via the allow attribute in the HTML (chrome/browser/resources/new_tab_page/app.html:18). The chrome-untrusted:// scheme is designed to isolate external, network-fetched content from the privileged WebUI.

However, a logic error in ChromePermissionsClient causes permission requests from this untrusted iframe to bypass the intended isolation. When an iframe requests a delegated permission (like camera), the permission system attempts to override the embedding origin for specific Chrome UI pages.

In ChromePermissionsClient::GetEmbeddingOriginOverride and ChromePermissionsClient::GetCanonicalOriginOverride, the code checks if the embedding_origin matches chrome::kChromeUINewTabURL (chrome://newtab/). But for the modern WebUI NTP, the actual committed origin of the main frame is chrome://new-tab-page/ (defined as kChromeUINewTabPageURL). Because chrome://new-tab-page/ != chrome://newtab/, the overrides fail and return std::nullopt.

As a result, PermissionUtil::GetCanonicalOrigin falls back to its default behavior for PermissionDelegationMode::kDelegated permissions, which is to return the embedding_origin. Since the main frame's actual committed origin is chrome://new-tab-page/, this highly privileged WebUI origin becomes the canonical origin for the request.

Consequences

  1. UI Attribution Spoofing: When the permission prompt for getUserMedia is shown, PermissionPromptBaseView::GetUrlIdentity uses the canonicalized origin, attributing the request to the privileged chrome://new-tab-page instead of the untrusted iframe. (Similarly, getDisplayMedia spoofing occurs because DisplayMediaAccessHandler::GetApplicationTitle explicitly reads the main frame's origin directly).
  2. Incorrect Grant Persistence: If a user grants the permission, ContentSettingPermissionContextBase::UpdateContentSetting stores the grant in the HostContentSettingsMap keyed by chrome://new-tab-page/ for both the primary and secondary patterns. Any subsequent compromise of the chrome-untrusted://new-tab-page/ frame allows the attacker to access the camera or screen capture silently, riding the previously stored grant for the privileged origin.

Potential Reproduction Steps

Note: These steps are based on static analysis; our tooling cannot execute a full proof of concept.

  1. Gain code execution within the chrome-untrusted://new-tab-page/ iframe (e.g., via XSS on the network-fetched OneGoogleBar payload, or by simulating a compromised renderer).
  2. Execute navigator.mediaDevices.getUserMedia({video:true}) from the iframe context.
  3. Observe the permission prompt. The bubble title will display chrome://new-tab-page (the privileged WebUI origin) instead of the chrome-untrusted:// origin.
  4. Accept the prompt.
  5. Close the tab, navigate to a new NTP, and execute the getUserMedia call from the untrusted frame again.
  6. Observe that camera access is granted silently without a prompt, as the grant was persisted under the top-level chrome://new-tab-page/ origin.

Suggested Fix

Update ChromePermissionsClient::GetEmbeddingOriginOverride and ChromePermissionsClient::GetCanonicalOriginOverride to account for chrome::kChromeUINewTabPageURL alongside chrome::kChromeUINewTabURL.

For example, CanBypassEmbeddingOriginCheck in the same file correctly handles this by checking both:

C++
if (embedding_origin == GURL(chrome::kChromeUINewTabURL).DeprecatedGetOriginAsURL() ||
    embedding_origin == GURL(chrome::kChromeUINewTabPageURL).DeprecatedGetOriginAsURL()) {
  return true;
}

Applying a similar check in the override functions ensures that the NTP origins are consistently canonicalized to the Default Search Engine origin, preventing the untrusted iframe from piggybacking on the WebUI's privileges.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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 embedding and canonical origin override functions only compare against the legacy chrome://newtab URL and not the modern chrome://new-tab-page URL, so the override returns nothing and the privileged top-frame origin is used as the canonical origin.

Impact

An attacker who already controls the untrusted iframe could mislead users about which origin is asking and, after one grant, obtain silent persistent camera or screen-capture access; the report notes the steps come from static analysis and no working proof of concept was run.

What the attacker needed

Code execution in the untrusted iframe; victim accepts the permission prompt

The fix

The override functions should also check for the modern New Tab Page URL, as the existing bypass check already does, so both NTP origins are canonicalised consistently.

How it was found

  1. Get code execution inside the untrusted New Tab Page iframe, for example through a compromised OneGoogleBar payload.
  2. Call the camera API from inside that iframe.
  3. Notice the prompt names the privileged chrome://new-tab-page origin rather than the untrusted one.
  4. Accept the prompt.
  5. Close the tab, open a new New Tab Page and call the camera API from the untrusted frame again.
  6. See that camera access is now granted silently because the grant was stored under the top-level origin.

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's New Tab Page is a trusted built-in page, and it loads a small piece of Google content inside a sandboxed frame that is not trusted. When that frame asks for the camera, Chrome should show the untrusted frame's address, but a coding mistake made it show the trusted page's address instead. If someone found a way to run their own code in that untrusted frame, users could be tricked into granting camera access that then persists.

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.