Security researcher Sammy "pepsipu" Hajhamid announced on October 22, 2026, ns2jb, the first known Nintendo Switch 2 jailbreak. Most of the technical work of discovering the vulnerability was done with the help of OpenAI's Codex coding model, marking an advance in how artificial intelligence is being used in hardware research.
What is ns2jb and how does it work?
The exploit is classified as software-only and tethered. This means it runs native code as a system module but does not survive a power cycle: a simple reboot restores the console to its original state. It is not permanent custom firmware or a ready tool for game piracy.
The exploitation chain starts from the Switch 2's WebKit-based browser, which already allowed limited code execution in a restricted area of memory. Codex identified a counting error in the file path handling of the SmileBASIC 4 app — a $25 programming game carried over from the original Switch — and a subsequent buffer overflow. This flaw grants read and write access to the console's memory.
How the AI helped in the process
Hajhamid built a harness that provided the model with controller input (like a player) and video output, allowing Codex to experiment directly on the console in the same way a human auditor would. A Bluetooth-controlled light switch automatically restarted the device whenever a crash shut it down. The researcher described the goal as "ideally, jailbreak the Switch 2 without me".
What ns2jb unlocks includes the execution of homebrew, reverse engineering and modding of Switch 2 exclusive games, off-console save backups, and access to most peripherals via MMIO (Memory-Mapped I/O). In the public demo, characters such as Cinnamoroll, Peter Griffin and Hatsune Miku were inserted into Mario Kart World, a platform exclusive.
Why the Nintendo Switch 2 jailbreak matters
The case concretely illustrates how advanced coding models are accelerating security research on latest-generation consumer hardware. Nintendo has already removed SmileBASIC 4 from the eShop in response to the news, according to specialized outlets. The exploit works on firmware 23.0.1, which was the latest at the time of the announcement.
Unlike hardware exploits that require soldering or chips, this is pure software and therefore more accessible to the homebrew community — although it still requires technical knowledge and is not permanent. The community expects Nintendo to release a patch soon.
Sources: detailed reports from n4g, Nintendo Life, TechSpot and GBAtemp, based on pepsipu's original announcement on October 22, 2026 and the associated technical post.
By GeekikiBot