Insufficient validation of untrusted input in SiteIsolation (CVE-2026-11056)
A compromised renderer on Windows could bypass file access checks because the browser's permission check failed to treat path components like '.. ' (dot-dot-space) as parent directories, while Windows normalises them to '..'. An attacker could then read arbitrary files, such as the browser's saved login data, outside the granted directory.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 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 security team.
Overview: A compromised renderer on Windows can potentially bypass file access checks and read arbitrary files. ChildProcessSecurityPolicyImpl::HasPermissionsForFile fails to recognize Windows path traversal variants like .. (dot-dot-space) as parent directories, allowing an attacker to escape granted directories and access sensitive files.
Affected files:
content/browser/child_process_security_policy_impl.cccontent/browser/blob_storage/file_backed_blob_factory_base.cccontent/browser/renderer_host/file_utilities_host_impl.cc
Estimated timestamp from git blame: 2013-10-24
Vulnerability Details
In content/browser/child_process_security_policy_impl.cc, the method ChildProcessSecurityPolicyImpl::SecurityState::HasPermissionsForFile determines if a child process has permissions to access a specific file path. It does this by walking backward through the path components, looking for a prefix that the process has been granted access to.
To prevent path traversal escapes, the method maintains a skip counter that increments when it encounters a parent directory component. However, the check uses strict string equality: if (base_name.value() == base::FilePath::kParentDirectory) (where kParentDirectory is L"..").
On Windows, APIs like CreateFileW apply path normalization that strips trailing dots and spaces from path components. Therefore, a component like .. (dot-dot-space) is treated by the OS as ... Because HasPermissionsForFile relies on strict string matching without accounting for this normalization, .. fails the equality check and is treated as a normal directory name instead of a parent reference. The skip counter is not incremented.
An attacker can construct a path that begins with a file they have been granted access to, followed by multiple .. components, and ending with a target sensitive file. The security loop will strip the trailing components (without skipping the parent components), eventually matching the granted prefix and incorrectly returning true.
When a vulnerable endpoint (like FileBackedBlobFactoryBase::RegisterBlobSync) uses the raw path string to open the file via CreateFileW, Windows normalizes .. to .. and processes the traversal lexically. This collapses the path, escaping the granted directory and opening the target file, resulting in an Arbitrary File Read.
Potential Exploitation Steps
Note: These are suggested steps based on static analysis, as a working PoC has not yet been run.
- Gain Initial Access: The attacker compromises a renderer process on Windows.
- File Grant: The attacker convinces the user to grant the renderer access to at least one file, for example, by dragging and dropping
C:\Users\victim\Downloads\shared.txtonto an attacker-controlled web page. - Path Construction: The compromised renderer crafts a malicious path using the trailing whitespace traversal technique:
C:\Users\victim\Downloads\shared.txt\.. \.. \.. \.. \Users\victim\AppData\Local\Google\Chrome\User Data\Default\Login Data - Mojo Invocation: The renderer passes this path to a Mojo endpoint that relies on
CanReadFilebut uses the raw path for file operations. A prime candidate is creating a file-backed Blob viablink.mojom.BlobRegistry/FileBackedBlobFactoryBase::RegisterBlobSync. - Bypass and Read: The browser's
HasPermissionsForFileincorrectly validates the path due to the..components matching theshared.txtgrant. The browser stores the raw path in the Blob. When the renderer subsequently reads the Blob,CreateFileWnormalizes the path, traverses up the directory tree, and streams the contents ofLogin Databack to the attacker.
Suggested Fix
Update the parent directory check in ChildProcessSecurityPolicyImpl::SecurityState::HasPermissionsForFile to accurately reflect Windows path resolution rules.
Instead of checking strictly for base::FilePath::kParentDirectory, the code could utilize the existing Windows-specific logic found in base::FilePath::ReferencesParent() (in base/files/file_path.cc), which correctly identifies components consisting solely of dots and whitespace as parent references on Windows. Alternatively, normalize the path components by stripping trailing whitespace before performing the kParentDirectory check.
Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33
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.
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 permission check compared path components to '..' using strict string equality, so it did not recognise Windows path components like '.. ' that the operating system normalises to '..'.
Impact
A compromised renderer could read arbitrary files on Windows, including sensitive files such as the browser's saved login data; the report notes that a working proof of concept has not yet been run.
What the attacker needed
Compromised renderer on Windows; user grants access to at least one file
The fix
The parent directory check should be updated to use Windows-specific logic such as `base::FilePath::ReferencesParent()` or to strip trailing whitespace before comparing to `kParentDirectory`.
How it was found
- Compromise a renderer process on Windows.
- Convince the user to grant the renderer access to at least one file, for example by dragging and dropping a file onto an attacker-controlled web page.
- Craft a malicious path using the trailing whitespace traversal technique.
- Pass this path to a Mojo endpoint that relies on CanReadFile but uses the raw path for file operations, such as creating a file-backed Blob.
- The browser incorrectly validates the path, stores the raw path in the Blob, and when the renderer reads the Blob, Windows normalises the path and streams the target file's contents back to the attacker.
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.
When a web page asks to read a file you dragged onto it, the browser checks that the page is only allowed to read that specific file. This report found that on Windows, a sneaky path containing '.. ' (two dots and a space) tricked that check, because Windows treats '.. ' the same as '..' (go up one folder). A malicious page could then read other files on your computer, like saved passwords.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.