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

Insufficient policy enforcement in Settings (CVE-2026-17916)

The on-device AI settings WebUI handler on chrome://settings still accepts a setter message even when a mandatory enterprise policy disables local GenAI models and the AI settings page is hidden. Anyone able to run script in that privileged page could flip the persistent user setting, though the report did not show the model becoming usable.

Itzik Chimino Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Report description

OnDeviceAiSettingsHandler mutates on-device AI user setting despite mandatory GenAILocalFoundationalModelSettings=Disabled and hidden AI settings UI


Bug location

Where do you want to report your vulnerability?

Chrome VRP – Report security issues affecting the Chrome browser. See program rules

Which URL (or repository) have you found the vulnerability in?

https://chromium.googlesource.com/chromium/src/+/refs/heads/main/chrome/browser/ui/webui/settings/on_device_ai_settings_handler.cc


The problem

Please describe the technical details of the vulnerability

Chrome registers the OnDeviceAiSettingsHandler on chrome://settings even when the AI settings UI is unavailable and a mandatory enterprise policy disables local foundational GenAI model usage.

Environment tested:

  • Chrome 147.0.7727.138 (Official Build) (arm64)
  • chrome://policy shows:
    • GenAILocalFoundationalModelSettings = 1
    • Source: Platform
    • Applies to: Machine
    • Level: Mandatory
    • Status: OK

Observed UI/policy state:

  • Navigating to chrome://settings/ai redirects to chrome://settings.
  • In chrome://settings, loadTimeData values showAiPage and showOnDeviceAiSettings are missing.
  • chrome://on-device-internals shows:
    • enabled by enterprise policy: false
    • foundational model state: Not Eligible

Despite this, chrome://settings still exposes the legacy WebUI message handler for on-device AI settings. Calling getOnDeviceAiEnabled returns allowedByPolicy:false, but setOnDeviceAiEnabled still mutates the user setting.

Relevant source:

  • chrome/browser/ui/webui/settings/on_device_ai_settings_handler.cc registers:
    • getOnDeviceAiEnabled
    • setOnDeviceAiEnabled
    • openOnDeviceAiFeedbackDialog
  • GetOnDeviceAiState() computes allowedByPolicy from GenAILocalFoundationalModelEnterprisePolicySettings.
  • HandleSetOnDeviceAiEnabled() does not check allowedByPolicy or enterprise policy state. It directly writes: optimization_guide.on_device_foundational_model_user_settings

Proof of concept from chrome://settings DevTools console:

(async () => { function getOnDeviceAiEnabled() { return new Promise((resolve) => { const callbackId = vrp_get_${Date.now()}_${Math.random()}; const original = cr.webUIResponse; const timer = setTimeout(() => { cr.webUIResponse = original; resolve({responded:false,error:'timeout'}); }, 3000);

  cr.webUIResponse = function(id, success, response) {
    if (id !== callbackId) return original.apply(this, arguments);
    clearTimeout(timer);
    cr.webUIResponse = original;
    resolve({responded:true,success,response});
  };

  chrome.send('getOnDeviceAiEnabled', [callbackId]);
});

}

const before = await getOnDeviceAiEnabled(); chrome.send('setOnDeviceAiEnabled', [false]); const afterFalse = await getOnDeviceAiEnabled(); chrome.send('setOnDeviceAiEnabled', [true]); const afterTrue = await getOnDeviceAiEnabled();

console.log(JSON.stringify({before, afterFalse, afterTrue}, null, 2)); })();

Observed result:

{ "before": { "responded": true, "success": true, "response": { "allowedByPolicy": false, "enabled": true } }, "afterFalse": { "responded": true, "success": true, "response": { "allowedByPolicy": false, "enabled": false } }, "afterTrue": { "responded": true, "success": true, "response": { "allowedByPolicy": false, "enabled": true } } }

The mutation persisted after browser restart. chrome://on-device-internals also reflected the mutation: “enabled by user setting” changed false/true while “enabled by enterprise policy” stayed false.

Security impact: A hidden WebUI handler allows a user-level on-device AI setting to be modified under a mandatory machine-level policy that disables local foundational GenAI model usage. The normal AI settings UI is not available, but the backend WebUI message remains callable and mutates persistent local state.

Limitation: I did not prove that the model can be downloaded or executed despite policy. chrome://on-device-internals continued to show the foundational model as Not Eligible because enabled by enterprise policy remained false.

Impact analysis

The demonstrated exploit path requires script execution in the privileged chrome://settings WebUI context, for example through DevTools or another bug that can execute JavaScript in that WebUI. I tested a normal Chrome extension attacker model using chrome.scripting.executeScript against chrome://settings, and Chrome blocked it with “Cannot access a chrome:// URL.”

An attacker with code execution in chrome://settings can call the hidden OnDeviceAiSettingsHandler and mutate the persistent on-device AI user setting even while a mandatory machine-level GenAILocalFoundationalModelSettings policy disables local foundational GenAI model usage and the normal AI settings UI is hidden.

What the attacker gains:

  • Ability to change optimization_guide.on_device_foundational_model_user_settings despite allowedByPolicy:false.
  • The changed value persists after browser restart.
  • chrome://on-device-internals reflects the mutation as “enabled by user setting: true/false.”

Current limitation: I did not demonstrate model download or model execution despite the enterprise policy. The model remained Not Eligible because “enabled by enterprise policy” stayed false. Therefore the current impact is policy-inconsistent persistent state mutation of a hidden/policy-disabled setting, not a confirmed full bypass of model execution.


The cause

What version of Chrome have you found the security issue in?

147.0.7727.138 (Official Build) (arm64)

Is the security issue related to a crash?

No, it is not related to a crash.

Choose the type of vulnerability

Permissions Bypass

How would you like to be publicly acknowledged for your report?

Itzik Chimino

The original report as published on the Chromium issue tracker, by Itzik Chimino. 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 setter handler writes the user preference without checking the allowedByPolicy value or the enterprise policy state that the getter computes.

Impact

An attacker with script execution in the privileged chrome://settings page could persistently change a hidden on-device AI setting despite a mandatory machine-level policy, but model download or execution was not shown to be possible and the model stayed Not Eligible.

What the attacker needed

Script execution in chrome://settings; mandatory policy disabling local GenAI

How it was found

  1. Open chrome://settings with the mandatory policy disabling local GenAI models applied.
  2. In the DevTools console, send the get message to read the current on-device AI state.
  3. Send the set message with the value false, then read the state again.
  4. Send the set message with the value true, then read the state again and observe the change.
  5. Restart the browser and confirm the changed value persisted.

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 has a hidden settings page for its built-in AI features. A company policy can switch those features off, and the page is then hidden from users. The report shows that the behind-the-scenes message that changes the AI on/off switch still works, so the saved preference can be changed even though the policy says no.

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.