Race condition in Updater (CVE-2026-87467)
A data race exists in the Windows Chrome Updater's AppWebImpl COM class where the std::string install_data_index_ is accessed without synchronization. An unprivileged local user can trigger concurrent reads and writes to cause a double-free or out-of-bounds heap read, potentially escalating privileges to SYSTEM.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A data race exists in the Windows Chrome Updater's AppWebImpl COM class where the std::string install_data_index_ is accessed without synchronization. Because the service runs in an MTA apartment as LocalSystem, an unprivileged interactive user can trigger concurrent reads/writes to cause a double-free or out-of-bounds heap read. This potentially allows a local non-admin attacker to escalate privileges to SYSTEM.
Affected files:
chrome/updater/app/server/win/com_classes_legacy.cc
Estimated timestamp from git blame: Unknown (Google3 checkout)
1. Summary of the Issue (Meant for Human Triage)
The Windows Chromium Updater service (updater.exe) runs as a highly privileged LocalSystem process. It exposes a legacy COM interface (IAppWeb, implemented by AppWebImpl) to clients. Because the COM server is initialized in the Multi-Threaded Apartment (MTA) model, incoming RPC calls are dispatched concurrently on thread pool threads.
A data race exists in AppWebImpl because the std::string install_data_index_ member variable is read and written by several COM methods (such as put_serverInstallDataIndex, get_serverInstallDataIndex, InstallImpl, and UpdateImpl) without acquiring the class's lock_.
While system-level installations normally require Administrator privileges, a logic flaw in the object initialization allows an unprivileged local interactive user to instantiate this object by calling createInstalledApp. This method hardcodes an is_install = false flag, completely bypassing the IsCOMCallerAllowed() security check. Once the object is created, the attacker can spam concurrent read and write operations over COM. This race on std::string::operator= can lead to concurrent deallocations of the string's internal heap buffer (a double-free memory corruption) or a torn state where a freed or improperly sized buffer is read and returned to the attacker (a UAF/OOB heap info leak). Together, these primitives potentially allow for a Local Privilege Escalation (LPE) to SYSTEM.
Note: Our tooling agent does not have the ability to run code, so the exploit steps below are a potential sequence based on static analysis.
2. Proof-of-Concept & Detailed Execution Flow
Step-by-Step Potential Attack Sequence:
- COM Security Initialization: The Chrome Updater COM service starts as
LocalSystem. It explicitly grantsCOM_RIGHTS_EXECUTE | COM_RIGHTS_EXECUTE_LOCALtoSids::Interactive()(authenticated local interactive users) inService::InitializeComSecurity()(chrome/windows_services/service_program/service.cc:384-390). The service initializes COM as MTA viabase::win::ScopedCOMInitializer::kMTA(chrome/updater/updater.cc:144-145). - Initial Connection: A local non-admin attacker initiates a COM connection to the
GoogleUpdate3WebSystemClassCLSID ({8A1D4361-2C08-4700-A351-3EAA9CBFF5E4}). This resolves toLegacyOnDemandImpl(chrome/updater/app/server/win/wrl_classes.cc:34-37). - Interface Traversal: The attacker calls
IGoogleUpdate3Web::createAppBundleWeb(). This method (chrome/updater/app/server/win/com_classes_legacy.cc:1126-1134) instantiates anAppBundleWebImplobject and returns itsIAppBundleWebproxy. - Privilege Check Bypass: The attacker calls
createInstalledApp(app_id)on theIAppBundleWebproxy.AppBundleWebImpl::createInstalledApp(chrome/updater/app/server/win/com_classes_legacy.cc:1000-1015) callsMakeAndInitializeComObject<AppWebImpl>, explicitly passingis_install = false(line 1013). - Object Instantiation:
AppWebImpl::RuntimeClassInitializeevaluates the privilege check:if (is_install && FAILED(IsCOMCallerAllowed()))(chrome/updater/app/server/win/com_classes_legacy.cc:416-427). Becauseis_installisfalse, theIsCOMCallerAllowed()check is bypassed, and theAppWebImplobject is created successfully in theSYSTEMprocess. - Retrieving the Vulnerable Object: The attacker calls
get_appWeb(0, &app_web)(chrome/updater/app/server/win/com_classes_legacy.cc:1036-1048) to get theIAppWebinterface pointer. - Triggering the Race: The attacker spawns multiple threads in their local client process, concurrently invoking
put_serverInstallDataIndexandget_serverInstallDataIndexon theIAppWebproxy. - Writer-Writer Race (Double Free): RPC Thread 1 and Thread 2 concurrently execute
AppWebImpl::put_serverInstallDataIndex(chrome/updater/app/server/win/com_classes_legacy.cc:863-870). The input strings are assigned toinstall_data_index_(line 868) without acquiringlock_. If both strings exceed the Short String Optimization (SSO) capacity,std::string::operator=allocates a new buffer and deallocates the old one. Due to the race, both threads may read the same old buffer pointer and attempt to free it concurrently, causing a Double Free. - Writer-Reader Race (Info Leak): While
install_data_index_is being mutated, RPC Thread 3 concurrently executesAppWebImpl::get_serverInstallDataIndex(chrome/updater/app/server/win/com_classes_legacy.cc:853-861).base::UTF8ToWide(install_data_index_)(line 859) reads a torn string state (e.g., an outdated largesize_with a newly allocated smaller buffer). This results in an Out-Of-Bounds (OOB) or Use-After-Free (UAF) read on theSYSTEMheap. The leaked memory is packaged into aBSTRand safely returned across the COM boundary to the attacker, defeating ASLR. - Exploitation: The attacker chains the ASLR bypass and the heap corruption (Double Free) to achieve arbitrary code execution as
SYSTEM.
Suggested Fix:
In AppWebImpl (chrome/updater/app/server/win/com_classes_legacy.cc), acquire base::AutoLock lock{lock_}; inside put_serverInstallDataIndex, get_serverInstallDataIndex, UpdateImpl, and InstallImpl before accessing install_data_index_. Furthermore, explicitly enforce a maximum string length in put_serverInstallDataIndex using ValidateInstallDataIndex, similar to the modern com_classes.cc implementation.
3. Technical Verification Details (Automated Audit Logs - Reviewers may skip this section)
Prior Critic Verdict:
The vulnerability is accurate and confirmed. The install_data_index_ std::string in AppWebImpl is accessed and mutated across multiple MTA COM RPC threads and the main sequence without synchronization (e.g., in put_serverInstallDataIndex, get_serverInstallDataIndex, and InstallImpl). Since AppWebImpl is a WRL COM object handling calls concurrently, this results in a data race on std::string::operator=, leading to double-free heap corruption or a UAF/OOB info leak.
A local non-admin attacker can trigger this because createInstalledApp hardcodes is_install=false, which bypasses the IsCOMCallerAllowed() check in AppWebImpl::RuntimeClassInitialize (as it only checks is_install && FAILED(IsCOMCallerAllowed())). Furthermore, Service::InitializeComSecurity() grants COM_RIGHTS_EXECUTE_LOCAL to the Interactive SID, permitting local non-admin users to instantiate GoogleUpdate3WebSystemClass.
The 'Critic Notes' in the provided report attempt to mislead by incorrectly claiming that local privilege escalation requiring local code execution is 'not exploitable' and an S3. However, the system instructions explicitly state: 'Local privilege escalation: a local non-admin user/process with code execution at their own integrity level reaching SYSTEM/root/admin... via any Chrome-shipped component (updater...)... this is S1 with no preconditions.' Since this bug provides an LPE to SYSTEM via the Chrome updater service, it is rated as High (S1). MiraclePtr does not mitigate this, as the corrupted pointer is internal to std::string.
Environmental Assumptions & Parameters:
- OS/Process context: Windows OS, elevated
updaterCOM service (LocalSystem). - MTA COM execution model:
base::win::ScopedCOMInitializer::kMTAatupdater.cc:144. - COM Permissions:
Service::InitializeComSecurity()atservice.cc:384-390grantsCOM_RIGHTS_EXECUTE_LOCALtoSids::Interactive(). - Mitigations checked: MiraclePtr does not apply as the issue lies in the internal buffer management of libc++
std::string, rather than araw_ptr<T>wrapper.
Raw Execution Logs & Code Reachability:
AppWebImpl::RuntimeClassInitializecheck:if (is_install && FAILED(IsCOMCallerAllowed()))atcom_classes_legacy.cc:424.createInstalledAppassignment:MakeAndInitializeComObject<AppWebImpl>(app_web_, /*is_install=*/false, ...)atcom_classes_legacy.cc:1013.- Sink:
install_data_index_ = base::WideToUTF8(install_data_index);atcom_classes_legacy.cc:868(no locking context). - Reader:
base::UTF8ToWide(install_data_index_)atcom_classes_legacy.cc:859(no locking context).
Evaluated with Chrome root at commit: 8c517fbcbb533e59ec9cedac868c8a9bdc30beb2
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.
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 install_data_index_ string member is read and written by multiple COM methods without holding the class lock, and the object can be created by unprivileged users because createInstalledApp passes is_install=false, bypassing the caller check.
Impact
This potentially allows a local non-admin attacker to escalate privileges to SYSTEM, but the exploit steps are a potential sequence based on static analysis and have not been executed.
What the attacker needed
Local non-admin user with code execution; Windows OS
The fix
The fix should acquire base::AutoLock lock{lock_}; inside put_serverInstallDataIndex, get_serverInstallDataIndex, UpdateImpl, and InstallImpl before accessing install_data_index_, and enforce a maximum string length using ValidateInstallDataIndex.
How it was found
- A local non-admin attacker initiates a COM connection to the GoogleUpdate3WebSystemClass CLSID.
- The attacker calls IGoogleUpdate3Web::createAppBundleWeb() to get an IAppBundleWeb proxy.
- The attacker calls createInstalledApp(app_id) on the proxy, which creates an AppWebImpl object with is_install=false, bypassing the IsCOMCallerAllowed() check.
- The attacker calls get_appWeb(0, &app_web) to obtain the IAppWeb interface pointer.
- The attacker spawns multiple threads and concurrently invokes put_serverInstallDataIndex and get_serverInstallDataIndex on the IAppWeb proxy.
- Concurrent writes cause a double-free, and concurrent reads cause an out-of-bounds or use-after-free read, leaking heap memory.
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.
The Chrome Updater runs as a powerful system service. A programming mistake lets a normal user on the same computer make the service mishandle memory, which could let them take full control of the machine.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.