Security Researcher Demonstrates Software-Only Jailbreak for Nintendo Switch 2
Researcher Sammy Hajhamid announced a software-only partial jailbreak for the Nintendo Switch 2 that works on firmware version 23.0.1.
2 min read
What Happened
Security researcher Sammy Hajhamid, known online as pepsipu, has demonstrated a software-only partial jailbreak for the Nintendo Switch 2 [1, 2]. This exploit, called ns2jb, allows for “userland” access, which means it provides limited control over the system rather than full hardware mastery [1, 2].
Key details of the discovery include:
- The exploit works on the latest console firmware, version 23.0.1 [1, 2].
- It relies on an integer overflow vulnerability found in the SmileBasic 4 interpreter, a programming environment originally for the Switch [1].
- Hajhamid used OpenAI’s Codex to help analyze the SmileBasic language interpreter [1].
- After approximately two weeks of effort, the researcher used a custom harness to find a 32-bit integer overflow that occurs when removing items from an array in SmileBasic [1].
- This error provides access to an array pointer, allowing read and write access to parts of the system memory [1].
- A second vulnerability, a buffer overflow in the FileSystem services module, was found to grant arbitrary read and write privileges [1].
- This allowed the researcher to execute privileged filesystem actions and achieve native code execution [1].
- The hack is “tethered,” meaning it must be reapplied every time the console restarts [2].
- It requires a macOS or Linux PC on the same network to run a node.js package to enable privileged access [1].
- As a proof of concept, Hajhamid demonstrated modded characters in Mario Kart World [1].
While the exploit allows users to run homebrew software, reverse engineer games, mod titles, back up save files, and access most peripherals through MMIO, it remains trapped in a small sandbox [1]. It does not provide kernel-level access or allow for persistent custom firmware [1, 2].
Who Is Affected
Nintendo Switch 2 owners who have purchased or downloaded SmileBasic 4 are currently able to use this exploit [1, 2]. SmileBasic 4 has already been delisted from the Switch eShop worldwide, though a Japanese demo version may still be accessible [1]. Some users on Reddit have reportedly purchased the game and taken their consoles offline to avoid a potential patch [2]. While this specific exploit is limited by the availability of the software, other members of the hacking community are suggesting similar exploits may work using different games [1].
What to Do Next
This vulnerability is expected to be patched in upcoming firmware releases [1].
About the author
Ali Raza, Founder
Sources
- Switch 2 security takes a hit as hackers unlock homebrew access — Ars Technica
- Nintendo Switch 2 jailbreak could open the door to a world of mods — androidauthority.com
Drafted with AI assistance from the reports above and checked automatically for sourcing. Always confirm dates, fees and requirements on the official website before acting. Report an error · How we correct mistakes
Questions or something to add?
Ask below. We read every comment and reply when we can.