A public exploit called minecraft2shell shows that a Minecraft: Java Edition server can run code on a player’s Windows PC by pushing a booby-trapped resource pack, and Mojang has not shipped a fix.
The minecraft2shell bug is a remote code execution (RCE) flaw in FreeType, the open-source font engine Minecraft Java uses to draw TrueType fonts. A crafted font inside a resource pack triggers an out-of-bounds memory write while the game renders text, and the attacker turns that write into code execution. The vulnerable FreeType code path has shipped with every Java Edition release since snapshot 24w03a, which led to version 1.20.5.
GitHub user “bikini” published the minecraft2shell proof of concept on Sunday, November 22, 2026. The demo creates a stock, Mojang-signed Minecraft Java 26.3 client on 64-bit Windows, then opens Calculator, a standard way to prove arbitrary code ran.
As of November 25, no Minecraft release or snapshot ships the fixed FreeType 2.15.0, no Minecraft-specific CVE exists, and Mojang has made no public statement on the issue.
How the Minecraft2Shell Exploit Works
Minecraft servers can send players a resource pack, a zip file of textures, sounds, and fonts that reskins the game. Since 1.20.5, Java Edition loads TrueType fonts from those packs through a bundled copy of FreeType, a native C library, so a memory bug there runs outside the Java virtual machine’s memory safety.
TrueType fonts can carry hinting instructions, small bytecode programs that FreeType executes to snap letter outlines to the pixel grid. According to the Wurst Wiki’s minecraft2shell page, a bounds-calculation bug in FreeType’s TrueType hinting code lets those instructions write past the end of a memory buffer.
The minecraft2shell proof of concept chains this in three steps. The server delivers one resource pack containing crafted TrueType fonts, then sends ordinary actionbar text, the short message line above the hotbar. Rendering that text forces FreeType to hint the malicious glyphs, which triggers the out-of-bounds write, and the font’s own bytecode then steers it into an ASLR-aware control-flow transfer that ends in a Windows API call.
The bikini repository includes a Python script that downloads official Minecraft files, starts a local server and a visible stock client, and serves the malicious pack. The author describes the exploit as “build-specific,” tuned to the 26.3 Windows client with bundled FreeType 2.14.3 x64, and says the same pack also works against a player who accepts it on an untrusted server.
Which Minecraft Java Versions Are Affected
The public demo covers only Minecraft Java 26.3 on Windows x64, but the underlying FreeType bug is present wherever vulnerable FreeType versions are used. The Wurst Wiki warns readers about narrowing it down: “This should not be treated as a 26.3-only or Windows-only bug!”
| Minecraft Java version | Status as of November 25, 2026 | Bundled font engine |
|---|---|---|
| 26.4-snapshot-10 | Vulnerable; PoC works | FreeType 2.14.3 |
| 26.3 | Vulnerable; PoC works, independently reproduced | FreeType 2.14.3 |
| 26.1 to 26.2 | Uncertain; bug present, PoC failed | FreeType 2.14.1 |
| 1.20.5 to 1.21.11 | Uncertain; bug present, PoC failed | FreeType 2.13.2 |
| 1.20.4 and older | Not affected | stb_truetype (no hinting support) |
The “uncertain” versions contain the same unfixed bounds calculation, according to the Wurst Wiki, and the proof of concept fails on them only because it is built for 26.3’s exact binaries. The wiki says a modified attack may still work on those releases. Older versions such as 1.8.9 and 1.12.2 use stb_truetype, a different font library that does not support TrueType hinting, so the minecraft2shell technique does not apply to them.
A FreeType Fix Exists, but Minecraft Hasn’t Shipped It
FreeType tracks the bug as issue #1419 and fixed it in commit 1803559c4ee4, which is part of FreeType 2.15.0, released on Monday, October 12, 2026. Minecraft 26.3, released on September 15, and the latest 26.4 snapshot still bundle FreeType 2.14.3.
The same FreeType bug hit Firefox earlier this year, according to the Wurst Wiki. Mozilla fixed it as CVE-2026-10701, described as an incorrect boundary condition in the Graphics: Text component in Firefox 151.0.3; the CVE was published on June 2, 2026.
No CVE or Mojang bug-tracker ID has been assigned to the Minecraft exposure. Users in the Minecraft 2 Shell repository’s issue tracker have asked whether the bug was reported to Mojang before publication; Cyber Kendra could not confirm that it was.
Is Minecraft2Shell Being Exploited?
As of November 25, no public report describes Minecraft2Shell attacks against real players. The exploit is fully public, though: the repository ships a ready-made resource-pack.zip and a one-command reproduction script, so the effort needed to run a malicious server is low.
The attack needs the player to load the attacker’s pack. That happens when a player accepts a resource-pack prompt, installs the pack manually, or joins a server for which Minecraft’s Server Resource Packs option is already set to Enabled, in which case the game loads the pack without asking again.
What Minecraft Java Players Should Do Now
Mojang has published no mitigation. The steps below come from the Wurst Wiki and community guidance, and they block the published attack by keeping untrusted fonts from loading.
For every saved server, open Multiplayer, select the server, click Edit, set Server Resource Packs to Disabled, then click Done. Reopen Edit to confirm the setting saved. Servers set to Enabled are the highest risk because they load packs silently.
Click No on any resource-pack prompt from a server you do not fully trust. Declining blocks the published exploit even when the server then disconnects you for refusing a required pack. Do not manually install resource packs from unknown sources, since a pack added through the Resource Packs menu can trigger the same bug.
Players who must keep using pack-dependent servers can stay on Minecraft 1.20.4 or older, which the Wurst Wiki lists as unaffected because they do not use FreeType. The version in use appears in the Minecraft Launcher’s installation list and in the top-left corner of the F3 debug screen.
The GitHub organization sunrisemc-tw has released minecraft2shell-fix, a Java agent and Fabric/Forge/NeoForge mod for 1.20.5 and later that loads every font with FreeType hinting turned off, so a font’s bytecode never runs. The mod is unofficial and has not been reviewed by Mojang, and Cyber Kendra has not tested it.
The real fix is a Minecraft update that bundles FreeType 2.15.0 or later. Players should install it as soon as Mojang releases one.
Community Discussion
Join the conversation. Ask questions, share solutions, and help others.
Be the first to start the discussion!
