Insecure Deserialization to RCE: Gadget Chains in Java, Python, PHP & .NET
Comprehensive Insecure Deserialization Guide 🆕 Updated September 12, 2026 — added the Telerik UI padding-oracle chain (CVE-2026-13181/13182/13183): no MAC, a JSON decoder at the end, and why the key source is always the first question. Deserialization bugs exploited or patched recently (checked December 1, 2026). Both are the oldest mistake in this guide: decode first, check later. CVE-2026-129514, hex.pm (CVSS 10.0, exploited). The Erlang-term request parser decoded the body before routing or auth. Its safe mode blocked functions and new atoms but never looked at maps, and an Elixir struct is just a map with a __struct__ key. A crafted struct reached an apply/3 call and ran OS commands. Hex saw attack requests on November 23 and had every server patched within minutes (Hex incident post). Self-hosted hexpm needs commit 379b0a29. CVE-2026-131914, Idunno.AntiCsrf (CVSS 9.3, on CISA KEV since November 24). An anti-CSRF module for ASP.NET WebForms that deserializes the CSRF form field with an unkeyed ObjectStateFormatter: no MAC, no signature. One POST with a gadget chain from section 6 gets code execution in the IIS worker. The project is abandoned and there is no patch, so remove it and use ViewStateUserKey or the built-in antiforgery instead. A practitioner’s reference for insecure deserialization — language-specific attack surface, gadget chain mechanics, real-world CVE chains, tools, and detection/prevention. ...