Arbitrary class instantiation via generic type smuggling
Published Jun 23, 2026 · Updated Jun 23, 2026
Polymorphic deserialization in FasterXML jackson-databind allows remote attackers to instantiate denied classes through crafted type IDs. The _resolveAndValidateGeneric() method checks only a generic container's raw class against the configured PTV, then resolves nested type arguments without validating them. Exploitation requires polymorphic typing, attacker-controlled JSON type identifiers, and a suitable class on the application classpath; resulting property injection enables code execution only when that class has exploitable side effects.
Summary
What happened
Polymorphic deserialization in FasterXML jackson-databind allows remote attackers to instantiate denied classes through crafted type IDs. The _resolveAndValidateGeneric() method checks only a generic container's raw class against the configured PTV, then resolves nested type arguments without validating them. Exploitation requires polymorphic typing, attacker-controlled JSON type identifiers, and a suitable class on the application classpath; resulting property injection enables code execution only when that class has exploitable side effects.
The record
- CVE
- CVE-2026-54512
- Published
- Jun 23, 2026
- Updated
- Jun 23, 2026
- Vendor
- FasterXML
- Product
- jackson-databind
- Classifications
- CWE-184, CWE-502
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 23, 2026CVE publishedPublication date reported by the CVE source.
- Jun 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 2.10.0, < 2.18.8
- Affected versionversion=>= 2.19.0, < 2.21.4
- Affected versionversion=>= 3.0.0, < 3.1.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream generic type parameter bypass proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo