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

Insufficient policy enforcement in Extensions (CVE-2026-3928)

Extensions installed through the third-party preferences-file mechanism are not disabled when an update requests more permissions, unlike extensions installed normally from the Web Store. An attacker who controls such an extension could silently gain extra capabilities the user never approved.

portsniffer443 Follow

Originally disclosed on Chrome VRP

Bounty$2,000 Medium View original
  • Fix shipped in 7 months

Vulnerability Details

Extensions on Chrome are very powerful. They can control many aspects of the browser including (but not limited to) accessing user data, downloading files on user's machine, modifying the webpages visited by the user. Whenever a user installs an extension from Chrome Web Store, they see a list of permissions which the extension asks for. The extension can only be installed if the user grants those permissions.

When a new version of the extension asks for more permissions than what the user originally accepted, Chrome disables the extension and notifies the user. The updated permissions are shown to the user and the extension is only enabled when the user accepts the new permissions.

In addition to the user themselves installing an extension from Chrome Web Store, third party apps can also install extensions on Chrome. This is done by adding a registry entry on Windows or via a preferences JSON file on macOS. Extensions added by this mechanism are disabled initially. User must accept their permissions to enable them. However, once they are enabled, Chrome doesn't disable them if a new extension update increases its permissions. The new update can have significantly different permissions than what the user allowed. The permissions are silently granted and the user doesn't even know that the extension can do more things now (possibly malicious).

Version

Chrome Version: 138.0.7204.184 - Stable.

Operating System: Tested on macOS, but should repro on all platforms.

Reproduction Case

  1. Publish an extension on Chrome Web Store.
  2. Install it via a preferences file on macOS.
  3. Extension will be disabled initially. Enable it by accepting the permissions.
  4. Publish an update to the extension on Chrome Web Store. The update should have more permissions.
  5. Restart Chrome and wait for extension updates to finish.

Observe that the extension is still enabled but has increased permissions.

Since this reproduction is difficult (because it requires publishing to store), I am attaching videos of the repro case.

  1. The first video shows the case where the extension is installed normally. It gets disabled on update due to permissions increase.
  2. The second video shows the same extension installed via preferences file (macOS). It can be observed that it silently increases permissions on update and remains enabled.

Code references

  1. Permissions increase check is only done for extensions with kInternal manifest location.
  2. This wasn't always the case. When the check was originally added, it also checked for kExternal manifest locations. A later commit changed to code to just check for kInternal location, probably unintentionally.

Original commit (see ExtensionsService::OnExtensionsLoaded method): https://codereview.chromium.org/165414/diff/3007/chrome/browser/extensions/extensions_service.cc

The commit which probably introduced the regression (see ExtensionsService::OnExtensionsLoaded method): https://codereview.chromium.org/4687005/diff/73001/chrome/browser/extensions/extensions_service.cc

Potential fix

ChromeExtensionRegistrarDelegate::CheckPermissionsIncrease only checks for kInternal manifest location. It should also check for external manifest locations (but still exclude policy installs and component installs).

C++
 if (extension->location() == ManifestLocation::kInternal &&
     !auto_grant_permission) {
// ...

The above code should be changed to something like this

C++
bool is_trusted_location = Manifest::IsComponentLocation(extension->location()) ||
                           Manifest::IsPolicyLocation(extension->location())
                           Manifest::IsUnpackedLocation(extension->location());
if (!is_trusted_location && !auto_grant_permission) {
// ...

The original report as published on the Chromium issue tracker, by portsniffer443. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

Chrome extensions are powerful: they can access user data, download files to the user's machine and modify the pages the user visits. When a user installs an extension from the Chrome Web Store, Chrome shows the list of permissions the extension requests, and installation only proceeds if the user grants them.

Chrome also has a second installation path. Third-party apps can install extensions by adding a registry entry on Windows or by writing a preferences JSON file on macOS. Extensions installed this way are disabled initially, and the user must accept their permissions before they are enabled.

The permission model has a second layer for updates. When a new version of an extension requests more permissions than the user originally accepted, Chrome disables the extension and notifies the user; the updated permissions are shown, and the extension is only re-enabled once the user accepts them. This report is about a gap in that second layer for extensions installed through the third-party mechanism.

Setup

  • Target: Google Chrome, Extensions.
  • Version: Chrome 138.0.7204.184, Stable.
  • Operating system: tested on macOS; the researcher expected it to reproduce on all platforms.
  • Preconditions: the ability to publish an extension (and an update to it) on the Chrome Web Store, and a macOS machine on which the extension is installed through a preferences file.

The researcher notes that the reproduction is difficult because it requires publishing to the store, and attached videos of the reproduction instead. The first video shows the extension installed normally, being disabled on update because of the permissions increase. The second shows the same extension installed via the preferences file on macOS, silently gaining permissions on update while remaining enabled.

Finding it

The starting observation is a difference in behaviour between two installation paths. For an extension the user installs from the Chrome Web Store, an update that increases permissions triggers the disable-and-notify flow. For an extension installed by a third-party app through the registry or preferences mechanism, the initial enablement is gated on the user accepting permissions, but once the extension is enabled, Chrome does not disable it when a later update increases its permissions. The new version can therefore hold significantly different permissions from the ones the user allowed, and those permissions are granted silently, without the user learning that the extension can now do more, possibly malicious, things.

Exploitation

Step 1: Publish an extension on the Chrome Web Store

The extension must be published on the Chrome Web Store so that an update can be published to it.

Step 2: Install it via a preferences file on macOS

The extension is installed through the third-party mechanism, which on macOS is a preferences JSON file. This is the path whose update behaviour differs from a normal store install.

Step 3: Enable it by accepting the permissions

The extension is disabled initially. The user accepts the permissions, and the extension becomes enabled.

Step 4: Publish an update with more permissions

The update published to the Chrome Web Store requests more permissions than the version the user accepted.

Step 5: Restart Chrome and wait for extension updates to finish

After the update is applied, the extension is still enabled but now has the increased permissions. The user is not shown the new permissions and is not asked to accept them.

Root cause

The permissions increase check lives in ChromeExtensionRegistrarDelegate::CheckPermissionsIncrease, and it is only performed for extensions whose manifest location is kInternal. Extensions installed through the third-party mechanism have an external manifest location, so they never reach the check, and the new permissions are granted without user consent.

The researcher points out that this was not always the case. When the check was originally added, it also covered kExternal manifest locations. A later commit changed the code to check only kInternal, probably unintentionally. The relevant code in the current tree is:

C++
 if (extension->location() == ManifestLocation::kInternal &&
     !auto_grant_permission) {
// ...

The original commit is referenced through ExtensionsService::OnExtensionsLoaded:

Text
https://codereview.chromium.org/165414/diff/3007/chrome/browser/extensions/extensions_service.cc

The commit that probably introduced the regression, also in ExtensionsService::OnExtensionsLoaded:

Text
https://codereview.chromium.org/4687005/diff/73001/chrome/browser/extensions/extensions_service.cc

Impact

An extension installed through the third-party mechanism can silently acquire permissions beyond what the user accepted, and the user is never told. Because extensions can access user data, download files and modify visited pages, the extra permissions can enable behaviour the user would not have approved. The extension must be installed through that mechanism and enabled by the user once; a later update then increases its permissions silently.

Fix

The suggested change is to make CheckPermissionsIncrease cover external manifest locations as well, while still excluding policy installs and component installs. The proposed shape of the check is:

C++
bool is_trusted_location = Manifest::IsComponentLocation(extension->location()) ||
                           Manifest::IsPolicyLocation(extension->location())
                           Manifest::IsUnpackedLocation(extension->location());
if (!is_trusted_location && !auto_grant_permission) {
// ...

Variants to test

  • Other installation paths that produce a non-kInternal manifest location: check whether an update that adds permissions is applied silently. A positive result is the extension remaining enabled with the new permissions and no user prompt.
  • Policy and component installs: confirm that these remain excluded from the check after any fix, so that managed deployments are not broken.
  • Unpacked extensions: verify the behaviour of the proposed IsUnpackedLocation exclusion against the intended update flow.
  • Other platforms: the researcher tested on macOS and expected reproduction on all platforms. Installing through the Windows registry entry and repeating the update is the direct check.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

Chrome extensions are small programs you add to your browser. They can do a lot: read your data, save files to your computer, and change the pages you look at. Because of that, Chrome asks you to approve a list of permissions (things the extension is allowed to do) before it will install one from the Chrome Web Store. If you say no, it does not install.

There is a second way extensions get onto a computer. Other programs can install an extension for you, by writing a special entry into the system settings: a registry entry on Windows, or a preferences file on macOS. Extensions that arrive this way start out switched off, and you have to accept their permissions before they turn on.

Chrome also has a safety rule for updates. If a new version of an extension asks for more permissions than the version you agreed to, Chrome switches the extension off and tells you. It shows you the new permissions, and only turns the extension back on when you accept them.

This report is about a hole in that update rule. For extensions installed by the second route (the settings file or registry entry), the update check does not happen. Once you have enabled such an extension, a later update can quietly give itself more permissions, and Chrome will neither switch it off nor tell you. The extension can end up able to do things you never agreed to, and you would have no idea.

Background you need first

A few ideas come up again and again below, so here they are from scratch.

  • Extension: a small add-on program for the browser. Think of it as a helper you install into your house; it can open cupboards (your data), put things in your drawers (download files) and rearrange your furniture (change the pages you see).
  • Permission: a specific thing an extension is allowed to do, such as reading the pages you visit. When you install, Chrome shows you the list and you either accept all of it or the install does not go ahead. It is like a guest asking for the keys to particular rooms before you let them in.
  • Chrome Web Store: Google's official shop for extensions. Extensions published there can send out updates through Chrome's normal update system.
  • Update: a new version of the same extension, delivered automatically. Updates are normal and usually harmless, but an update can also ask for different permissions than the version you first agreed to.
  • Preferences file / registry entry: places where the operating system stores settings. On macOS, settings live in files; on Windows, they live in the registry, a big database of settings. A third-party program can write an entry there that tells Chrome to install an extension. This is the "third-party install" route.
  • Manifest: a file inside every extension that describes it, including which permissions it wants. Chrome records where an extension came from as its manifest location. An extension you installed yourself from the store has an internal location; one pushed in by another program has an external location. This distinction is the heart of the bug.
  • Policy install / component install: two special kinds of install used by organisations and by Chrome itself. They are managed centrally and are deliberately treated differently from ordinary installs.
  • Unpacked extension: an extension loaded straight from a folder on disk, typically by a developer while building it, rather than installed from the store.
  • Regression: a bug where something that used to work correctly stops working, usually because a later change to the code broke it by accident.
  • Commit: a saved change to a codebase, with a record of what was changed and why. Code review sites keep these records, which is how the researcher could look back at old versions of Chrome's code.

The setup

The researcher tested against Google Chrome, in the Extensions area, on this version:

  • Chrome 138.0.7204.184, Stable. "Stable" is the ordinary release most people run, as opposed to early test versions.
  • Operating system: macOS. The researcher expected the same behaviour on all platforms, but only tested on macOS.

Two things were needed to try it: the ability to publish an extension (and an update to it) on the Chrome Web Store, and a macOS machine where the extension is installed through a preferences file.

The researcher notes that reproducing this is hard, because it requires publishing to the store, and instead attached videos of the reproduction. The first video shows the extension installed normally, being switched off on update because of the permissions increase. The second shows the same extension installed through the preferences file on macOS, quietly gaining permissions on update while staying switched on.

Finding it

The starting point is a difference between two installation routes.

  1. For an extension you install yourself from the Chrome Web Store, an update that adds permissions triggers the switch-off-and-tell-you flow.
  2. For an extension installed by another program through the registry or preferences mechanism, the first switch-on still waits for you to accept permissions. But once it is on, Chrome does not switch it off when a later update adds permissions.

The new version can therefore hold very different permissions from the ones you allowed, and those permissions are granted silently. You are never told that the extension can now do more, possibly malicious, things.

Exploitation

Exploitation here means walking through the steps that turn the gap into a real problem. Each step exists for a reason, explained below it.

Step 1: Publish an extension on the Chrome Web Store

The extension has to be published on the Chrome Web Store, because that is where the update is published.

Step 2: Install it via a preferences file on macOS

The extension is installed through the third-party mechanism, which on macOS is a preferences JSON file. JSON is a plain text format for structured settings, made of names and values in curly braces. This is the route whose update behaviour differs from a normal store install, so it is the one that matters.

Step 3: Enable it by accepting the permissions

The extension starts out switched off. The user accepts the permissions, and the extension becomes enabled. This step is needed because the flaw is in what happens after an extension is already on; the initial consent gate still works.

Step 4: Publish an update with more permissions

The update published to the Chrome Web Store asks for more permissions than the version the user accepted. This is the moment the safety rule should kick in.

Step 5: Restart Chrome and wait for extension updates to finish

Restarting and waiting lets Chrome pick up the new version. After the update is applied, the extension is still enabled but now has the increased permissions. The user is not shown the new permissions and is not asked to accept them.

Root cause

The permissions increase check lives in a piece of Chrome code called ChromeExtensionRegistrarDelegate::CheckPermissionsIncrease. It is only performed for extensions whose manifest location is kInternal, meaning extensions installed the normal way from the store. Extensions installed through the third-party mechanism have an external manifest location, so they never reach the check, and the new permissions are granted without the user's consent.

The researcher points out that this was not always the case. When the check was first added, it also covered kExternal manifest locations. A later commit changed the code to check only kInternal, probably by accident. The relevant code in the current tree is:

C++
 if (extension->location() == ManifestLocation::kInternal &&
     !auto_grant_permission) {
// ...

Line by line:

  • if ( starts a condition: the block that follows only runs when everything inside the brackets is true.
  • extension->location() == ManifestLocation::kInternal asks whether this extension's recorded origin is the internal one, that is, installed normally from the store. == means "is equal to".
  • && means "and": both parts of the condition must be true.
  • !auto_grant_permission means "and permissions are not being granted automatically". The ! means "not".
  • // ... is a placeholder for the rest of the check, which the report does not show.

So the whole check only ever runs for internal installs. External installs skip it entirely.

The original commit is referenced through ExtensionsService::OnExtensionsLoaded:

Text
https://codereview.chromium.org/165414/diff/3007/chrome/browser/extensions/extensions_service.cc

This is a link to an old code review page showing the change that first added the check. ExtensionsService::OnExtensionsLoaded names the function in that old code where the logic lived: the part that runs when extensions have finished loading.

The commit that probably introduced the regression, also in ExtensionsService::OnExtensionsLoaded:

Text
https://codereview.chromium.org/4687005/diff/73001/chrome/browser/extensions/extensions_service.cc

This second link points to a later change to the same function, which the researcher thinks probably introduced the regression.

Impact

An extension installed through the third-party mechanism can silently acquire permissions beyond what the user accepted, and the user is never told. Because extensions can access user data, download files and modify visited pages, the extra permissions can enable behaviour the user would never have approved. The extension must be installed through that mechanism and enabled by the user once; a later update then increases its permissions silently.

Fix

The suggested change is to make CheckPermissionsIncrease cover external manifest locations as well, while still excluding policy installs and component installs. The proposed shape of the check is:

C++
bool is_trusted_location = Manifest::IsComponentLocation(extension->location()) ||
                           Manifest::IsPolicyLocation(extension->location())
                           Manifest::IsUnpackedLocation(extension->location());
if (!is_trusted_location && !auto_grant_permission) {
// ...

Line by line:

  • bool is_trusted_location = creates a true/false value named is_trusted_location, which will record whether this install comes from a source Chrome already trusts.
  • Manifest::IsComponentLocation(extension->location()) is true when the extension is a component install, one that ships with or is managed by Chrome itself.
  • || means "or": if any of the following conditions is true, the whole value is true.
  • Manifest::IsPolicyLocation(extension->location()) is true when the extension was installed by an organisation's policy, that is, a centrally managed deployment.
  • Manifest::IsUnpackedLocation(extension->location()) is true when the extension was loaded straight from a folder on disk, as developers do while building one.
  • if (!is_trusted_location && !auto_grant_permission) { then runs the check when the install is not from a trusted source and permissions are not being granted automatically. In other words, the check would now apply to external installs too, which is the point.

Variants to test

These are follow-up checks worth running, to see how far the problem reaches and to make sure a fix does not break anything.

  • Other installation paths that produce a non-kInternal manifest location: check whether an update that adds permissions is applied silently. A positive result is the extension remaining enabled with the new permissions and no user prompt.
  • Policy and component installs: confirm that these remain excluded from the check after any fix, so that managed deployments are not broken.
  • Unpacked extensions: verify the behaviour of the proposed IsUnpackedLocation exclusion against the intended update flow.
  • Other platforms: the researcher tested on macOS and expected reproduction on all platforms. Installing through the Windows registry entry and repeating the update is the direct check.

Glossary

  • Extension: a small add-on program installed into a browser to add features.
  • Permission: a specific capability an extension asks for, which the user must approve before it is granted.
  • Chrome Web Store: Google's official marketplace for Chrome extensions, which also delivers their updates.
  • Update: a newer version of an extension, delivered automatically.
  • Preferences file: a settings file on macOS that programs can write to, including to install extensions.
  • Registry: a central database of settings on Windows, where a third-party program can add an entry that installs an extension.
  • Third-party install: an extension installed by another program rather than by the user directly from the store.
  • Manifest: the file inside an extension that describes it and lists its permissions.
  • Manifest location: Chrome's record of where an extension came from, such as internal (store) or external (third-party).
  • kInternal / kExternal: the code names for the internal and external manifest locations.
  • Policy install: an extension installed centrally by an organisation's management rules.
  • Component install: an extension that is part of or managed by Chrome itself.
  • Unpacked extension: an extension loaded directly from a folder on disk, usually during development.
  • Regression: a bug caused by a later change breaking behaviour that used to work.
  • Commit: a recorded change to a codebase.
  • Code review: a site or process where changes to code are proposed, discussed and stored.
  • JSON: a plain text format for structured settings, made of names and values.
  • Severity: a rating of how serious a security issue is; this one is rated medium.
  • Exploitation: the steps taken to turn a weakness into a real, working attack.

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.