Incorrect authorization in Chromoting (CVE-2026-78892)
On Windows, the Chrome Remote Desktop WebAuthn host checks only the parent process ID to decide whether it was launched by a trusted browser. A local attacker can spoof that parent ID when creating the process, so an unauthorised local process can talk to the WebAuthn proxy and drive remote WebAuthn operations over an active session.
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: On Windows, the Chrome Remote Desktop remote WebAuthn host relies on parent PID verification to ensure it was launched by a trusted browser process. Because parent PIDs can be spoofed during process creation, a local attacker can bypass these path and signature checks to interact with the WebAuthn proxy. This allows unauthorized local processes to drive remote WebAuthn operations over an active session.
Affected files:
remoting/host/webauthn/remote_webauthn_caller_security_utils.ccremoting/host/webauthn/remote_webauthn_main.cc
Estimated timestamp from git blame: 2022-05-09
Potential Vulnerability Analysis
In remoting/host/webauthn/remote_webauthn_caller_security_utils.cc, the Windows implementation of IsLaunchedByTrustedProcess() verifies whether the process was initiated by a trusted browser process. It does this by querying its parent process ID:
base::ProcessId parent_pid =
base::GetParentProcessId(base::GetCurrentProcessHandle());
base::FilePath parent_image_path = GetProcessImagePath(parent_pid);
On Windows, base::GetParentProcessId() retrieves the parent PID by querying ProcessBasicInformation via NtQueryInformationProcess, which returns the InheritedFromUniqueProcessId field from the process's PEB.
However, this value is not a cryptographically secure or kernel-verified indicator of the actual creator process. During process creation, an attacker can specify an arbitrary parent process using the PROC_THREAD_ATTRIBUTE_PARENT_PROCESS attribute via UpdateProcThreadAttribute(). When this attribute is specified, the newly created child process's parent PID is set to the designated process, and it inherits handles from that designated process's handle table instead of the actual creator's.
By leveraging this mechanism, a local attacker could potentially launch remote_webauthn.exe with its parent spoofed to a genuine, signed chrome.exe instance, thereby bypassing the path and signature checks in IsLaunchedByTrustedProcess().
Potential Step-by-Step Scenario
Note: These are suggested/potential steps derived from code analysis; our tooling does not currently run active proof-of-concept exploits.
- A local attacker running at Medium Integrity Level (Medium-IL) opens a handle to an official, running or suspended instance of
chrome.exewithPROCESS_CREATE_PROCESSandPROCESS_DUP_HANDLEpermissions. - The attacker creates standard anonymous pipes and uses
DuplicateHandleto place the read/write ends into the targetchrome.exe's handle table as inheritable handles. - The attacker calls
CreateProcessto launchremote_webauthn.exe(from the Chrome Remote Desktop installation directory), specifying thePROC_THREAD_ATTRIBUTE_PARENT_PROCESSattribute pointing to thechrome.exehandle, and redirecting the standard input/output handles to the duplicated pipe handles. - When
remote_webauthn.exestarts,base::GetParentProcessId()returns the PID of the spoofedchrome.exeparent. GetProcessImagePathresolves this PID to the authentic pathC:\Program Files\Google\Chrome\Application\chrome.exe.IsBinaryTrustedverifies the signature of the genuinechrome.exebinary, which succeeds.- The validation passes, allowing the attacker to communicate directly with the verified
remote_webauthn.exeinstance over the duplicated pipes and issue arbitrary WebAuthn requests over the active CRD connection.
Suggested Remediation
To address this security boundary weakness, avoid relying on Parent Process IDs (PPID) for authorization on Windows, as they are inherently spoofable by same-integrity processes.
Instead, consider the following design changes:
- Direct Mojo IPC: Rather than launching a standalone executable via standard I/O redirection and performing parental checks on startup, establish a secure Mojo IPC connection directly initiated from the browser process via a trusted broker.
- Job Objects or Process Mitigation Policies: If process tree verification is required, utilize robust sandboxing, job objects, or restricted tokens to ensure that child processes cannot be spawned with arbitrary parent assignments within the security context of the Chrome Remote Desktop host services.
Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040
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
The code treats the parent process ID, which a caller can set at process creation, as proof that a trusted browser launched the helper.
Impact
A local attacker at medium integrity could drive remote WebAuthn operations over an active Chrome Remote Desktop session; the text presents this as a potential issue from code analysis, not a demonstrated exploit.
What the attacker needed
Local access at medium integrity; a running or suspended chrome.exe; an active Chrome Remote Desktop session
The fix
The helper should not rely on parent process IDs for authorisation; it should use a secure IPC channel started by the browser or robust process sandboxing such as job objects or restricted tokens.
How it was found
- Open a handle to a genuine chrome.exe with process-creation and handle-duplication rights.
- Create anonymous pipes and duplicate their ends into the chrome.exe handle table as inheritable handles.
- Launch remote_webauthn.exe with the parent-process attribute set to that chrome.exe handle and standard I/O redirected to the duplicated pipes.
- The helper reads the spoofed parent PID and resolves it to the genuine chrome.exe path.
- The signature check on the genuine chrome.exe succeeds and validation passes.
- Communicate with the verified helper over the duplicated pipes and issue arbitrary WebAuthn requests.
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.
A program can ask Windows to record a different program as its parent when it starts. The remote WebAuthn helper trusted that recorded parent, so a local attacker could make it look as if a genuine Chrome browser had started it. The attacker could then send their own WebAuthn requests through an active remote desktop session.
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.