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

Incorrect authorization in Extensions (CVE-2026-121193)

A logic flaw lets an extension holding the management permission silently re-enable another extension that Safe Browsing had automatically disabled. The system mistakes this programmatic action for a user acknowledgement, permanently exempting the target extension from future Safe Browsing enforcement.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 months

Flapjack, 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 flaw allows an extension with the management permission to silently re-enable other extensions that were automatically disabled by Safe Browsing. This programmatic enablement is incorrectly treated as a manual user acknowledgment, permanently exempting the target extension from future Safe Browsing enforcement. This potentially bypasses Enhanced Safe Browsing protections without user consent.

Affected files:

  • extensions/browser/extension_allowlist.cc
  • extensions/browser/api/management/management_api.cc

Estimated timestamp from git blame: 2021-03-16

Summary

There is a potential logic flaw in the Extension Management API that allows an extension with the management permission to silently re-enable extensions that have been automatically disabled by the Safe Browsing CRX Allowlist enforcement (Enhanced Safe Browsing). When this programmatic enablement occurs, the system incorrectly interprets it as a manual user action. This grants the target extension a permanent exemption from future Safe Browsing enforcement (ALLOWLIST_ACKNOWLEDGE_ENABLED_BY_USER) without the user ever explicitly approving the risk.

Technical Details

  1. When Enhanced Safe Browsing is enabled, extensions not on the Safe Browsing allowlist are automatically disabled by ExtensionAllowlist::ApplyEnforcement (in extensions/browser/extension_allowlist.cc). This applies the disable_reason::DISABLE_NOT_ALLOWLISTED flag.
  2. An extension with the management permission can call chrome.management.setEnabled(target_id, true) to re-enable the disabled extension. This call is processed by ManagementSetEnabledFunction::Run() (in extensions/browser/api/management/management_api.cc).
  3. During the enablement flow, the API checks if the extension is strictly blocked by calling ManagementPolicy::MustRemainDisabled(). However, none of the policy providers block enablement for the DISABLE_NOT_ALLOWLISTED reason.
  4. Because there are no interactive prompts configured for the DISABLE_NOT_ALLOWLISTED reason (unlike permissions escalation or Manifest V2 deprecation), the API silently enables the extension. This eventually calls ExtensionRegistrar::EnableExtension(), which indiscriminately clears all disable reasons via ExtensionPrefs::ClearDisableReasons().
  5. The removal of the disable reasons triggers ExtensionAllowlist::OnExtensionStateChanged(). This observer sees the extension transition to an 'enabled' state while Enhanced Safe Browsing is active and assumes this was a manual user action originating from the chrome://extensions page.
  6. It subsequently calls SetExtensionAllowlistAcknowledgeState(..., ALLOWLIST_ACKNOWLEDGE_ENABLED_BY_USER). From this point forward, ExtensionAllowlist::ApplyEnforcement will immediately return early when evaluating the target extension, effectively permanently exempting it from Safe Browsing auto-disabling.

Potential Attacker Steps

Note: These are suggested/potential steps based on static analysis, as our tooling agent does not currently have the ability to run code or functional PoCs.

  1. The victim, who has Enhanced Safe Browsing enabled, installs a malicious or unverified extension (Extension B) that is not on the Safe Browsing allowlist. Safe Browsing automatically disables it.
  2. The attacker also controls another extension (Extension A) installed on the victim's machine that holds the management permission.
  3. Extension A's background script calls chrome.management.setEnabled("<Extension B ID>", true).
  4. Extension B is silently re-enabled. No prompt or warning is shown to the user.
  5. Extension B is now permanently exempted from Safe Browsing enforcement, allowing it to operate freely.

Suggested Fix

To address this bypass, the chrome.management API enablement flow should be made aware of the Safe Browsing allowlist state:

  1. Update ManagementSetEnabledFunction::Run() or its asynchronous checks to look for the DISABLE_NOT_ALLOWLISTED disable reason.
  2. If this reason is present, the API should either outright reject the enablement request (forcing the user to manually re-enable it via chrome://extensions where the proper warnings are displayed), or require an interactive prompt/user gesture specifically acknowledging the Safe Browsing warning, similar to how it handles DISABLE_UNSUPPORTED_MANIFEST_VERSION.

Evaluated with Chrome root at commit: b7d0c4d810da1b31400f198c70d9720fc8f0e5a0


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 management API's enablement path does not check the not-allowlisted disable reason, so clearing all disable reasons is misread by the allowlist observer as a deliberate user action.

Impact

An extension could be re-enabled without user consent and could then operate freely, potentially bypassing Enhanced Safe Browsing protections; the report is based on static analysis only, with no working proof of concept.

What the attacker needed

Enhanced Safe Browsing enabled; attacker controls an extension with management permission; victim installs a non-allowlisted extension

The fix

The management API enablement flow should detect the not-allowlisted disable reason and either reject the request or require an interactive user acknowledgement.

How it was found

  1. The victim with Enhanced Safe Browsing installs an unverified extension, which Safe Browsing disables.
  2. The attacker also controls another installed extension that holds the management permission.
  3. That extension's background script asks the management API to enable the disabled extension.
  4. The target extension is re-enabled with no prompt shown to the user.
  5. The target extension is now permanently exempt from Safe Browsing enforcement.

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.

Safe Browsing can switch off extensions it does not trust. This report says one extension with special powers could switch such an extension back on without asking the user, and the browser would then treat it as if the user had approved it for good. That means the protection could be undone quietly.

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.