appsec.fyi › Insecure Deserialization

Insecure Deserialization Resources

Page 2 of 3: resources 51–100 of 148, added Apr 2026 to Oct 2026.

The newest Insecure Deserialization resources are on the Insecure Deserialization page. For a reading order instead of a date order, see the Insecure Deserialization learning path.

Date AddedLinkExcerpt
2026-10-13 2026I Found a $90k Remote Code Execution Vulnerability in Google news 4 min read RCEGoogle DevSite Flask session pickle RCE allows for remote code execution by exploiting a publicly exposed OAuth client secret used as the Flask `SECRET_KEY`. An attacker can forge session cookies containing a pickle-serialized payload due to the `pickle.loads()` function being used in the callback, which is only protected by the compromised signing key. This vulnerability impacted multiple Google developer sites and was patched by rotating secrets, implementing per-deployment signing keys, storing sensitive data server-side, and replacing pickle with a safer data format.
2026-09-26 2026Master Key Included: Detecting SolarWinds ARM CVE-2026-28326 intermediate 11 min read RCECVE-2026-28326 is an unauthenticated remote code execution vulnerability in SolarWinds Access Rights Manager that can be exploited by reaching TCP port 55555. A hardcoded client-authentication secret allows attackers to forge tokens for .NET deserialization, granting them SYSTEM privileges. This flaw, rated 8.8 CVSS, exploits an exposed gRPC listener and a fallback authentication path that bypasses TLS client certificate requirements. Detection tools exist to identify vulnerable systems, and patching to version 2026.2.1.7 or later is the recommended mitigation. → bishopfox.com
2026-09-22 2026Implant Encryption via the Dump Encoding Library intermediate 4 min readWindows Error Reporting Dump Encoding Library (WerEnc.dll) abuse allows threat actors to encrypt implants using AES-256, improving evasion capabilities against EDR systems. This Microsoft-signed DLL, exported as `EncryptDumpFile` and `EncryptDumpStream`, is part of Windows 10 (1607+) and Windows 11. By leveraging WerEnc.dll, attackers can create smaller stagers, making analysis difficult as the private key remains controlled by the adversary, mimicking legitimate Microsoft encrypted crash dump artifacts. → ipurple.team
2026-09-07 2026From Padding Oracle to Shell: Unauthenticated RCE in Telerik UI for ASP.NET AJAX advanced 48 min read RCEUnauthenticated remote code execution is possible in Telerik UI for ASP.NET AJAX by chaining an AES-CBC padding oracle vulnerability with other flaws. This exploit targets versions 2010.1.309 through 2026.2.519, requiring specific configurations like a reachable RadAsyncUpload control and a custom encryption key. While a default installation may be safe, Progress Software has released version 2026.2.708 to patch the vulnerability.
2026-08-27 2026Ruby Marshal Kick-off Gadgets - elttam intermediate 15 min readRuby Marshal Kick-off Gadgets identifies nine methods by which `Marshal.load` can be coerced into executing attacker-chosen code in Ruby 4.0.6, with six of these "kick-off gadgets" not explicitly designed for deserialization. Unlike typical deserialization entrypoints like `marshal_load` or `_load`, these implicit methods, such as `Hash#hash` and `Hash#eql?`, are triggered directly by `Marshal.load` during hash reconstruction, making them difficult for maintainers to patch without breaking core functionality. → elttam.com
2026-08-14 2026Ruby 4.0 Universal RCE Deserialization Gadget Chain - elttam intermediate 12 min read RCERuby 4.0 Universal RCE Deserialization Gadget Chain demonstrates a new method for achieving command execution in Ruby versions 3.3 through 4.0.6 by exploiting a single `Marshal.load` call. This chain leverages new gadgets from untapped sources alongside re purposed older gadgets, including `Gem::SpecFetcher` to expand the reachable object set and `Gem::Specification.load` for direct code execution via `eval`. The chain further utilizes `Gem::StubSpecification` to indirectly trigger `Gem::Specification.load` by placing it as a key in a Hash, and reuses `call_url_and_create_folder` for writing attacker-controlled content to disk, ultimately enabling arbitrary code execution. → elttam.com
2026-07-22 2026Leaking internal headers in Flask Ninja with deserialization intermediate 5 min read PythonFlask Ninja's `HttpBearer` class contains a gadget that allows for the leakage of internal headers when untrusted data is deserialized and an attacker can control the `header` and `openapi_scheme` attributes of an authentication object. This vulnerability, unpatched in Flask Ninja, arises from the framework's design allowing these attributes to be public and writable, connecting developer mistakes like deserializing untrusted input or reflecting rejected credentials with the framework's susceptiblity to configuration manipulation.
2026-06-10 2026Security Advisory: Critical RCE Vulnerabilities in React Server Components (CVE-2025-55182) news 4 min read RCEAdvisory detailing CVE-2025-55182, a critical RCE vulnerability in React Server Components. This flaw, present in React 19 and Next.js 15/16, arises from unsafe deserialization of attacker-controlled data within the "Flight" protocol, enabling unauthenticated remote code execution via crafted HTTP requests. The vulnerability affects any framework embedding the RSC implementation, including Vite, Parcel, and Redwood. Patches are available for React and Next.js, and immediate upgrades are recommended to prevent server compromise. → snyk.io
2026-04-22 2026picoCTF Super Serial Writeup: PHP Object Injection Explained Clearly beginnerpicoCTF Super Serial Writeup: PHP Object Injection Explained Clearly
2026-04-22 2026Deep Dive into Fastjson Deserialization Vulnerabilities advanced 6 min readFastjson deserialization vulnerabilities, notably CVE-2022-25845, allow attackers to achieve Remote Code Execution (RCE) by crafting malicious JSON strings. The core issue lies in the AutoType mechanism, which enables attackers to specify and load arbitrary classes for instantiation. Exploitation chains often involve JNDI injection through setter methods, such as `setDataSourceName` in `JdbcRowSetImpl`, and bypasses have evolved across versions using techniques like type descriptors and symbolic manipulation. Defenses involve updating to patched versions (1.2.83+ for 1.x, 2.0.45+ for 2.x) and disabling `SupportAutoType` and `SupportNonPublicField` features.
2026-04-22 2026CVE-2025-24813 PoC: Apache Tomcat Java Deserialization newsProof-of-concept exploit for CVE-2025-24813, a Java deserialization vulnerability in Apache Tomcat. This tool, built with Docker, automates the generation and delivery of malicious serialized Java payloads using `ysoserial` or custom Java, targeting session files to trigger deserialization. It supports custom commands and can disable SSL verification for testing.
2026-04-22 2026WSUS Deserialization Exploit in the Wild (CVE-2025-59287) news 4 min readAnalysis of CVE-2025-59287, a WSUS deserialization vulnerability, details an in-the-wild exploitation targeting internet-exposed Windows Server Update Services. The exploit bypasses initial proof-of-concept limitations by delivering a custom .NET payload via a ysoserial.net gadget chain, enabling arbitrary command execution through an embedded `cmd.exe` process launched by `w3wp.exe`. This attack was observed via EDR telemetry, specifically the execution of `whoami.exe` with `w3wp.exe` as its parent, and confirmed by log analysis revealing deserialization errors.
2026-04-22 2026Precise and Effective Gadget Chain Mining through Deserialization-Guided Call Graph Construction (USENIX Security 2025) advanced 2 min readFLASH, a tool presented at USENIX Security 2025, precisely and effectively mines gadget chains for Java deserialization vulnerabilities. It utilizes a novel deserialization-guided call graph construction approach that incorporates controllability analysis, hybrid dispatch techniques, and reflection handling to overcome limitations of existing methods. Evaluations show FLASH achieves higher recall and precision, identifying numerous new gadget chains and previously unknown exploitation methods for existing CVEs.
2026-04-22 2026Gleipner: A Benchmark for Gadget Chain Detection in Java Deserialization Vulnerabilities advancedGleipner: A Benchmark for Gadget Chain Detection in Java Deserialization Vulnerabilities → dl.acm.org
2026-04-19 2026IBM webMethods Integration CVE-2025-36072: Deserialization RCE news 2 min readCVE-2025-36072 in IBM webMethods Integration Server allows authenticated users with service execution privileges to achieve arbitrary code execution via unsafe deserialization. This CWE-502 vulnerability arises from the server's insufficient validation of serialized Java object graphs, enabling attackers to exploit gadget chains present in the classpath to compromise business-critical workflows and data. Deployments of versions 10.11, 10.15, and 11.1 without the latest core fixes are affected. → zeropath.com
2026-04-19 2026Deserialization Vulnerability — Exploit-DB Paper intermediateDeserialization Vulnerability — Exploit-DB Paper → exploit-db.com
2026-04-19 2026Cisco ISE Insecure Java Deserialization — Cisco Docs intermediate 2 min readAdvisory detailing Insecure Java Deserialization vulnerabilities in Cisco Identity Service Engine (ISE). The advisory provides information on affected software releases and the first fixed release available through standard update channels for customers with active service contracts. It also outlines procedures for customers without service contracts to obtain security fixes.
2026-04-19 2026Insecure Deserialization Vulnerabilities — Acunetix beginner 1 min readReference list of web vulnerability categories, including Insecure Deserialization, SSRF, SQL Injection, XSS, XXE, and LLM-related issues like LLM Prompt Injection and LLM Sensitive Information Disclosure, with severity ratings. → acunetix.com
2026-04-19 2026Cisco ISE Insecure Java Deserialization (CVE-2025-20124) newsCisco ISE Insecure Java Deserialization (CVE-2025-20124)
2026-04-17 2026CVE-2023-34040: Spring-Kafka Java Deserialization newsCVE-2023-34040 in Spring for Apache Kafka versions 3.0.9 and earlier, and 2.9.10 and earlier, allowed a deserialization attack vector under specific, non-default configurations. An attacker could craft a malicious serialized object within deserialization exception record headers, but only if an ErrorHandlingDeserializer was not used, as this component mitigates the vulnerability by stripping such headers. Fixed releases include Spring Boot 3.0.10+ and require overriding dependencies for Spring Boot 2.7.x users.
2026-04-17 2026Apache Struts vulnerability leads to RCE news 4 min readApache Struts remote code execution vulnerabilities, including CVE-2018-11776, arise from improper input sanitization in the REST plugin's use of the XStream library or redirect actions, allowing attackers to inject OGNL expressions or XML payloads to execute arbitrary commands. Affected versions include Struts 2.3.5 through 2.3.31 and 2.5 through 2.5.16. Upgrading to Struts 2.3.35 or 2.5.17, or for REST plugin users, to 2.5.20 with an optional Jackson XML handler, is recommended.
2026-04-17 2026Jackson deserialization vulnerability exploit (3 gadgets, GitHub) intermediate 8 min readLibrary for exploiting Jackson deserialization vulnerabilities. This resource contains code to reproduce exploits leveraging known gadgets, specifically focusing on the dangers of Polymorphic Type Handling when Jackson accepts untrusted JSON. It details how enabling default typing or using annotations can lead to Remote Code Execution if exploitable gadgets are present in the classpath, demonstrating with `com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl`.
2026-04-17 2026Apache Struts2 Code Execution Exploit (Infopercept) intermediate 2 min readApache Struts2 Rest Plugin remote code execution allows attackers to execute system commands by sending specially crafted XML POST requests. This vulnerability stems from insecure deserialization via the XStream handler in the Rest plugin, affecting Struts versions 2.1.2 to 2.3.x prior to 2.3.34 and 2.5.x prior to 2.5.13. Exploitation can be achieved using Metasploit or custom Python scripts against vulnerable servers.
2026-04-17 2026Spring-web Java Deserialization: CVE-2016-1000027 (Contrast) news 1 min readCVE-2016-1000027 in Spring-web Java Deserialization allows Remote Code Execution (RCE) by exploiting the deserialization of untrusted data. The vulnerability stems from the `readRemoteInvocation` method in `HttpInvokerServiceExporter`, which fails to adequately validate untrusted objects before deserializing them. While initially only version 4.1.4 was listed by NVD, it has since been updated to reflect vulnerability across all available Spring Framework versions. The issue is remediated in Spring Framework version 6.0.0.
2026-04-17 2026Exploiting Apache Struts: Writing Better Detections (Gigamon) intermediate 5 min readApache Struts CVE-2017-9805, a Java XStream deserialization vulnerability enabling remote code execution, highlights how basic detection logic often fails by focusing on exploit implementation details rather than the underlying vulnerability. This case study demonstrates that robust detections require understanding Java deserialization, Property-Oriented Programming chains, and common gadget classes to effectively identify and prevent attacks across various exploitation techniques, moving beyond detecting singular instances to entire attack classes.
2026-04-17 2026Friday the 13th JSON Attacks (Black Hat) advancedFriday the 13th JSON Attacks (Black Hat)
2026-04-17 2026PayloadsAllTheThings: Insecure Deserialization DotNET intermediate 4 min readLibrary for exploiting insecure deserialization vulnerabilities in .NET applications. It details how various .NET formatters like BinaryFormatter, Json.Net, XmlSerializer, and NetDataContractSerializer can be abused. The library references tools such as `ysoserial.net` and `ysonet` for generating malicious payloads, and highlights specific gadgets like `ObjectDataProvider` and `ExpandedWrapper` used in exploit chains. It also links to several research papers and presentations on .NET deserialization attacks, including work by James Forshaw and Alvaro Muñoz.
2026-04-17 2026Basic .Net deserialization ObjectDataProvider gadget (HackTricks) intermediateBasic .Net deserialization ObjectDataProvider gadget (HackTricks) → book.hacktricks.xyz
2026-04-17 2026Python-Pickle-RCE-Exploit + vulnerable Flask App (GitHub) intermediateLibrary for demonstrating and exploiting Remote Code Execution (RCE) vulnerabilities via Python's pickle module. Includes a vulnerable Flask application and PoC scripts for executing arbitrary code by serializing and deserializing malicious objects. Useful for understanding pickle deserialization risks and testing applications that handle untrusted pickle data.
2026-04-17 2026SOUR PICKLE: Insecure Deserialization with Python Pickle beginner 4 min readPython pickle module insecure deserialization allows for Remote Code Execution (RCE), data extraction, and Denial of Service attacks. This vulnerability arises when the `pickle.loads()` function deserializes untrusted data, potentially executing malicious payloads embedded within the serialized object. Remediation involves not accepting serialized objects from untrusted sources, implementing integrity checks, running deserialization code with limited permissions, or using firewalls. Identifying this issue during code review requires checking for the `pickle` module import and tracing `pickle.loads()` calls back to user-controlled input.
2026-04-17 2026PayloadsAllTheThings: Insecure Deserialization Python intermediate 2 min readLibrary for understanding Python insecure deserialization vulnerabilities, focusing on the pickle and YAML modules. It details vulnerable sinks like `cPickle.loads` and `yaml.unsafe_load`, providing example payloads for Remote Code Execution (RCE) via `pickle` and `os.system` through YAML tags like `!!python/object/apply:os.system`. The entry also references CVE-2019-20477 and techniques for code injection, error-based, and time-based RCE.
2026-04-17 2026Exploiting deserialization in recent Java versions (OWASP Stuttgart) intermediateExploiting deserialization in recent Java versions (OWASP Stuttgart) → owasp.org
2026-04-17 2026Automated Discovery of Deserialization Gadget Chains (Black Hat) advancedAutomated Discovery of Deserialization Gadget Chains (Black Hat)
2026-04-17 2026Prevent insecure deserialization attacks (Veracode) beginner 3 min readInsecure deserialization, ranking #8 on the OWASP Top Ten, allows attackers to inject malicious objects into web applications, leading to remote code execution, SQL injection, and authentication bypass. This vulnerability, identified across popular languages like Java, Python, and .NET, can be mitigated by never deserializing untrusted user input. Secure alternatives include using JSON or digital signatures, implementing integrity checks, and running deserialization in low-privilege environments. Testing for insecure deserialization can be performed manually or with dynamic application security testing tools.
2026-04-17 2026Understanding Insecure Deserialization: Risks and Mitigations beginner 10 min readGuide to insecure deserialization vulnerabilities details how attackers manipulate serialized objects, leading to risks like remote code execution, privilege escalation, and denial of service. It covers serialization/deserialization processes in Java, .NET, and PHP, examining exploitation methods and mitigation strategies. Specific incidents like Log4Shell (CVE-2021–44228), Oracle WebLogic Server RCE (CVE-2015–4852), and Jenkins Java Deserialization (CVE-2016–0792) are highlighted, underscoring the critical need for secure handling of untrusted data.
2026-04-17 2026Bug Bounty Hunting: Insecure Deserialization beginner 3 min readInsecure deserialization vulnerabilities in PHP and Java allow attackers to execute malicious code and manipulate data by exploiting magic methods and Property Oriented Programming (POP) chains. This analysis details how attackers leverage functions like `unserialize()` in PHP and `readObject()` in Java, often utilizing tools like ysoserial, to achieve remote code execution. Mitigations include avoiding deserialization of untrusted data, using secure alternatives like JSON, implementing class whitelisting, and disabling deserialization when unnecessary.
2026-04-16 2026Depickling, Gadgets, and Chains: The Exploit That Unraveled Equifax advanced 3 min readReference on deserialization vulnerabilities, detailing how the Equifax breach stemmed from CVE-2017-5638 in Apache Struts. It explains the "gadget" and "chain" exploitation technique, drawing parallels to concepts from the "Marshalling Pickles" talk by Lawrence and Frohoff, and referencing CVE-2013-0156 in Rails. The entry highlights the dangers of unchecked input in serialization mechanisms leading to arbitrary code execution.
2026-04-16 2026How to Exploit PHAR Deserialization Vulnerability intermediate 7 min readPHP PHAR deserialization vulnerabilities enable Property Oriented Programming (POP) attacks by abusing the `phar://` stream wrapper's automatic metadata deserialization. Attackers can embed serialized objects within PHAR file metadata, which, when processed by an application, can lead to code execution through the exploitation of magic methods like `__destruct()`. This technique allows attackers to hijack application logic by controlling object properties.
2026-04-16 2026Insecure Reflection Practices in Java and C# intermediate 6 min readJava and C# applications often utilize reflection, a powerful feature for dynamic code execution, but insecure practices can lead to critical vulnerabilities like remote code execution, privilege escalation, and data exfiltration. Untrusted input directly controlling class or method resolution at runtime, as seen in dynamic class loading and type resolution examples, creates significant attack vectors. This also extends to deserialization processes where reflection, if not properly secured, can be exploited by tools like ysoserial, a danger underscored by CVE-2025-53770 in Microsoft SharePoint, demonstrating how reflection-powered deserialization can lead to unauthenticated RCE.
2026-04-16 2026Java Deserialization Tricks - Synacktiv advanced 21 min readJava deserialization exploitation techniques are detailed to bypass WAFs and EDRs. These methods focus on modifying common gadget chains from tools like `ysoserial` to avoid static pattern detection, such as renaming classes or altering method calls. Furthermore, leveraging the `TemplatesImpl` class within the Translet API allows for injecting custom Java code at runtime, enabling stealthier data exfiltration and post-exploitation activities by avoiding direct command execution.
2026-04-16 2026Deep Dive into .NET ViewState Deserialization advanced 12 min readReference on .NET ViewState deserialization, detailing how ASP.NET maintains page state via a hidden `_VIEWSTATE` field. It explains the roles of `EventValidation` and `ViewStateUserKey`, the use of formatters like `LosFormatter` and `ObjectStateFormatter`, and the concept of "gadgets" such as `PSObject` and `TypeConfuseDelegate`. The entry highlights exploitation scenarios, including when ViewState MAC is disabled and how tools like `ysoserial.net` can be leveraged for generating payloads, ultimately demonstrating RCE potential through insecure deserialization.
2026-04-16 2026ViewState Deserialization Zero-Day in Sitecore (CVE-2025-53690) news 11 min readCVE-2025-53690, a ViewState deserialization zero-day vulnerability affecting Sitecore deployments, allowed attackers to achieve remote code execution by exploiting an exposed sample machine key. This led to the deployment of WEEPSTEEL for internal reconnaissance, followed by archive exfiltration of sensitive files like `web.config`. Attackers then used tools like EARTHWORM and DWAGENT for further reconnaissance, staged tooling, and lateral movement via RDP after dumping SAM/SYSTEM hives. → cloud.google.com
2026-04-16 2026The Art of Hide and Seek: Pickle-Based Model Supply Chain Poisoning advanced 47 min readPickle-based model supply chain poisoning can bypass current AI/ML model scanners by exploiting overlooked loading paths and novel techniques like Exception-Oriented Programming (EOP). This research systematically details the poisoning surface across foundational AI/ML frameworks, uncovering 22 new loading paths and 9 EOP instances missed by existing tools, along with 133 exploitable gadgets that achieve high bypass rates against state-of-the-art scanners. → arxiv.org
2026-04-10 2026Insecure Deserialization: Risks, Examples, and Best Practices beginner 1 min readInsecure deserialization allows attackers to inject malicious code by sending manipulated serialized data, potentially leading to remote code execution, privilege escalation, or denial-of-service attacks. This vulnerability often stems from deserializing untrusted data from external sources like API responses without proper validation or integrity checks. Mitigation strategies include strict input validation, using secure serialization libraries, implementing cryptographic hashing or digital signatures to verify object integrity, and avoiding deserialization from untrusted sources. → promon.io
2026-04-10 2026Deserialization Gadget Chain Definition beginnerDeserialization gadget chains leverage existing code fragments within an application's libraries, chaining them together via insecure deserialization to achieve malicious outcomes like remote code execution. This technique exploits legitimate, albeit dangerous, operations within these chained "gadgets" to execute arbitrary commands, as demonstrated by the CommonsCollections example that chains transformers to ultimately run `calc.exe`. → pentesterlab.com
2026-04-10 2026SharePoint Zero-Day CVE-2025-53770 Actively Exploited news 2 min readCVE-2025-53770, a critical zero-day vulnerability in on-premise Microsoft SharePoint, is being actively exploited in the wild by a campaign dubbed "ToolShell." This flaw allows unauthenticated attackers to gain unauthorized access and execute arbitrary code. Exploitation attempts, first observed on July 7th and escalating significantly, have impacted thousands of organizations across government, telecommunications, software, financial services, business services, and consumer goods sectors, primarily in North America and Western Europe. Attackers are chaining this vulnerability with known Ivanti EPMM flaws.
2026-04-10 2026SnakeYAML Deserialization Deep Dive (CVE-2022-1471) intermediateCVE-2022-1471 in SnakeYAML allows remote code execution through deserialization of untrusted input when parsing YAML. This "insecure by default" vulnerability, affecting versions before 2.0, permits the instantiation of arbitrary Java classes. The deep dive examines the technical exploit, developer responses, and demonstrates building a vulnerable application to achieve remote code execution.
2026-04-10 2026Docling RCE via PyYAML (CVE-2026-24009) intermediate 5 min readCVE-2026-24009 in Docling, a document parsing framework, allows remote code execution when processing untrusted YAML input via an unsafe PyYAML loader. This shadow vulnerability, introduced through a transitive dependency, enables attackers to execute arbitrary Python code with the privileges of the Docling process by submitting specially crafted documents. The issue, a well-documented class of unsafe deserialization, highlights how risks can spread through dependencies and remain hidden until runtime, bypassing traditional security tools.
2026-04-10 2026PyTorch Users at Risk: 3 Zero-Day PickleScan Vulnerabilities news 11 min read PythonCritical vulnerabilities in PickleScan, a widely used tool for scanning AI models, could allow attackers to bypass its security checks and distribute malicious PyTorch models. JFrog Security Research uncovered three zero-day flaws, including CVE-2025-10155, which exploits file extension logic to evade detection, potentially enabling large-scale supply chain attacks by concealing undetectable malicious code within seemingly safe model files. → jfrog.com
2026-04-10 2026PickleBall: Secure Deserialization of Pickle-based ML Models intermediate 1 min readPickleBall provides secure deserialization for pickle-based machine learning models. This tool statically analyzes ML library source code to generate custom policies for safe model loading, dynamically enforcing them as a drop-in replacement for the standard pickle module. PickleBall successfully loads a high percentage of benign models while rejecting malicious ones, addressing shortcomings of existing defenses like model scanners and restrictive loading policies. → arxiv.org