Downloads · 30 days
0
joekaw/j0x-msgpack-rce
j0x-msgpack-rce is a machine learning model from joekaw. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a proof-of-concept (PoC) for an Arbitrary Code Execution (ACE) vulnerability identified in the MessagePack deserialization process.
Downloads · 30 days
0
Access
Public
Updated Jul 17, 2026
Repo size
52 B
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 55%
From the Hugging Face model README
This repository contains a proof-of-concept (PoC) for an Arbitrary Code Execution (ACE) vulnerability identified in the MessagePack deserialization process.
.msgpack
The application utilizes msgpack.unpack() on untrusted model/data files without strict type validation. By crafting a payload using MessagePack extension types, an attacker can instantiate and execute arbitrary system commands during the deserialization process.
The provided poc_messagepack.msgpack triggers os.system('echo ACE_TRIGGERED').
import msgpack
with open("poc_messagepack.msgpack", "rb") as f:
msgpack.unpack(f)
Implement a strict allow-list for deserialized objects or transition to non-executable serialization formats.
Full remote code execution on the host machine during the model loading phase.