Persistent Remote Code Execution via Insecure Deserialization in RPG Maker MV Save-File Handling. (CVE-2026–56137)
RPG Maker MV save files are decompressed and loaded without validating the embedded command list, so a crafted save can inject a script command that runs JavaScript. An attacker could use this to load a remote hook and, where Node.js globals remain reachable, spawn a persistent reverse shell on the victim's machine.
Published on caramellia.medium.com
This vulnerability is particularly critical because it bypasses standard Chromium sandboxing through the following mechanics:
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the save loader trusts decompressed save data and executes script commands from the interpreter list without validating or signing the file.
Impact
The text claims complete host compromise, including file access, data exfiltration and a persistent backdoor, but notes that Node.js integration being disabled is a hardening measure that the described chain tries to bypass.
What the attacker needed
Victim loads a crafted save file; Node.js globals reachable from the page; attacker-controlled hook server
The fix
The text recommends whitelisting save-loading commands to reject script codes, enabling context isolation, and adding HMAC signatures or checksums to detect tampering.
How it was found
- Decompress the save file and parse its JSON.
- Replace the map interpreter command list with a script command containing the payload.
- Also replace common event interpreter lists as a fallback.
- Recompress the modified save data and write it back to the save file.
- Load the weaponised save in the game so the script runs.
- Use the loaded hook to run a Node.js payload that opens a reverse shell.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A save file is meant to store game progress, but this game engine also stores a list of script commands inside it and runs them when the save loads. Because the file is not checked, someone can edit a save so that it contains their own script, and the game will run it. If the game can also reach the computer's own command tools, that script can start a program on the machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.