Skip to content
Path traversal Advisory Intermediate CVE-2026-11112

Insufficient validation of untrusted input in Chromoting (CVE-2026-11112)

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 56 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 without the security team.

Overview: A potential path traversal vulnerability exists in the Chrome Remote Desktop native messaging host for Linux. By compromising an allowlisted extension, an attacker can send a crafted deletePairedClient request containing ../ sequences to delete arbitrary .json files on the host system.

Affected files:

  • remoting/host/pairing_registry_delegate_linux.cc
  • remoting/host/setup/me2me_native_messaging_host.cc
  • remoting/host/pairing_registry.cc

Estimated timestamp from git blame: 2022-07-01

Vulnerability Description

A potential path traversal vulnerability has been identified in the Linux implementation of the Chrome Remote Desktop (CRD) PairingRegistryDelegate.

The CRD Native Messaging Host handles deletePairedClient requests by extracting a clientId from an incoming JSON message. This clientId is directly used to construct a file path for deletion. Because there is no validation or sanitization of the clientId string, an attacker can include directory traversal sequences (e.g., ../../) to navigate outside the intended configuration directory. The underlying POSIX system calls resolve the traversal components, resulting in the deletion of arbitrary .json files accessible to the user running the Native Messaging Host process.

Step-by-step Execution Trace

  1. Me2MeNativeMessagingHost::OnMessage receives a native messaging payload from the browser and parses it into a dictionary (remoting/host/setup/me2me_native_messaging_host.cc).
  2. When the type is deletePairedClient, it calls Me2MeNativeMessagingHost::ProcessDeletePairedClient.
  3. The clientId string is extracted directly from the message dictionary without any format validation or character filtering.
  4. The clientId is passed via PairingRegistry::DeletePairing to the platform delegate.
  5. On Linux, PairingRegistryDelegateLinux::Delete is invoked (remoting/host/pairing_registry_delegate_linux.cc).
  6. The method constructs a filename by formatting the string "%s.json" with the attacker-controlled clientId.
  7. This filename is appended to the base registry directory (~/.config/chrome-remote-desktop/paired-clients) using base::FilePath::Append(). Append concatenates paths verbatim, failing to neutralize ../ components.
  8. The resulting base::FilePath is passed to base::DeleteFile(), which invokes the POSIX unlink/unlinkat syscall. The OS resolves the ../ traversal, deleting the target file.

Potential Attack Scenario

Note: These are suggested/potential steps, as our tooling agent doesn't yet have the ability to run code and provide a working proof of concept.

  1. An attacker compromises an extension allowlisted to communicate with the com.google.chrome.remote_desktop native messaging host (e.g., via a Cross-Site Scripting vulnerability in the CRD extension).

  2. The attacker uses the chrome.runtime.sendNativeMessage API to send a malicious JSON payload to the Native Messaging Host:

    JSON
    {
      "type": "deletePairedClient",
      "clientId": "../../../../../../../../tmp/target"
    }
    
  3. The host process constructs the deletion path as ~/.config/chrome-remote-desktop/paired-clients/../../../../../../../../tmp/target.json.

  4. The host OS deletes /tmp/target.json. The attacker can target any .json file that the active user has permissions to delete, potentially leading to denial of service or configuration disruption.

Suggested Fix

To mitigate this vulnerability, the clientId should be strictly validated upon extraction. Legitimate CRD client IDs are standard UUIDs (v4). Enforcing that the clientId is a valid UUID before passing it to the registry will safely reject malicious traversal sequences.

In Me2MeNativeMessagingHost::ProcessDeletePairedClient, validate the clientId:

C++
std::string* client_id =
    message.FindString(protocol::PairingRegistry::kClientIdKey);
if (!client_id || !base::Uuid::ParseLowercase(*client_id).is_valid()) {
  OnError("Invalid or missing '" + std::string(protocol::PairingRegistry::kClientIdKey) + "'.");
  return;
}

Additionally, standardizing path sanitization in PairingRegistryDelegateLinux::Delete (e.g., validating that the final path remains a child of the intended directory) would provide Defense in Depth.

Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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.

What is known

A medium-severity path traversal bug in Chromoting (Google Chrome). Chrome VRP made it public on 2 June 2026 as CVE-2026-11112. Fixed in version 149.0.7827.53.

About Path traversal

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.