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

Operation on a resource after expiration or release in Network (CVE-2026-79010)

Cloned keep-alive URL loader factories in the browser process are not invalidated when the originating document is destroyed, so a compromised renderer can keep using them to make authenticated requests to a victim origin and read the responses. This bypasses Site Isolation and lets the attacker retain access to the victim origin's credentials after the document is gone.

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 compromised renderer can persistently maintain access to a victim origin's credentials by 'stashing' clones of the KeepAliveURLLoaderService factories. These clones are not invalidated when the originating document is destroyed, allowing an attacker to issue authenticated keep-alive requests long after the victim document is gone.

Affected files:

  • content/browser/loader/keep_alive_url_loader_service.cc
  • content/browser/loader/keep_alive_url_loader_service.h

Estimated timestamp from git blame: 2023-10-10

Summary

The KeepAliveURLLoaderService manages URLLoaderFactory and FetchLaterLoaderFactory instances used for keep-alive requests (e.g., fetch(..., {keepalive: true})). These factories are bound to a specific origin and its credentials via a network::SharedURLLoaderFactory. When a renderer calls Clone() on these factories, the browser creates a new Mojo receiver associated with a copy of the FactoryContext. However, these clones are independent and not collectively managed or invalidated. A compromised renderer can exploit this to maintain persistent, unauthorized access to a victim origin's capabilities long after the victim document has been navigated away or destroyed.

Technical Details

In content/browser/loader/keep_alive_url_loader_service.cc, both KeepAliveURLLoaderFactories::Clone and FetchLaterLoaderFactories::Clone use the FactoryContext copy constructor to create a new context for the cloned receiver:

C++
  void Clone(mojo::PendingReceiver<network::mojom::URLLoaderFactory> receiver)
      override {
    DCHECK_CURRENTLY_ON(BrowserThread::UI);

    loader_factory_receivers_.Add(
        this, std::move(receiver),
        std::make_unique<FactoryContext>(
            loader_factory_receivers_.current_context()));
  }

The FactoryContext copy constructor (lines 59-66) copies all fields, including the factory (a strong scoped_refptr<network::SharedURLLoaderFactory>) and the network_isolation_key.

Each receiver in the browser-side mojo::ReceiverSet owns its own FactoryContext. Although the context contains a weak_document_ptr, the service does not verify that the document is still alive when CreateLoaderAndStart (or CreateLoader) is called. The SharedURLLoaderFactory (which holds the Network Service's origin lock and credentials) remains alive in the browser process as long as the Mojo pipe remains open.

Potential Attack Scenario

  1. A renderer process is compromised.
  2. The attacker navigates an iframe to a sensitive victim origin (e.g., https://victim.example). In scenarios like Android where Site Isolation is relaxed, this document may load in the compromised renderer.
  3. The browser calls KeepAliveURLLoaderService::BindFactory to set up a URLLoaderFactory for keep-alive requests bound to victim.example's origin lock and credentials.
  4. The attacker calls Clone() on this factory multiple times and "stashes" the resulting Mojo remotes in the renderer.
  5. The victim document is navigated away or destroyed (e.g., the iframe is navigated to about:blank). Ordinarily, the renderer's access to the origin's capabilities should be revoked at this point.
  6. However, because the cloned Mojo pipes remain open in the compromised renderer, the corresponding FactoryContext objects and their origin-locked SharedURLLoaderFactory references remain alive in the browser.
  7. The attacker uses these stashed clones to issue authenticated keepalive requests to victim.example.
  8. Because KeepAliveURLLoader uses a ForwardingClient to send response data back to the renderer, the attacker can also receive and read the cross-origin responses to these requests, completing the Site Isolation bypass.

Suggested Fix

The KeepAliveURLLoaderService should track all cloned receivers belonging to the same document context. Because WeakDocumentPtr becomes null and cannot be compared when the document is destroyed, the FactoryContext should store a stable identifier like a blink::DocumentToken. The service should actively observe document destruction (e.g., via RenderFrameHostObserver) and close all associated receivers for that DocumentToken when the originating document is destroyed or navigated.

Evaluated with Chrome root at commit: 4859e669de60239572397b559c17dfab074511e9


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.

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

The service does not track or invalidate cloned factory receivers when the originating document is destroyed, so each clone keeps its own copy of the origin-bound factory context alive.

Impact

A compromised renderer could persistently make authenticated requests to a victim origin and read the responses, bypassing Site Isolation, though the report notes this depends on scenarios like Android where Site Isolation is relaxed.

What the attacker needed

Compromised renderer process; Site Isolation relaxed (e.g. Android); victim origin loaded in that renderer

The fix

The service should track all cloned receivers by a stable document identifier and close them when the originating document is destroyed or navigated.

How it was found

  1. Compromise a renderer process.
  2. Navigate an iframe to a sensitive victim origin, which may load in the compromised renderer where Site Isolation is relaxed.
  3. The browser binds a keep-alive URL loader factory to the victim origin's credentials.
  4. Call Clone() on the factory multiple times and stash the resulting Mojo remotes.
  5. Navigate the victim document away or destroy it.
  6. Use the stashed clones to issue authenticated keep-alive requests and read the responses.

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 makes a 'keep-alive' request, the browser creates a special helper tied to that page's origin and login credentials. The report says a malicious page could make copies of that helper and keep them alive even after the original page is closed, then use the copies to talk to the victim site as if it were still that page. This breaks the browser's normal rule that a page loses its access when it goes away.

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.