CVE-2026-54512
Description
jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.10.0 until 2.18.8, 2.21.4, and 3.1.4, jackson-databind's PolymorphicTypeValidator (PTV) is the primary safety mechanism guarding polymorphic deserialization. When polymorphic typing is enabled and a type identifier contains generic parameters (i.e. the type ID string contains <), DatabindContext._resolveAndValidateGeneric() validates only the raw container class name (the substring before <) against the configured PTV. If the container type is approved, the method parses the full canonical type string via TypeFactory.constructFromCanonical() and returns the fully parameterized type without ever validating the nested type arguments against the PTV. The nested type arguments are then resolved, instantiated, and populated as beans during deserialization. An attacker who controls the type ID can therefore place a denied class as a generic type parameter of an allowed container — for example java.util.ArrayList<com.evil.Gadget> when only java.util.ArrayList is allow-listed. The container passes the PTV check; com.evil.Gadget is loaded via Class.forName(name, true, loader), instantiated, and its properties are set from attacker-controlled JSON. This completely bypasses an explicitly configured PTV allow-list. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4.
Weakness
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-06-24 |
Timeline
- 2026-06-23Published by the CNA20:56 UTC
- 2026-06-23GitHub advisory published (GHSA-j3rv-43j4-c7qm)same day
- 2026-06-24CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-j3rv-43j4-c7qm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven com.fasterxml.jackson.core:jackson-databind | from 2.10.0 before 2.18.8 | 2.18.8 |
| Maven com.fasterxml.jackson.core:jackson-databind | from 2.19.0 before 2.21.4 | 2.21.4 |
| Maven com.fasterxml.jackson.core:jackson-databind | from 3.0.0 before 3.1.4 | 3.1.4 |
| Maven tools.jackson.core:jackson-databind | from 3.0.0 before 3.1.4 | 3.1.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| fasterxml jackson-databind | from 2.10.0 before 2.18.8fixed in 2.18.8from 2.19.0 before 2.21.4fixed in 2.21.4from 3.0.0 before 3.1.4fixed in 3.1.4 | 2.18.82.21.43.1.4 |
References
- https://github.com/FasterXML/jackson-databind/commit/434d6c511de7fdd9872f29157aafb6162d12d8d5
- https://github.com/FasterXML/jackson-databind/issues/5988
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-j3rv-43j4-c7qm
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-54512'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-54512'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-54512'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-54512'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).