TORtilla with Onion A researcher publishing through OpenAI's Patch the Planet program demonstrated a full exploit chain that de-anonymizes Tor Browser 15.0.22 at default settings and leaks the user's real IP address. The chain begins with a use-after-free in Gecko/Firefox BYOB ReadableStream handling, tracked as CVE-2026-92027, which the attacker triggers after the victim clicks once to open a same-origin popup; the exploit first uses 64 MiB to locate the libxul base address and then 512 MiB to control the freed region. The attacker then overwrites a pointer with a fake object and vtable, starts ROP in the renderer via console.error(), forges a history entry with System principal, and has the privileged DevTools page open a direct socket whose accept() reveals the public source IP that bypasses Tor. ← Research https://calif.io/research TORtilla with Onion De-anonymize Tor Browser to reveal the real IP Contents This research is part of OpenAI's Patch the Planet https://openai.com/index/patch-the-planet/ program. When we think about anonymity and security on the internet, as well as the dark web, one of the first things that come to mind is Tor, this great network of nodes that helps us navigate more safely through the most remote corners of the internet. In this article, we show how a malicious website can overcome the defenses of Tor Browser 15.0.22 , default settings to de-anonymize the user and leak their real IP. Tor Browser concept Tor Browser distributes a modified and hardened version of Firefox ESR together with the Tor daemon, which runs as a separate process. A simplified architecture of the platform: When we visit a normal website through Tor, the website sees the IP address of the exit relay instead of ours. With an .onion service, things work a little differently. Our browser and the service communicate through a shared Tor relay called a rendezvous point without revealing their IP addresses to each other. In both cases anonymity depends on the browser not opening a separate connection outside Tor. The final stage of this exploit violates that application boundary. Having laid the foundations, let's go with the first phase of the exploit. Exploit Chain The phases of the exploit are as follows: 1. The victim opens the page and clicks once to create the same-origin popup. A bug in BYOB https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader bring your own buffer handling between the two windows leaves a usable view over freed memory. It is exploited first with 64 MiB to find the base address of libxul and then with 512 MiB to control a UAF region and obtain its base address. 2. The allocator is manipulated to overwrite a pointer. A fake object/ vtable is installed, and console.error starts ROP in the renderer. 3. ROP forges a history entry with System principal and asks the parent to reload it. 4. De-anonymization: the privileged DevTools page opens a direct socket, accept reveals the public source IP address of the connection that bypasses Tor. First Phase: UAF ReadableStream on Gecko/Firefox CVE-2026-92027 Before going into the bug, let's start at the beginning, the attacker's infrastructure. The attacker has a website as simple as this: The exploit requires the user to click "Launch proof". As we can see in the following image, Tor Browser prevents the automatic execution of popups from websites as a security measure. You may be wondering: why are two windows needed? Great question This is going to be key when triggering the UAF. The attacker uses the main page the opener and another page that opens as a popup . Both arrive through Tor and belong to the same origin. As we said before, the two windows have the same origin; therefore, they can call each other, but they are two different JavaScript realms . The opener's task in this initial phase is to create the streams, preserve the views and analyze the memory. The popup provides the buffers, keeps the BYOB reads, and creates the allocations with which the memory will be reused. Before continuing, BYOB is a reading mode in which the consumer provides the memory where the producer should write. In a normal read, the stream creates or delivers its own block of data. With BYOB, the reader offers an already prepared Uint8Array for the producer to fill directly, avoiding another allocation and copy. Gecko coordinates that memory through the reader, a pending descriptor and controller.byobRequest.view . When the producer finishes, it indicates how many bytes it wrote through respond . The exploit deliberately omits that response to keep the read and its memory state pending. The communication begins like this: php victim - opens the opener through Tor victim - clicks the full-window link popup - host.register self host is the name the popup uses to refer to the opener . child is the name the opener uses to refer to the popup . They are ordinary variables, not special browser functions. The popup creates a large Uint8Array called victim . In the first pass it is 64 MiB, in the second 512 MiB. It then requests a byte ReadableStream from the opener and creates a BYOB reader: php popup - creates victim popup - host.makeStream i opener - creates ReadableStream {type: "bytes", pull controller {...}} opener - returns the stream to the popup popup - creates ReadableStreamBYOBReader stream popup - reader.read victim Opener : js ... function makeStream i {let s=new ReadableStream {type:'bytes',pull c { let req=c.byobRequest;if req&& bads i {controllers i =c;bads i =req.view; if bads.filter Boolean .length===count {document.title='BAD:'+count+':'+bads 0 .length;child.start } }}} ;streams i =s;return s} ... Popup : js ... const count=128; js async function setup {for let i=0;i