Tor Browser exists for one job: hide your IP address. On November 26, 2026, security firm Calif showed that a single click on a malicious page could undo that job entirely — on Tor Browser 15.0.22 with default settings. The catch, and the real story, is the timeline: the underlying bug had already been fixed in September. The public proof of concept arrived two months later, and anyone still running the old version was exposed the whole time without knowing it.
The research, titled "TORtilla with Onion" and published as part of OpenAI's Patch the Planet program, is worth reading in full. Here's what it actually demonstrates, step by step, and what builders should take from it.
The chain, in four phases
Phase 1: One click, two windows. The victim opens the attacker's page and clicks once. That click opens a same-origin popup — Tor Browser blocks popups that open by themselves, so the attack needs the click and nothing after it. The opener and the popup are the same origin but two different JavaScript realms, and that split is the whole trick. A bug in BYOB (bring your own buffer) handling of ReadableStream between the two windows leaves a usable view over memory that has already been freed. That's CVE-2026-92027, a use-after-free in Gecko's DOM Streams code, rated CVSS 8.8.
Phase 2: From freed memory to code execution. The exploit runs the use-after-free twice. A 64 MiB pass leaks C++ vtables to defeat ASLR and locate libxul, Firefox's core library. A 512 MiB pass maps the allocator to find the exact address of controlled heap memory. Then the allocator is manipulated to overwrite a pointer, a fake object and vtable are installed, and a call to console.error() pivots the stack into a ROP chain running in the renderer. At this point the attacker has code execution — but still inside Tor Browser's level-6 Linux content sandbox, which is supposed to contain exactly this.
Phase 3: Escaping the sandbox through session history. This is the clever part. The ROP chain forges a browser-history entry carrying Firefox's System principal — the internal identity with the highest authority — and asks the parent process to reload it. The parent obliges and loads about:devtools-toolbox, the browser's own developer-tools page, now running with full privileges.
Phase 4: The leak. The privileged DevTools page reads the attacker's host and port from its own URL parameters, then opens a raw TCP socket from the parent process. That socket skips the SOCKS proxy rules that route Tor Browser's traffic through the Tor network. The attacker's server sees the connection's real source IP — a home connection's public IP, or the VPN's address if one runs underneath. The site's ordinary web requests keep arriving through Tor, so nothing looks wrong.
No relay had to be compromised. No Tor encryption was broken. The way in was the browser.
What was fixed, and when
Mozilla fixed the Streams bug on September 15, 2026, in Firefox ESR 140.16, and rated it high. The Tor Project shipped Tor Browser 15.0.23 the same day, and Calif confirms the chain stops working there. The current stable release is 16.0.3, out since November 24.
Two things matter here. First, the fix predates the disclosure by more than two months — the research was published on November 26, but the vulnerable version was current for only about a week in September. Anyone who kept their browser updated was never at risk from this chain. Second, one independent review of Mozilla's public code notes that the privilege-escalation step — the forged history entry — was hardened separately and only reached Tor Browser with version 16.0, and that Tor Browser 15.0, the last version for 32-bit Linux and older Android phones, never got that second change. That's another reason to update to the latest stable release rather than stopping at the September patch.
There are also no confirmed reports of this flaw being used against real Tor users. Calif's work is a proof of concept under controlled conditions, not evidence of a campaign.
What the proof of concept does not show
The honest limits matter as much as the headline:
- Linux only. Calif built the chain on 64-bit Linux, with memory addresses calculated for one specific build of the browser. The write-up shows no demonstration for Windows, macOS, or Android — which does not make old versions safe on those systems, only untested.
- One build, hardcoded addresses. The exploit depends on the exact layout of Tor Browser 15.0.22. It is not a generic skeleton key for every Tor installation.
- Default settings, standard security level. The report doesn't say whether the Safer or Safest security levels were tried.
None of that weakens the core finding. A chain that starts from a memory bug in the page renderer and ends with a direct connection outside Tor is a failure of the application's boundary, not of the Tor network — and application boundaries are exactly what Tor Browser is supposed to enforce.
The lesson for builders
If you build anything where the browser is a security boundary — and if you ship a desktop app, a sandboxed agent, or a tool that runs untrusted web content, it is — this research is a case study in three things:
1. The sandbox is not the last line of defense; the application boundary is. The ROP chain ran inside the content sandbox and still won, because the sandbox was never the thing standing between the attacker and the network. The thing standing there was a rule: every connection goes through the SOCKS proxy. The exploit found a privileged page that didn't follow that rule. When you audit your own app, ask which of your privileged components can open a socket, and whether any of them can be reached from unprivileged content.
2. Disclosure timing is part of the vulnerability. The bug was fixed in September and disclosed in November. That two-month gap is normal, responsible disclosure — but it means the window of exposure for unpatched users was silent. Update mechanisms that require no user action are the only reliable fix for that window. Tor Browser updates itself; the users at risk are the ones who disabled that, or who run a version that no longer receives updates.
3. Defense in depth is not a slogan. As Calif's researcher Carlos Roque puts it: "The browser is one layer of defense, not a guarantee on its own." Calif suggests pairing Tor Browser with dedicated devices or network-level Tor routing like Tails or Whonix, where even a browser-level escape still has to get through a separate network boundary. The same logic applies to AI agents that browse, run shell commands, or open sockets: no single layer should be load-bearing.
What to do
If you use Tor Browser, update to the latest stable release — 16.0.3 at the time of writing — through the browser's built-in updater or the official Tor Project download page. If you maintain systems that distribute Tor Browser, or an app built on Firefox ESR, check that you're past Firefox 140.16. And if you're the kind of person who reads exploit write-ups for fun, read the original: Calif's TORtilla with Onion walks through the full chain, including the allocator manipulation most summaries skip.
The whole point of Tor Browser is to hide the user's IP address. Leaking that address undoes the protection that routing through the network provides — and the fix, as usual, was already waiting. It just needed to be installed.