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

Insufficient validation of untrusted input in Cast (CVE-2026-17769)

The DIAL application name validation in Chrome allowed the traversal token '..', so a malicious website could make the browser process send HTTP requests to the root of local network devices instead of the intended /apps/ path. This bypassed Private Network Access protections and allowed probing of local services.

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

Overview: The DIAL protocol implementation in Chrome contains a path traversal vulnerability that permits unauthorized HTTP requests to local network devices. This occurs because application name validation incorrectly allows the traversal token '..', enabling an attacker to escape the intended API namespace.

Affected files:

  • components/media_router/common/media_source.cc
  • chrome/browser/media/router/providers/dial/dial_media_route_provider.cc
  • chrome/browser/media/router/discovery/dial/dial_app_discovery_service.cc
  • chrome/browser/media/router/discovery/dial/dial_media_sink_service_impl.cc
  • chrome/browser/media/router/discovery/dial/dial_url_fetcher.cc
  • chrome/browser/media/router/providers/dial/dial_activity_manager.cc

Estimated timestamp from git blame: 2026-04-07

Summary

A potential path traversal vulnerability exists in the DIAL (Discovery and Launch) component of Chrome's Media Router. The sanitization logic for DIAL application names incorrectly allows the dot character ('.'), permitting the traversal token '..' to be accepted. This allows an attacker to cause the browser process to issue unauthorized HTTP GET or POST requests to local network devices, bypassing Private Network Access (PNA) protections.

Root Cause Analysis

The vulnerability is located in IsDialAppName within components/media_router/common/media_source.cc. This function is intended to validate DIAL application names against a whitelist of allowed characters:

C++
bool IsDialAppName(std::string_view app_name) {
  if (app_name.empty()) {
    return false;
  }
  return std::ranges::all_of(app_name, [](char c) {
    return base::IsAsciiAlpha(c) || base::IsAsciiDigit(c) || c == '-' ||
           c == '.' || c == '_' || c == '~';
  });
}

The inclusion of . in the whitelist allows the string ".." to pass validation. When this name is subsequently resolved against a device's DIAL Application-URL (e.g., http://192.168.1.50:8008/apps/) using GURL::Resolve(), it results in a path traversal that escapes the /apps/ directory, resolving to the root of the device (http://192.168.1.50:8008/).

Potential Exploitation Path

An attacker can potentially trigger this behavior from a malicious website using the Presentation API without user interaction:

  1. The attacker's page calls new PresentationRequest(['cast-dial:..?clientId=1']).getAvailability().
  2. The browser process extracts the app name ".." from the cast-dial: URL. IsDialAppName("..") returns true.
  3. For every DIAL-compatible device discovered on the local network, the DialAppDiscoveryService constructs a URL by resolving ".." against the device's Application-URL.
  4. The DialURLFetcher issues an HTTP GET request to the resulting traversed URL (e.g., the device's root path).

Because these requests are issued by the browser process using the system network context and a privileged internal Origin header, they bypass Private Network Access (PNA) restrictions. This allows an attacker to interact with local network services and potentially discover or probe internal devices.

Note: These are potential steps based on code analysis; our current environment does not allow for a live proof-of-concept execution.

Impact

This is a Server-Side Request Forgery (SSRF) vulnerability impacting the browser process. It allows for unauthorized interaction with local network devices and a bypass of the security boundaries established by PNA and DIAL sanitization.

Suggested Fix

Modify IsDialAppName in components/media_router/common/media_source.cc to explicitly reject application names that are exactly "." or "..". Additionally, consider validating that the URL produced by GetDialAppUrl is a subpath of the original app_url to prevent any form of resolution-based traversal.

Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e


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

Impact

This could allow an attacker to interact with local network services and probe internal devices, bypassing Private Network Access restrictions, though the report notes no live proof-of-concept was executed.

What the attacker needed

Victim visits a malicious website; DIAL-compatible device on local network; no user interaction required

The fix

The IsDialAppName function should explicitly reject names that are exactly '.' or '..', and the produced URL should be validated to remain a subpath of the original app URL.

How it was found

  1. The attacker's page calls the Presentation API with a cast-dial URL whose app name is '..'.
  2. The browser extracts the app name '..' and IsDialAppName returns true.
  3. For each discovered DIAL device, the app discovery service resolves '..' against the device's Application-URL.
  4. The URL fetcher then issues an HTTP GET request to the traversed URL, such as the device root.

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.

DIAL is a protocol that lets apps find and launch media apps on devices like smart TVs on your local network. Chrome checked the app name but allowed dots, so a name of just two dots could be used to climb out of the expected folder on the device. A malicious website could then make your browser send requests to other addresses on your home network that it normally should not reach.

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.