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

Inappropriate implementation in Updater (CVE-2026-17864)

The macOS system-scope Chrome updater launches a network helper via launchctl asuser, which places the process in the console user's Mach bootstrap namespace but leaves it running as root. An unprivileged local user could potentially register shadow Mach services in their namespace to intercept or manipulate the root process's network-related lookups.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 55 days

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The macOS system-scope Chrome updater falls back to spawning an out-of-process net-worker via launchctl asuser under the console user's UID when in-process fetches fail. While this switches the Mach bootstrap namespace, the helper process continues to run with root privileges (EUID 0) without dropping privileges. This potentially allows an unprivileged local user to shadow system-level Mach services in their bootstrap namespace and intercept requests from the root-privileged process.

Affected files:

  • chrome/updater/app/app_net_worker.cc
  • chrome/updater/net/network_fetcher_mac.mm

Estimated timestamp from git blame: 2024-08-05

Detailed Description

On macOS, the system-scope (root) Chrome updater contains a fallback mechanism for network fetching. If the primary in-process network fetch fails, OutOfProcessNetworkFetcher::DialFetchService() (located in chrome/updater/net/network_fetcher_mac.mm) launches a helper process using the following command format:

/bin/launchctl asuser <console_uid> <updater_path> --net-worker

Per Apple's documentation, launchctl asuser configures the spawned process to run within the target console user's Mach bootstrap namespace and audit session, but it does not change the user ID (UID/EUID). As a result, the spawned --net-worker subprocess continues to run with root privileges (euid=0) but is situated inside the unprivileged console user's bootstrap namespace.

Upon startup, the subprocess entry point AppNetWorker::FirstTaskRun() (in chrome/updater/app/app_net_worker.cc) recovers the Mojo endpoint and initiates networking operations via NSURLSession/CFNetwork. No privilege dropping (setuid/setgid) is performed.

Because the root-privileged net-worker is running within the unprivileged user's bootstrap namespace, any Mach service lookups performed by its network stacks (such as proxy configuration lookups or helper XPC services) are resolved within the user's namespace first. An unprivileged local user who has control over their own namespace could theoretically register shadow or proxy endpoints for these service names. If the root-privileged process then attempts to resolve and communicate with these services, the communication could be intercepted or manipulated.

This behavior contrasts with similar components in the codebase. For instance, the Chrome Enterprise Companion app's net-worker (chrome/enterprise_companion/app/app_net_worker.cc) explicitly drops privileges to nobody using setgid and setuid if it detects it is running as root.

Potential Trigger Steps

Note: These are theoretical steps describing how the condition could be reached; no working exploit code has been executed by our tooling.

  1. A standard (non-admin) user is logged into the macOS console.
  2. The user registers a helper or proxy service under a well-known Mach/XPC service name (e.g., those consumed by system network libraries for proxy resolution) within their user bootstrap namespace.
  3. The system-scope Chrome updater experiences a network failure or error during an update check, triggering the fallback path to launch the out-of-process --net-worker via launchctl asuser.
  4. The --net-worker subprocess starts with root privileges inside the user's bootstrap namespace and attempts to resolve network configuration or resolve dependencies via Mach lookups.
  5. The lookups resolve to the user-controlled shadow service instead of the secure system-level services.

Proposed Fix

To remediate this issue, the --net-worker helper process should drop privileges to an unprivileged user (such as nobody or the console user's identity) before performing any network operations or IPC initialization, similar to the implementation in the enterprise companion app:

C++
if (getuid() == 0) {
  // Clear supplementary groups and set unprivileged UID/GID
  if (initgroups("nobody", kNobodyGid) == 0) {
    setgid(kNobodyGid);
    setuid(kNobodyUid);
  }
}

Alternatively, ensure that the helper does not run inside the user's bootstrap namespace if root privileges are strictly required, or drop privileges to the console user's UID/GID after obtaining necessary resources.

Evaluated with Chrome root at commit: e9507a33bb4148ee071aaaf8a7e9ad68770359bf


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

The updater's out-of-process network worker is launched with launchctl asuser, which changes the Mach bootstrap namespace but not the effective UID, and the worker never drops root privileges before performing network operations.

Impact

An unprivileged local user could potentially intercept or manipulate communication from the root-privileged updater helper, though the report notes these are theoretical steps and no working exploit was executed.

What the attacker needed

Local non-admin user on macOS console; ability to register Mach services in user namespace; updater network failure triggers fallback

The fix

The net-worker helper should drop privileges to an unprivileged user such as nobody before performing network operations or IPC initialisation, as the enterprise companion app already does.

How it was found

  1. A standard non-admin user is logged into the macOS console.
  2. The user registers a helper or proxy service under a well-known Mach/XPC service name within their user bootstrap namespace.
  3. The system-scope Chrome updater experiences a network failure during an update check, triggering the fallback path to launch the out-of-process net-worker via launchctl asuser.
  4. The net-worker subprocess starts with root privileges inside the user's bootstrap namespace and attempts to resolve network configuration or dependencies via Mach lookups.
  5. The lookups resolve to the user-controlled shadow service instead of the secure system-level services.

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.

On macOS, programs can look up system services by name through a per-user 'namespace'. The Chrome updater runs as root but starts a helper inside a normal user's namespace without dropping its root powers. That means a normal user might be able to put a fake service with the same name in their namespace and trick the root helper into talking to it.

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.