Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-502 (可信数据的反序列化) — Vulnerability Class 2486

2486 vulnerabilities classified as CWE-502 (可信数据的反序列化). AI Chinese analysis included.

CWE-502 represents a critical security weakness where applications deserialize untrusted data without validating its integrity or structure. Attackers typically exploit this vulnerability by crafting malicious serialized objects that, when processed by the application, trigger unintended code execution or logic flaws. This often leads to remote code execution, denial of service, or privilege escalation, as the deserialization process may instantiate dangerous classes or invoke unsafe methods. To mitigate this risk, developers must strictly avoid deserializing data from untrusted sources. Instead, they should implement robust input validation, use allowlists for permitted data types, or adopt safer serialization formats like JSON that do not inherently support arbitrary object instantiation. Additionally, employing cryptographic signatures to verify data authenticity before deserialization ensures that only trusted, unaltered payloads are processed, effectively neutralizing the threat of malicious object injection.

MITRE CWE Description
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Common Consequences (3)
Integrity Modify Application Data, Unexpected State
Attackers can modify unexpected objects or data that was assumed to be safe from modification. Deserialized data or code could be modified without using the provided accessor functions, or unexpected functions could be invoked.
Availability DoS: Resource Consumption (CPU)
If a function is making an assumption on when to terminate, based on a sentry in a string, it could easily never terminate.
Other Varies by Context
The consequences can vary widely, because it depends on which objects or methods are being deserialized, and how they are used. Making an assumption that the code in the deserialized object is valid is dangerous and can enable exploitation. One example is attackers using gadget chains to perform una…
Mitigations (5)
Architecture and Design, Implementation If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.
Implementation When deserializing data, populate a new object rather than just deserializing. The result is that the data flows through safe input validation and that the functions are safe.
Implementation Explicitly define a final object() to prevent deserialization.
Architecture and Design, Implementation Make fields transient to protect them from deserialization. An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.
Implementation Avoid having unnecessary types or gadgets (a sequence of instances and method invocations that can self-execute during the deserialization process, often found in libraries) available that can be leveraged for malicious ends. This limits the potential for unintended or unauthorized types and gadgets to be leveraged by the attacker. Add only acceptable classes to an allowlist. Note: new gadgets are…
Examples (2)
This code snippet deserializes an object from a file and uses it as a UI button:
try { File file = new File("object.obj"); ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); javax.swing.JButton button = (javax.swing.JButton) in.readObject(); in.close(); }
Bad · Java
private final void readObject(ObjectInputStream in) throws java.io.IOException { throw new java.io.IOException("Cannot be deserialized"); }
Good · Java
In Python, the Pickle library handles the serialization and deserialization processes. In this example derived from [REF-467], the code receives and parses data, and afterwards tries to authenticate a user based on validating a token.
try { class ExampleProtocol(protocol.Protocol): def dataReceived(self, data): # Code that would be here would parse the incoming data # After receiving headers, call confirmAuth() to authenticate def confirmAuth(self, headers): try: token = cPickle.loads(base64.b64decode(headers['AuthToken'])) if not check_hmac(token['signature'], token['data'], getSecretKey()): raise AuthFail self.secure_data = token['data'] except: raise AuthFail }
Bad · Python
CVE ID Title CVSS Severity Published
CVE-2026-114724 Roundcube 1.6.20/1.7.5 前存在对象注入漏洞 — Webmail 7.4 High 2026-10-22
CVE-2026-29001 TastyIgniter 4.4.5 PHP Object Injection via Settings Deserialization — TastyIgniter 7.2 High 2026-10-21
CVE-2026-113779 pfSense REST API package Vulnerable to Privilege Escalation via Scoped HA Settings Sync Permission — pfSense-pkg-RESTAPI 8.8 High 2026-10-21
CVE-2026-114403 PHPOffice PHPPresentation through 1.2.0 Deserialization via Reader\Serialized::load — PHPPresentation 8.1 High 2026-10-21
CVE-2026-110369 WordPress WordPress Team Members – GS Plugins plugin <= 2.8.2 - PHP Object Injection vulnerability — WordPress Team Members – GS Plugins 8.8 High 2026-10-21
CVE-2026-110370 WordPress GS Pins for Pinterest plugin <= 1.9.2 - PHP Object Injection vulnerability — GS Pins for Pinterest 8.8 High 2026-10-21
CVE-2026-82814 Duplicator <= 1.5.17 and Duplicator Pro <= 4.6.10 - Unauthenticated PHP Object Injection — Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More 8.8 High 2026-10-21
CVE-2026-114198 Deserialization of untrusted data in floss — floss 8.7 High 2026-10-21
CVE-2026-114197 Deserialization of untrusted data in capa — capa 8.7 High 2026-10-21
CVE-2026-113356 DokuWiki before 2026-07-14c PHP Object Injection via Draft Race Condition — DokuWiki 7.5 High 2026-10-20
CVE-2026-113404 Uniong|WebITR - Insecure Deserialization — WebITR 8.8 High 2026-10-20
CVE-2026-12148 IBM MQ Deserialization of Untrusted Data — MQ Operator 7.5 High 2026-10-19
CVE-2026-12155 IBM MQ Deserialization of Untrusted Data — MQ Operator 6.5 Medium 2026-10-19
CVE-2026-12350 IBM MQ Deserialization of Untrusted Data — MQ Operator 6.5 Medium 2026-10-19
CVE-2026-112304 docTR through 1.1.0 Unsafe Deserialization RCE via load_pretrained_params() — docTR 7.5 High 2026-10-19
CVE-2026-88900 Apache Camel: Camel-JGroups: Unsafe Java Deserialization of Cluster Messages in the JGroups Consumer Can Lead to Remote Code Execution — Apache Camel 8.8 High 2026-10-19
CVE-2026-78165 Apache Camel: Camel-Spring-Redis Unfiltered Java Deserialization of Redis Payloads — Apache Camel 8.8 High 2026-10-19
CVE-2026-78162 Apache Camel: Camel-Hazelcast Managed Instances Missing Java Deserialization Filter (Incomplete Fix for CVE-2026-43865) — Apache Camel 10.0 Critical 2026-10-19
CVE-2026-111408 WordPress Quiz And Survey Master plugin <= 11.2.7 - PHP Object Injection vulnerability — Quiz And Survey Master 8.8 High 2026-10-19
CVE-2026-112086 ESPnet Inference Model inference_model.py build_model deserialization — ESPnet 6.3 Medium 2026-10-19
CVE-2026-112081 hankcs HanLP Model Config Loading reflection.py hanlp.load deserialization — HanLP 6.3 Medium 2026-10-19
CVE-2026-112079 hankcs HanLP torch_util.py load_word2vec_as_vocab_tensor deserialization — HanLP 6.3 Medium 2026-10-19
CVE-2026-107436 WordPress Strong Testimonials plugin <= 3.3.12 - PHP Object Injection vulnerability — Strong Testimonials 8.8 High 2026-10-18
CVE-2026-110886 WordPress Conversational Forms for ChatBot plugin <= 1.5.1 - PHP Object Injection vulnerability — Conversational Forms for ChatBot 9.8 Critical 2026-10-18
CVE-2026-111868 datastax pulsar-jms PulsarObjectMessage.java decode deserialization — pulsar-jms 6.3 Medium 2026-10-18
CVE-2026-104736 LearnPress <= 4.4.10 - Unauthenticated PHP Object Injection via 'checkout-email' Parameter — LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 9.8 Critical 2026-10-17
CVE-2026-104734 Kirki <= 6.3.2 - Authenticated (Administrator+) PHP Object Injection via Deserialization of Untrusted Input via ZIP Template Import — Kirki – Freeform Page Builder, Website Builder & Customizer 7.2 High 2026-10-17
CVE-2026-111628 10up Distributor before 2.3.2 PHP Object Injection via set_meta() — Distributor 5.0 Medium 2026-10-16
CVE-2026-64610 Apache Kylin: Redis unsafe Java deserialization — Apache Kylin - - 2026-10-16
CVE-2026-97296 WordPress Gravity Forms plugin < 3.1.1 - PHP Object Injection vulnerability — Gravity Forms 8.1 High 2026-10-16

Vulnerabilities classified as CWE-502 (可信数据的反序列化) represent 2486 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.