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-55175HIGHSpinnaker: Improper yaml processing on kustomize bake operationsEPSS 1.1%CVE-2021-38241CRITICALDeserialization issue discovered in Ruoyi before 4.6.1 allows remote attackers to run arbitrary code via weak cipher in Shiro framework.EPSS 1.1%CVE-2025-59245CRITICALMicrosoft SharePoint Online Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2022-40889CRITICALPhpok 6.1 has a deserialization vulnerability via framework/phpok_call.php.EPSS 1.1%CVE-2026-35337HIGHApache Storm Client: RCE through Unsafe Deserialization via Kerberos TGT Credential HandlingEPSS 1.1%CVE-2021-22095—In Spring AMQP versions 2.2.0 - 2.2.19 and 2.3.0 - 2.3.11, the Spring AMQP Message object, in its toString() method, will create a new StrinEPSS 1.1%CVE-2025-2251MEDIUMOrg.jboss.eap:wildfly-ejb3: improper deserialization in jboss marshalling allows remote code executionEPSS 1.0%CVE-2023-45146CRITICALRemote code execution in XXL-RPCEPSS 1.0%CVE-2024-50507CRITICALWordPress DS.DownloadList plugin <= 1.3 - PHP Object Injection vulnerabilityEPSS 1.0%CVE-2023-2141HIGHUnsafe .NET object deserialization affecting DELMIA Apriso Release 2017 through Release 2022 EPSS 1.0%CVE-2026-26210CRITICALKTransformers Unsafe Deserialization RCE via balance_serveEPSS 1.0%CVE-2022-1415HIGHDrools: unsafe data deserialization in streamutilsEPSS 1.0%CVE-2025-32144HIGHWordPress Job Board Manager Plugin <= 2.1.61 - PHP Object Injection vulnerabilityEPSS 1.0%CVE-2025-32143HIGHWordPress Accordion plugin <= 2.3.11 - PHP Object Injection vulnerabilityEPSS 1.0%CVE-2023-33496CRITICALxxl-rpc v1.7.0 was discovered to contain a deserialization vulnerability via the component com.xxl.rpc.core.remoting.net.impl.netty.codec.NeEPSS 1.0%CVE-2025-27818HIGHApache Kafka: Possible RCE attack via SASL JAAS LdapLoginModule configurationEPSS 1.0%CVE-2018-18447CRITICALdotPDN Paint.NET before 4.1.2 allows Deserialization of Untrusted Data (issue 2 of 2).EPSS 1.0%CVE-2018-18446CRITICALdotPDN Paint.NET before 4.1.2 allows Deserialization of Untrusted Data (issue 1 of 2).EPSS 1.0%CVE-2025-7696CRITICALIntegration for Pipedrive and Contact Form 7, WPForms, Elementor, Ninja Forms <= 1.2.3 - Unauthenticated PHP Object Injection via verify_field_val FunctionEPSS 1.0%CVE-2023-51570CRITICALVoltronic Power ViewPower Pro Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS 1.0%