Weaknesses of type CWE-502

2,665 results

Desserialização de dados não confiáveis

A aplicação reconstrói objetos a partir de dados serializados (JSON, XML, binário) recebidos de fontes externas sem validar adequadamente se o conteúdo é legítimo. Um atacante pode injetar código malicioso ou objetos especialmente crafted que são executados durante a desserialização, comprometendo toda a aplicação.

Example

Um servidor Java desserializa objetos recebidos em requisições HTTP usando ObjectInputStream, sem verificar a classe ou origem dos dados. Um atacante envia um objeto serializado contendo uma cadeia de gadgets (RCE via biblioteca como Apache Commons Collections) que é executada assim que o objeto é reconstruído em memória.

How to mitigate

Valide e liste explicitamente as classes que podem ser desserializadas (whitelist). Para JSON/XML, use parsers que não executem código (como JSON simples, evite eval). Considere alternativas seguras como Protocol Buffers ou MessagePack, e mantenha bibliotecas críticas atualizadas.

CVE-2026-71558CRITICALApache Fory: Heap type confusion in C++ polymorphic smart-pointer deserializationEPSS 1.0%CVE-2026-23524CRITICALLaravel Redis Horizontal Scaling Insecure DeserializationEPSS 1.0%CVE-2024-1772HIGHPlay.ht – Make Your Blog Posts Accessible With Text to Speech Audio <= 3.6.4 - Authenticated (Contributor+) PHP Object InjectionEPSS 1.0%CVE-2026-45162HIGHPimcore: Unsafe PHP Deserialization in Multiple Locations Without allowed_classes RestrictionEPSS 1.0%CVE-2026-33728CRITICALdd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code executionEPSS 1.0%CVE-2023-20853CRITICALaEnrich a+HRD - Deserialization of Untrusted DataEPSS 1.0%CVE-2022-0138HIGHAirspan Networks Mimosa Deserialization of Untrusted DataEPSS 1.0%CVE-2023-20852CRITICALaEnrich a+HRD - Deserialization of Untrusted DataEPSS 1.0%CVE-2025-8266MEDIUMyanyutao0402 ChanCMS collect.js getArticle deserializationEPSS 1.0%CVE-2025-27203CRITICALAdobe Connect | Deserialization of Untrusted Data (CWE-502)EPSS 1.0%CVE-2026-43865HIGHApache Camel: Camel-Hazelcast: Unsafe Java deserialization in default-configured managed Hazelcast instances enables remote code executionEPSS 1.0%CVE-2024-41151HIGHApache HertzBeat: RCE by notice template injection vulnerabilityEPSS 1.0%CVE-2024-3483HIGHRemote Code Execution vulnerability in the iManagerEPSS 1.0%CVE-2025-27778HIGHApplio allows unsafe deserialization in infer.pyEPSS 1.0%CVE-2021-4118HIGHDeserialization of Untrusted Data in pytorchlightning/pytorch-lightningEPSS 1.0%CVE-2023-0960MEDIUMSeaCMS Picture Management config.ftp.php deserializationEPSS 1.0%CVE-2025-54366HIGHFreeScout's deserialization of untrusted data leads to Remote Code ExecutionEPSS 1.0%CVE-2026-91939CRITICALCotonti 1.0.0 Comments Plugin PHP Object Injection via ci ParameterEPSS 1.0%CVE-2026-48397HIGHLightroom Classic | Deserialization of Untrusted Data (CWE-502)EPSS 1.0%CVE-2026-8476CRITICALDisk Cache Deserialization Remote Code Execution VulnerabilityEPSS 1.0%