Mojang has fixed the critical Minecraft2Shell bug, which since November 22, 2026 allowed attackers to take control of a player's computer via a specially crafted resource pack. The company updated the FreeType library to version 2.15.0 in the Java Edition 26.x branch, but older versions of the game from 1.20.5 to 1.21.11 remain vulnerable, since they still rely on the outdated and flawed version of the library.

How Minecraft2Shell worked

The bug was disclosed on GitHub by a user going by "bikini," who published a fully working proof-of-concept exploit for version 26.3. The attack required the server to force the player to load a resource pack containing 144 specially crafted TrueType font variants. When the server then sent plain text, for example via the action bar, the corrupted font would trigger a bug in the FreeType library's hinting module.

Technically, the issue came down to an incorrect buffer boundary calculation in the Ins_SHZ instruction responsible for TrueType font hinting. A crafted font bytecode could write data past the end of a memory buffer, which in practice opened the door to executing native code outside the Java virtual machine's safe environment. In the proof-of-concept, "bikini" showed that this could be used to remotely launch something as mundane as the Windows Calculator on the victim's computer, a classic way of demonstrating a working RCE.

It's worth noting that the attack didn't bypass the standard resource pack consent prompt. The player still had to accept the pack, either by manually installing it or by having automatic pack acceptance from servers enabled. So this wasn't a zero-click attack, but in practice many players click through these prompts without thinking twice, especially on servers they consider trustworthy.

The fix from November 24

According to Penligent, Mojang fixed the issue on November 24, 2026 by changing version metadata so the game uses the lwjgl-freetype:3.4.3-mojang-2.15.0 library instead of the flawed 2.14.3 version. The fix covers versions from 26.1 through 26.2, 26.3, and all the way to 26.4 Pre-Release 1, meaning the entire currently developed Java Edition branch. Owners of the official launcher didn't need to download a new launcher version: simply closing the active game session and restarting the launcher was enough to get the updated library on the next online launch.

Mojang itself didn't publish a separate security advisory describing the scope of the problem, and the fix was rolled out almost quietly through version metadata. That matters because, for players and server admins, the game's version number alone isn't proof that a given installation is actually using the safe library. That's why outlets covering the exploit recommend treating Minecraft2Shell as something to verify at runtime, rather than just checking the version number on the Java Edition download page.

Older versions still unpatched

Mojang's fix only covers the latest 26.x branch. Versions from 1.20.5 to 1.21.11, still popular on many survival and modded servers, still use FreeType 2.13.2, which contains the same bug. Mojang hasn't announced a timeline for when these older releases will get an equivalent library update, and some players and admins of modded servers have no plans to move to the 26.x branch anytime soon due to compatibility concerns.

In the meantime, the community has started patching the hole itself. Unofficial mods and Java agents have appeared that block the attack vector by disabling TrueType hinting on the client side, without waiting for an official fix for older versions. One such solution is described in the minecraft2shell-fix project repository, which works as both a Java agent and a mod for Fabric, Forge, and NeoForge for versions 1.20.5 through 1.21.11. The authors of these tools stress, however, that they haven't been verified by Mojang, so using them is at your own risk.

What players and server admins should do

For those running current 26.x versions, the solution is simple: just close the game and restart the official launcher to get the patched library. It's trickier for players sticking with older versions for various reasons, such as mod compatibility or specific servers.

  • Disable automatic acceptance of resource packs from unknown or untrusted servers in the game settings.
  • Decline to install unexpected resource packs, even if the server claims they're required to play.
  • Update to the latest available Java Edition version, which uses the fixed FreeType library.
  • Avoid manually installing resource packs from unknown sources, especially ones downloaded from links shared in server chats.

Notably, the vulnerability wasn't assigned its own CVE number, although the underlying FreeType bug itself was fixed in version 2.15.0, released on October 12, 2026. The same flaw previously affected the Firefox browser, where it was tracked as CVE-2026-10701 and patched on June 2, 2026. Server admins who want to verify whether their players are actually using the safe library should treat this as a separate check, rather than assuming safety based solely on the client's version number.

Sources