Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M

CVE-2026-54512jackson-databind: PolymorphicTypeValidator bypass via generic type parameters allows arbitrary class instantiation

High 8.1

In plain English

A high-severity unsafe deserialization in jackson-databind from FasterXML. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.1%top 35.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10idm-pki-acme11.9.0-4.el10_2.alma.1ALSA-2026:43400
AlmaLinux:10idm-pki-base11.9.0-4.el10_2.alma.1ALSA-2026:43400
AlmaLinux:10idm-pki-ca11.9.0-4.el10_2.alma.1ALSA-2026:43400
AlmaLinux:10idm-pki-java11.9.0-4.el10_2.alma.1ALSA-2026:43400
AlmaLinux:10idm-pki-kra11.9.0-4.el10_2.alma.1ALSA-2026:43400
AlmaLinux:10idm-pki-server11.9.0-4.el10_2.alma.1ALSA-2026:43400
AlmaLinux:10idm-pki-tools11.9.0-4.el10_2.alma.1ALSA-2026:43400
AlmaLinux:9pki-jackson-annotations2.21-1.el9_8ALSA-2026:40895
AlmaLinux:9pki-jackson-core2.21.4-1.el9_8ALSA-2026:40895
AlmaLinux:9pki-jackson-databind2.21.4-1.el9_8ALSA-2026:40895
AlmaLinux:9pki-jackson-jaxrs-json-provider2.21.4-1.el9_8ALSA-2026:40895
AlmaLinux:9pki-jackson-jaxrs-providers2.21.4-1.el9_8ALSA-2026:40895
AlmaLinux:9pki-jackson-module-jaxb-annotations2.21.4-1.el9_8ALSA-2026:40895
AlmaLinux:10python3-idm-pki11.9.0-4.el10_2.alma.1ALSA-2026:43400
Debian:12jackson-databindno fix listedDEBIAN-CVE-2026-54512
Debian:13jackson-databindno fix listedDEBIAN-CVE-2026-54512
Debian:14jackson-databind2.18.11-1DEBIAN-CVE-2026-54512
Mavencom.fasterxml.jackson.core:jackson-databind2.18.8GHSA-j3rv-43j4-c7qm
Mavencom.fasterxml.jackson.core:jackson-databind2.21.4GHSA-j3rv-43j4-c7qm
Mavencom.fasterxml.jackson.core:jackson-databind3.1.4GHSA-j3rv-43j4-c7qm
Maventools.jackson.core:jackson-databind3.1.4GHSA-j3rv-43j4-c7qm
Rocky Linux:10dogtag-pki0:11.9.0-4.el10_2.rocky.0.1RLSA-2026:43400
Rocky Linux:9jackson-annotations0:2.21-1.el9_8RLSA-2026:40895
Rocky Linux:9jackson-core0:2.21.4-1.el9_8RLSA-2026:40895
Rocky Linux:9jackson-databind0:2.21.4-1.el9_8RLSA-2026:40895
Rocky Linux:9jackson-jaxrs-providers0:2.21.4-1.el9_8RLSA-2026:40895
Rocky Linux:9jackson-modules-base0:2.21.4-1.el9_8RLSA-2026:40895
Ubuntu:22.04:LTSjackson-databindno fix listedUBUNTU-CVE-2026-54512
Ubuntu:24.04:LTSjackson-databindno fix listedUBUNTU-CVE-2026-54512
Ubuntu:25.10jackson-databindno fix listedUBUNTU-CVE-2026-54512
Ubuntu:26.04:LTSjackson-databindno fix listedUBUNTU-CVE-2026-54512
Ubuntu:26.10jackson-databindno fix listedUBUNTU-CVE-2026-54512

Affected products (as reported)

VendorProductVersions
FasterXML jackson-databind >= 2.10.0, < 2.18.8>= 2.19.0, < 2.21.4>= 3.0.0, < 3.1.4

Weakness: CWE-184, CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References