Skip to content
OpenAdvisories

Weakness (CWE)

CWE-502: Deserialization of Untrusted Data

Base Draft

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

How to prevent it (7 mitigations)
  1. 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.

  2. 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.

  3. Implementation

    Explicitly define a final object() to prevent deserialization.

  4. 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.

  5. 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 constantly being discovered, so this alone is not a sufficient mitigation.

  6. Architecture and Design, Implementation

    Employ cryptography of the data or code for protection. However, it's important to note that it would still be client-side security. This is risky because if the client is compromised then the security implemented on the client (the cryptography) can be bypassed.

  7. Operation

    Use an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481].

Source: MITRE CWE-502

1,213 results · Clear filters · Feed

  • Critical 9.8

    WordPress 69 Clothing theme <= 1.2.11.1 - PHP Object Injection vulnerability

    Unauthenticated PHP Object Injection in 69 Clothing <= 1.2.11.1 versions.

  • Critical 9.8

    WordPress WPBruiser {no- Captcha anti-Spam} plugin <= 3.1.43 - PHP Object Injection vulnerability

    Unauthenticated PHP Object Injection in WPBruiser {no- Captcha anti-Spam} <= 3.1.43 versions.

  • Critical 9.8

    WordPress Export User Data plugin <= 2.2.6 - PHP Object Injection vulnerability

    Subscriber PHP Object Injection in Export User Data <= 2.2.6 versions.

  • Critical 9.8

    WordPress Ajax Search Lite plugin <= 4.14.4 - PHP Object Injection vulnerability

    Unauthenticated PHP Object Injection in Ajax Search Lite <= 4.14.4 versions.

  • Critical 9.8

    Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage

    Apache CXF's JMS transport deserializes the body of any inbound JMS ObjectMessage using native Java deserialization, with no type restrictions in place. Any attacker able to place a message on the service's JMS destination can submit a malicious serialized ob…

  • Critical 9.0

    In Remoting 3384.v60d89463d9e0 and earlier, except 3355.3357.v931d3c992987, included in Jenkins 2.575 and earlier, LTS …

  • Critical 9.8

    Apache Lucy: LucyX::Remote::SearchServer unauthenticated remote Storable::thaw -> RCE/DoS

    ** UNSUPPORTED WHEN ASSIGNED ** Deserialization of Untrusted Data vulnerability in Apache Lucy. This issue affects Apache Lucy: all versions. As this project is retired, we do not plan to release a version that fixes this issue. Users are recommended to find …

  • Critical 9.8

    MaxSite CMS Unauthenticated PHP Object Injection via maxsite_comuser Cookie

    MaxSite CMS contains a PHP object injection vulnerability that allows unauthenticated attackers to execute arbitrary code by passing attacker-controlled serialized data in the maxsite_comuser cookie directly to unserialize() without validation or class allowl…

  • Critical 9.8
    CVE-2026-69098 Public exploit

    kotaemon 0.12.0 Unauthenticated Remote Code Execution via Insecure Deserialization

    kotaemon through 0.12.0 contains an insecure deserialization vulnerability in the check_connection endpoint that allows unauthenticated attackers to instantiate arbitrary Python classes by supplying crafted YAML/JSON input with a __type__ field. Attackers can…

  • Critical 9.8
    CVE-2026-68771 Public exploit

    ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization

    ComfyUI v0.23.0 contains an unsafe deserialization vulnerability in the LoadTrainingDataset node that allows unauthenticated remote attackers to execute arbitrary Python code by uploading a crafted pickle file and triggering its deserialization. Attackers can…

  • Critical 9.8

    CVE-2026-15969

    SGLang contains an unauthenticated RCE in /load_lora_adapter_from_tensors via bypass of SafeUnpickler’s incomplete denylist, allowing arbitrary command execution through crafted base64-encoded pickle payloads.

  • Critical 9.8

    CVE-2026-15976

    SGLang contains a RCE vulnerability when attempting to load model weights from a HuggingFace repository, specifically within the /update_weights_from_disk, where torch.load(..., weights_only=False) fallback enables pickle deserialization of .bin files.

  • Critical 9.8
    CVE-2026-12118 Public exploit

    IBM webMethods Integration could allow an unauthenticated remote attacker to execute arbitrary code on the system due to the deserialization of untrusted data

    IBM webMethods Integration (on prem) 10.15, 10.11 could allow an unauthenticated remote attacker to execute arbitrary code on the system due to the deserialization of untrusted data.

  • Critical 10.0
    CVE-2026-65883 Public exploit

    Joomla Extension - aimy-extensions.com - RCE via PHP object injection in Aimy Captcha-Less Form Guard 18.0 - 20.0

    Joomla Extension - aimy-extensions.com - RCE via PHP object injection in Aimy Captcha-Less Form Guard 18.0 - 20.0 - A forged clfgd field allows PHP objection injection and thereby remote code execution.

  • Critical 9.8

    IBM WebSphere Application Server is affected by an unsafe deserialization and exposure of sensitive information

    IBM WebSphere Application Server 9.0, and 8.5 traditional is vulnerable to pre-authentication unsafe deserialization which could allow a remote attacker to bypass authentication or execute arbitrary code.

  • Critical 9.8

    Apache Axis2/Java: deserialization of untrusted Data

    Deserialization of Untrusted Data (CWE-502) in the Tribes-based clustering component  in Apache Software Foundation Apache Axis2/Java through 2.0.0 on Apache Tomcat  (only when Tribes clustering is enabled, which is off by default) allows an  unauthenticated …

  • Critical 10.0

    Deserialization of Untrusted Data vulnerability affecting Station Launcher App in 3DEXPERIENCE platform from Release 3DEXPERIENCE R2023x through Release 3DEXPERIENCE R2026x

    A Deserialization of Untrusted Data vulnerability affecting Station Launcher App in 3DEXPERIENCE platform from Release 3DEXPERIENCE R2023x through Release 3DEXPERIENCE R2026x could lead to an unauthenticated remote code execution.

  • Critical 9.8
    CVE-2026-63077 Exploited · Ransomware Public exploit Scanner template EPSS 95%

    In JetBrains TeamCity before 2026.1.3, 2025.11.7 unauthenticated remote code execution was possible via the agent polli…

    KEV Aug 5, 2026
  • Critical 9.9

    Microsoft M365 Copilot Remote Code Execution Vulnerability

    Deserialization of untrusted data in M365 Copilot allows an authorized attacker to execute code over a network.

  • Critical 9.8

    WordPress Thrive Quiz Builder plugin <= 10.9.3.0 - PHP Object Injection vulnerability

    Unauthenticated PHP Object Injection in Thrive Quiz Builder <= 10.9.3.0 versions.

  • Critical 9.0
    CVE-2026-16723 Public exploit

    Remote Code Execution in fastjson 1.2.68–1.2.83

    A remote code execution (RCE) vulnerability exists in fastjson 1.2.68 through 1.2.83. This vulnerability is exploitable under fastjson's stock default configuration — no AutoType enablement required, no classpath gadget required.

  • Critical 9.8

    Vulnerability in the Oracle Platform Security for Java product of Oracle Fusion Middleware (component: Centralized Thir…

  • Critical 9.9

    Vulnerability in the Oracle Platform Security for Java product of Oracle Fusion Middleware (component: Centralized Thir…

  • Critical 9.8

    Vulnerability in the Oracle Platform Security for Java product of Oracle Fusion Middleware (component: Centralized Thir…

  • Critical 10.0

    Vulnerability in the Oracle Platform Security for Java product of Oracle Fusion Middleware (component: Centralized Thir…

  • Critical 9.8

    Apache Fory, Apache Fory: Class-registration bypass through an auto-admitted SerializedLambda capturing interface

    Deserialization of untrusted data vulnerability that may allow class-registration checks to be bypassed during Java lambda deserialization. Only lambda capture class is affected This issue affects Apache Fory: from before 1.4.0. Users are recommended to upgra…

  • Critical 9.8

    Apache Fory: Heap type confusion and out-of-bounds read/write in C++ compatible-mode field-skip paths

    Heap type confusion and out-of-bounds read/write in the Apache Fory C++ implementation. When deserializing data in compatible mode, the field-skip paths do not correctly validate the declared field types against the actual data, so input with an inconsistent …

  • Critical 9.8

    ktransformers Unauthenticated Pickle Deserialization RCE via ZMQ

    ktransformers through 0.6.3, fixed in commit def0f93, contains an unauthenticated pickle deserialization vulnerability that allows remote attackers to execute arbitrary commands by sending crafted pickle payloads to the SchedulerServer ZMQ ROUTER socket bound…

  • Critical 9.9

    Disk Cache Deserialization Remote Code Execution Vulnerability

    IBM Langflow OSS 1.0.0 through 1.10.0 contain a critical remote code execution vulnerability in the disk-based caching mechanism. The AsyncDiskCache class uses Python's unsafe pickle.loads() function to deserialize cached objects from disk without validation,…

  • Critical 9.1

    CVE-2026-14890

    SGLang uses an expert-parallel backup subsystem that exposes a ZeroMQ PULL socket on a routable network interface that does not contain authentication or deserialization safeguards, allowing an attacker to provide a malicious pickle file that results in unaut…

  • Critical 9.8
    CVE-2026-55944 Public exploit

    Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central (On Premises) Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Dynamics NAV allows an unauthorized attacker to execute code over a network.

  • Critical 9.8
    CVE-2026-58644 Exploited Scanner template EPSS 16%

    Microsoft SharePoint Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Office SharePoint allows an unauthorized attacker to execute code over a network.

    KEV Jul 16, 2026
  • Critical 9.8
    CVE-2026-50522 Exploited Public exploit

    Microsoft SharePoint Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Office SharePoint allows an unauthorized attacker to execute code over a network.

    KEV Jul 22, 2026
  • Critical 9.8

    Microsoft SQL Server Remote Code Execution Vulnerability

    Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network.

  • Critical 9.8

    Microsoft SQL Server Remote Code Execution Vulnerability

    Deserialization of untrusted data in SQL Server allows an unauthorized attacker to execute code over a network.

  • Critical 9.8

    WordPress Directorist plugin <= 8.8.2 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in wpWax Directorist directorist allows Object Injection.This issue affects Directorist: from n/a through <= 8.8.2.

  • Critical 9.8

    WordPress RT-Theme 18 | Extensions plugin <= 2.5 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in stmcan RT-Theme 18 | Extensions rt18-extensions allows Object Injection.This issue affects RT-Theme 18 | Extensions: from n/a through <= 2.5.

  • Critical 9.8

    WordPress Grand Photography theme <= 5.7.8 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in ThemeGoods Grand Photography grandphotography allows Object Injection.This issue affects Grand Photography: from n/a through <= 5.7.8.

  • Critical 9.8

    WordPress 777 theme <= 1.13.0 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in axiomthemes 777 triple-seven allows Object Injection.This issue affects 777: from n/a through <= 1.13.0.

  • Critical 9.8

    WordPress Kirki plugin <= 6.0.12 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in Themeum Kirki kirki allows Object Injection.This issue affects Kirki: from n/a through <= 6.0.12.