CWE-5026 advisories

Deserialization of Untrusted Data

What it is

Untrusted serialized data is deserialized into objects, which can trigger code execution or object injection.

How to fix it

Upgrade to a version that restricts deserialization; switch to a safe data format.

How to avoid it

Never deserialize untrusted input with native/object deserializers; prefer JSON with a schema.

Known Deserialization of Untrusted Data vulnerabilities

Stateward flags Deserialization of Untrusted Data in your own code and dependencies on every pull request.

Scan my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.