ns2jb explained: the software-only exploit chain that broke the Nintendo Switch 2’s trust boundary
A researcher detailed a software-only exploit that breaks the Nintendo Switch 2's trust boundary without requiring hardware changes.
Overview
On October 22, 2026, security researcher Sammy Hajhamid detailed a software-only exploit chainTwo or more separate vulnerabilities linked together in sequence to break through multiple layers of defense called ns2jb that breaks the trust boundary of the Nintendo Switch 2 running firmwareLow-level software stored on a hardware chip that starts and controls a device 23.0.1. Unlike the previous generation which required hardware modchips, this method uses no hardware changes and instead chains a bug in a legacy application with a privilege escalationA flaw or trick that lets a low-level user account gain administrator control over a system in the console's filesystem service. The result is native code executionA flaw that lets an attacker run any commands or program they choose on the target machine inside that service, which Hajhamid achieved using AI-assisted development tools including OpenAI's Codex. Although much coverage treats this as a finished custom firmware, it is actually a tethered research proof-of-conceptA working sample of code or steps that shows a reported security flaw can really be triggered. The exploit bypasses strong ARM mitigationsA defensive step or setting change that lowers the risk of a flaw before patching like Execute-Only Memory, Pointer AuthenticationVerifying that a user, device, or program really is who it claims to be before allowing access Codes, and Control-Flow IntegrityThe property that data was not changed by targeting the backward compatibility layer rather than the web browser. This vulnerability affects users of the Nintendo Switch 2 by demonstrating that legacy software can still be exploited to gain unauthorized access to system services.
Terms in this story
- exploit chain
- Two or more separate vulnerabilities linked together in sequence to break through multiple layers of defense. A single bug in a browser tab might not be enough on its own, so an attacker combines a browser bug with a second kernel bug in an exploit chain to escape the sandbox.
- firmware
- Low-level software stored on a hardware chip that starts and controls a device. Every router, network card, solid-state drive, and motherboard runs firmware, and malware that hides in firmware can survive even if you reinstall the main operating system. Security+ objective 2.3 lists the term
- privilege escalation
- A flaw or trick that lets a low-level user account gain administrator control over a system. After breaking into a regular guest or employee account, an attacker uses privilege escalation to gain full system rights and disable security tools. Security+ objective 2.4 lists the term
- code execution
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- proof-of-concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- mitigations
- A defensive step or setting change that lowers the risk of a flaw before patching. When a software vendor has not finished a patch yet, its advisory often lists a mitigation such as turning off an optional feature or blocking a specific URL path at the firewall. Security+ objective 2.5 lists the term
- Authentication
- Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
- Integrity
- The property that data was not changed. File checksums and digital signatures protect integrity so you know a downloaded software update or bank wire instruction was not altered in transit by an attacker. From the CYBR 101 room CYBR 101: What is a hash?
- jailbreak
- Bypassing the built-in restrictions on a mobile device or the safety rules on an AI chatbot. In older mobile news a jailbreak removed phone operating system locks, while today it usually means a clever prompt that tricks an AI model into ignoring its safety filters. Security+ objective 2.3 lists the term
- exploitation
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- attack surface
- All the places where an attacker could try to enter, probe, or extract data from a system. Every open network port, public website, cloud login page, and third-party plugin adds to an organization's attack surface, so defenders shut down services they do not need. Security+ objective 3.2 lists the term
- payloads
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.
Read the full article on The CyberSec Guru (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...software-only exploit chain that broke the nintendo switch 2s trust boundary..." Found by reading the article; these exact words are in it - Who is affected: "Nintendo Switch 2..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"......of ns2jb, the software-only Nintendo Switch 2 jailbreak: a SmileBASIC 4 overflow, an fs..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"...ns2jb explained: the software-only exploit chain that broke the Nintendo Switch 2’s..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"......of ns2jb, the software-only Nintendo Switch 2 jailbreak: a SmileBASIC 4 overflow, an fs..." Found in the opening sentences - CYBR 101 week 8: networks, ports, DNS and packets
"......software-only exploit chain that broke the Nintendo Switch 2’s trust boundary..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of basic client software applications and their attack surfaces.
"...software-only exploit chain that broke the nintendo switch 2s trust boundary..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role