Race condition
Deno: Digging Tunnels out of a JS Sandbox
Deno's permission sandbox normalised paths without resolving symlinks and checked permissions separately from the actual file access, so a script could bypass read/deny lists and, via a race condition between directory changes and permission checks, gain arbitrary read and write. With arbitrary write the authors overwrote a V8 builtin through /proc/self/mem to run shellcode and obtain code execution.
Deno