Minecraft Java Edition has a new, unpatched remote code execution vulnerability. The flaw, called Minecraft2Shell, allows an attacker to take control of a player's computer using a crafted resource pack containing TrueType fonts, and a public exploit has been working since November 22, 2026 on version 26.3. According to Cyber Kendra, Mojang has not yet released a fix based on the FreeType 2.15.0 library, which removes the bug responsible for the exploit.
How the resource pack attack works
The attack scenario, described in the exploit repository on GitHub, starts with a server that forces the player to load a resource pack. The pack contains 144 variants of crafted TrueType fonts, and the exploit only triggers once the server sends plain text, for example in the action bar. That's when the FreeType engine, responsible in the Java client for rendering fonts, loads the glyphs and runs the malicious hinting instructions.
The exploit's author describes it as a buffer bounds calculation bug when processing TrueType data: the crafted instructions write data outside allocated memory. The font contains its own IDEF bytecode for the SHZ opcode (0x36), which hijacks FreeType's error dispatcher and triggers a ROP chain. This chain calls the GetModuleHandleExW function through the library's IAT table, retrieves the address of kernel32.dll, and then obtains WinExec via GetProcAddress, meaning it can run any file on the victim's computer. In the demo PoC, it only launched the system calculator and closed the game client.
Which Minecraft versions are affected
The confirmed, working PoC targets Minecraft Java 26.3 on Windows x64 with the bundled FreeType 2.14.3 library. According to Cyber Kendra's analysis, the same code also affects snapshots from 26.4 up through Pre-release 1. Versions 26.1 and 26.2 use FreeType 2.14.1: the exploit's author admits that attempts against them failed, although the underlying library bug is theoretically still present.
- Minecraft Java 26.3 and snapshots 26.4 through Pre-release 1: FreeType 2.14.3, PoC confirmed
- Minecraft Java 26.1-26.2: FreeType 2.14.1, vulnerability present, exploit unconfirmed
- Minecraft Java 1.20.5-1.21.11: FreeType 2.13.2, vulnerability theoretically present, untested
- Minecraft Java 1.20.4 and earlier: not affected, the client uses the stb_truetype library without hinting support
The underlying FreeType bug has already been fixed in version 2.15.0, and in Firefox it's been tracked as CVE-2026-10701. However, Mojang maintains its own fork of the library in the Mojang/freetype2 repository on GitHub, so updating the game client requires a separate release rather than just pulling in the upstream version.
No responsible disclosure and silence from Mojang
A GitHub user going by "bikini" publicly published the exploit code on November 22, 2026, instead of first reporting it privately to Mojang. In the GitHub thread, the community sharply criticized this approach, pointing out the violation of responsible disclosure practices, which give the developer time to prepare a patch before details go public.
One commenter, user FinnT730, wrote that "Mojang is working on fixing the issue," attaching a screenshot as evidence, but the studio has not published any official statement. Another user, l9hsed, wrote briefly on November 24, 2026: "looks like it's already fixed," though without confirmation from Mojang this is hard to verify. Unlike the recently reported Java4Shell vulnerability, which requires servers with CPUs supporting AVX-512, Minecraft2Shell attacks the game client directly through the resource pack mechanism and doesn't depend on host hardware.
What players and server admins can do
Until an official fix is released, Cyber Kendra advises disabling forced resource packs on the server side and rejecting packs offered by unknown or untrusted servers. Admins running their own Minecraft servers should treat any automatically sent resource pack as a potential risk, especially if the server isn't fully under their control.
The community has also put together an unofficial client patch: the minecraft2shell-fix mod from the sunrisemc-tw project disables TrueType hinting in the client-side FreeType library, which blocks the attack vector, but it hasn't been verified by Mojang. Players who want to stay fully safe without installing third-party mods can consider temporarily rolling back to an older client version available in the Minecraft Java Edition version history, keeping in mind that full protection will only come with an update based on FreeType 2.15.0.
For now, it's unknown exactly which release will close the gap: there's no confirmation whether it will land in the next 26.4 snapshot or in a separate hotfix outside the main update cycle.