Berildocs GitHub

Memory cards

Native deserialization is RCE when a gadget chain exists

confidence: highupdated: 2026-11-24status: activewebdeserializationrce

Claim#

Untrusted bytes reach pickle, unserialize, ObjectInputStream or a .NET formatter, with a gadget on the classpath.

Test#

Identify the format and a magic prefix. Send a minimal object. Build a chain only after the format is confirmed.

Proof#

A callback or command from a crafted object.

Failure modes#

Base64 is not a format check. A serialized object with no gadget may only be a DoS.