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-2024-27604CRITICALAlldata V0.4.6 is vulnerable to Command execution vulnerability. System commands can be deserialized.EPSS 1.0%CVE-2026-12046CRITICALpgAdmin 4: Unauthenticated pickle deserialization in SQL Editor close / update_connection routes enables remote code executionEPSS 1.0%CVE-2022-39297HIGHDeserialization of untrusted data in MelisCmsEPSS 1.0%CVE-2022-39298HIGHDeserialization of untrusted data in MelisFrontEPSS 1.0%CVE-2023-42809CRITICALRedisson unsafe deserialization vulnerabilityEPSS 1.0%CVE-2024-20926MEDIUMVulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: ScriptiEPSS 1.0%CVE-2022-41778CRITICAL Delta Electronics InfraSuite Device Master versions 00.00.01a and prior deserialize user-supplied data provided through the Device-DataCollEPSS 1.0%CVE-2023-51656—Apache IoTDB: Unsafe deserialize map in Sync ToolEPSS 1.0%CVE-2023-25558HIGHDeserialization of untrusted data in DataHubEPSS 1.0%CVE-2026-33454CRITICALApache Camel: Inbound Header Filter Missing in MailHeaderFilterStrategy Allows Remote Code Execution via MIME Header Injection (CVE-2025-30177 Variant)EPSS 1.0%CVE-2026-31234CRITICALHorovod thru 0.28.1 contains an insecure deserialization vulnerability (CWE-502) in its KVStore HTTP server component. The KVStore server, uEPSS 1.0%CVE-2025-27819HIGHApache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configurationEPSS 1.0%CVE-2026-15969CRITICALCVE-2026-15969EPSS 1.0%CVE-2026-45829CRITICALA pre-authentication, code injection vulnerability in version 1.0.0 or later of the ChromaDB Python project allows an unauthenticated attackEPSS 1.0%CVE-2023-5016MEDIUMspider-flow API DataSourceController.java DriverManager.getConnection deserializationEPSS 1.0%CVE-2026-24227MEDIUMNVIDIA TensorRT for contains a vulnerability where a user might cause a deserialization of untrusted data. A successful exploit of this vulnEPSS 1.0%CVE-2024-1951HIGHLogo Showcase Ultimate – Logo Carousel, Logo Slider & Logo Grid <= 1.3.8 - Authenticated(Contributor+) PHP Object InjectionEPSS 1.0%CVE-2026-27206HIGHZumba Json Serializer has a potential PHP Object Injection via Unrestricted @type in unserialize()EPSS 1.0%CVE-2024-28212CRITICALnGrinder before 3.5.9 uses old version of SnakeYAML, which could allow remote attacker to execute arbitrary code via unsafe deserialization.EPSS 1.0%CVE-2026-3328HIGHFrontend Admin by DynamiApps <= 3.28.31 - Authenticated (Editor+) PHP Object Injection via 'post_content' of Admin Form PostsEPSS 1.0%