One Click to Bypass Tor: Calif Discloses Real IP Leak Chain
Calif has disclosed a four-stage exploit chain against Tor Browser 15.0.22 default settings: after a user clicks a malicious page, the attacker first exploits a cross-window BYOB use-after-free to gain control, then forges a browser object and the parent window's history, and finally gets a privileged DevTools page to establish a direct connection that bypasses Tor and exposes the real public IP.

- Lure a click to open a same-origin popup and trigger the memory vulnerability
- Exploit the pending BYOB state to control UAF memory
- Forge objects and a vtable to launch renderer ROP
- Have a privileged page connect directly and echo back the public source IP
This article is based on Calif Research's own research page; the vulnerability ID, attack steps, and PoC behavior all come from that page. The article gives no fixed version from the Tor Project, and no third-party retest report has been seen.
You open a malicious website in Tor Browser, and the page has just one prominent "Launch proof" button: after you click, a new window pops up, and the code behind the site begins exploiting a cross-window memory vulnerability, hijacking the browser process, and getting a privileged page to connect to the network directly, bypassing Tor, ultimately returning your real public IP to the attacker. Calif's research shows this chain can be triggered under Tor Browser 15.0.22 default settings; it is not the Tor network actively leaking an address, but the browser itself crossing the anonymity boundary.
Why you must be tricked into that one click
The first step of the attack must be triggered by a user click. The malicious page opens a same-origin popup, bringing two script environments that share permissions but actually run separately into contact with the same memory flaw.
The trigger is the "Launch proof" button on the malicious page. Tor Browser blocks websites from opening popups automatically, so the attacker must first obtain a user click. After the click, both the malicious main page and the new popup reach the target website through Tor; both have the same origin, so they can call each other.
Why isn't same-origin enough? The main page and the popup belong to two different JavaScript realms, that is, isolated JavaScript execution environments. Same-origin lets the two windows cooperate; the isolated environments push memory handling between the windows into the vulnerability trigger path.
A web page can use the window object to make calls across the boundary, but that does not merge the two runtime states. Calif assigns the vulnerability that triggers this flaw the ID CVE-2026-92027 (a publicly registered vulnerability ID).
The read hasn't finished, but the memory is freed first
What the cross-window vulnerability leaves behind is not ordinary data, but a region that has already been freed yet is still referenced by the main window's view and may be reallocated.
The key lies in the ownership handoff of BYOB (bring your own buffer, where the producer writes directly). An ordinary byte stream usually creates or delivers chunks itself; with BYOB, the reader first provides a prepared Uint8Array (a typed array of writable bytes), and the producer fills data directly into it. Across windows, the popup hands this memory to the main window's stream, so the main window retains a view of the memory. In the normal flow, the producer calls respond() (reporting the number of bytes written this time) after writing, and the read then ends.
The attacker deliberately does not call respond(). The read therefore stays pending (an unfinished waiting state), and the related memory state is not finalized through the normal flow.
The view held by the main window still points to the buffer ownership state provided by the popup, forming a cross-window memory reference that can still be exploited. This memory is then freed, and its original contents are no longer constrained by the original owner; yet the view left by the main window does not become invalid in sync. The freed region can be handed by the allocator to other objects, giving the attacker a chance to overwrite it with known data and then read or influence the new object through the stale view. The problem is that the unfinished read lets the sharing relationship cross the free boundary.
The exploit code locates things using two rounds of buffers of different sizes. The first round uses a 64 MiB buffer to find the libxul (the code library carrying the browser's core functionality) base address, that is, its starting address in process memory. The second round switches to a 512 MiB buffer to control the UAF (use-after-free, where a freed object is still accessed through an old reference) region and obtain the base address of that region. The first round gives the code library's location; the second round makes the freed memory fall back into allocations the attacker can arrange.
After obtaining UAF memory, how does the attacker turn a pointer into an execution path?
The previous stage left readable memory behind. The attacker then manipulates the memory allocator, rewrites a pointer, and installs a forged object and vtable into it; then calls console.error() (the console interface triggered when the browser converts an object to text), leading the renderer along the forged structure into ROP.
The forged object is responsible for disguising controlled memory as a type the browser recognizes, while the vtable provides the corresponding method entries. (The table looked up for function addresses when an object calls a method.) Once installed, when the browser executes a method of that object, it continues running according to the addresses in the forged table. Calif classifies this segment as the second stage, "UAF to ROP": the (use-after-free memory vulnerability, where freed memory continues to be used) provides the landing point, the forged structure provides the shape, and ROP strings a series of code fragments into an execution path.
The trigger point is chosen inside the (browser process responsible for displaying web pages and running page scripts). The attacker calls console.error(), making the renderer process the forged object; the vtable entry carried by the object is thereby invoked, and ROP then gains an execution environment. This interface is not a ready-made switch for bypassing the browser sandbox; its role here is to start a controlled call chain.
Memory read/write and code execution are not a direct jump. The allocator rewrites the pointer, directing control toward the forged structure; the vtable makes the call path land in an entry the attacker arranged; console.error() triggers this path; and ROP then chains multiple code fragments in order. The vulnerability research records precisely this conversion process, and only then comes the question of how it crosses the browser's privilege boundary.
How does ROP cross the browser privilege boundary?
ROP (Return-Oriented Programming (borrowing existing instructions to stitch together an execution flow)) does not directly break Tor; instead, it forges a history record that the parent window accepts, and then gets the parent window to load it.
The ROP stage targets the parent window's history. The attacker forges entries in it and attaches the System principal (an identity with system-level privileges) to the entries. The forged content is thus not just a loadable address, but also carries the identity marker the browser uses for privilege decisions.
After the parent window receives the reload request, it handles subsequent actions according to the privileges carried by the forged record. Calif describes this step as an explicit handoff: ROP prepares the parent window's history, the parent window loads it, and the privilege escalation result enters the next page with the System principal (an identity with system-level privileges) accepted by the parent window.
What takes over subsequent operations is not an ordinary page of the malicious website, but a privileged DevTools (the browser's built-in developer tools) page. Even if an ordinary website gains execution capability through the preceding memory manipulation, it still lacks the system identity needed to cross the browser privilege boundary; ROP forges the history record and feeds this identity into the load path accepted by the parent window.
At what step is the real IP exposed?
The real public IP is not guessed by Tor. After the browser establishes a connection outside Tor, the network interface directly returns the address of the user's device.
An ordinary Tor website sees the IP address of the exit relay (the node that sends traffic out of the Tor network on the user's behalf), not the user's device address. With a .onion service (a site reachable only through the Tor network), the browser and the service communicate through a Tor rendezvous point shared by both parties, and they do not directly see each other's IP addresses either. Both paths share a common condition: the browser must not open another connection that bypasses Tor.
The exposure occurs in the final stage of the exploit chain. The privileges obtained earlier bring the operation to the privileged DevTools page (a developer tools page with higher system privileges), which then opens a direct socket (a direct network socket that does not go through Tor). When the connection is established, the remote side can see the public source IP of this direct connection.
The connection information returned by accept() (returns connection information after the socket accepts a connection) points this Tor-bypassing connection to the user's real public source IP. The PoC (proof-of-concept program verifying that the vulnerability is usable) thereby supports leaking the real IP, not merely demonstrating an anomalous connection.
The moment the user clicks "Launch proof," the real public IP is handed over along this direct connection that bypasses Tor. How will the Tor Browser maintainers patch the vulnerability from Section 1, and can they confirm that all Tor-bypassing connection paths have been closed?
Sources and scope: This article is based on Calif Research's "TORtilla with Onion" research page and vulnerability ID CVE-2026-92027; Calif disclosed the exploit chain under Tor Browser 15.0.22 default settings, but gave no fixed version from the Tor Project and no third-party retest results. The fix status is subject to official follow-up announcements.
Glossary · Plain-language notes appearing in this article
The full text of deep dives, research analyses, and tool tutorials, plus all podcasts, are in the members' area.