Xbow found a chain of three bugs to get RCE in Chrome outside of the sandbox. To do this, they split the work across multiple GPT 5.6 sol agents to find bugs, write PoCs and develop exploit stages. This took only six days, which shows how good these agents are. From $40K in API charges to $250K bug bounty.
The first vulnerability was in the V8 mid-tier optimizing compiler. When optimized code is not created but is being represented, it sometimes needs to be deoptimized if an assumption no longer holds true. One of the invariants of the deoptimizer is HeapNumberRef is only created for immutable HeapNumbers. This is violated when one area of the code turns a mutable object into a literal, which is then copied as a reference in later places. This allows for double fields to share one mutable HeapNumber
They used this vulnerability against Array.prototype.at() to violate bounds constraints. Using three optimized load functions was enough to disclose nearby V8 pointers, recover the layout, and obtain a reference to an attacker-described array to write to arbitrary locations within the V8 heap cage. The fix was to simply remove the literal object special case.
So, this gives us access to the V8 Cage, but it's not a complete compromise yet. Instead of attacking the sandbox APIs directly, they reviewed the threat model around what was "allowed" and attacked it from there. A few weird assumptions popped up: concurrent modifications to in-cage objects, swaps between pointers of the same type, etc., must all be safe when accessing them from outside the sandbox.
When the code interacting with the sandbox accesses memory, it must ensure that the ArrayBuffer is immutable to attacker changes. This makes moving or copying the backing store impossible (the backing store is just a reference to the memory that references the actual backing data from the pointer that is a V8 JavaScript object).
In WebP's decoder, this wasn't true. It was possible to live change data to violate memory safety constraints. Once the backing store was swapped, it broke assumptions about an allocated buffer. By using a smaller image and upgrading to a larger one, the copy operation could use the larger image's size with the smaller buffer. This led to an out-of-bounds heap buffer overflow. The primitive above creates a single out-of-bounds write outside of the V8 cage that could be used over, and over again.
Chrome has another sandbox: the renderer sandbox. To do this, they targeted Chrome's Crashpad handler, which runs outside this sandbox. When it receives a snapshot request, it suspends the renderer and reads data structures from the renderer's address space. When reviewing this code, you see an obvious buffer overflow: a read that isn't properly bounded. It was safe under one assumption: the process's address space cannot change. Let's violate that!
THREAD_CREATE_FLAGS_BYPASS_PROCESS_FREEZE on a Windows thread can be used to make a process continue while NtSuspendProcess() is called on it. This creates a TOCTOU situation based on the assumption in the code. The attacker can force an error on a read to fail, make it valid again, and now the buffer is improperly sized when the read occurs. This leads to a major OOB write in the Crashpad process.
From there, they corrupted VTable entries with legitimate other addresses to bypass CFG. This allowed them to trigger a call to cmd.exe to get a shell. Crazy!
My favorite part of the post is at the end though. Bug collisions are a major risk right now with how many people are throwing LLMs at codebases. To guard against this, they found multiple compromises at each stage. The original V8 sandbox escape was a duplicate, so they replaced it with the one described in this post. After learning it was a duplicate, they scrambled for a few hours to get the full chain working again.
They had some fun takeaways. First, all of the reported bugs in the chain were issues with something being immutable that was actually mutable under the proper circumstances. Second, LLM's do a lot of the work but you guide the research areas with your knowledge. Great read!