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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | idm-pki-acme | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| AlmaLinux:10 | idm-pki-base | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| AlmaLinux:10 | idm-pki-ca | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| AlmaLinux:10 | idm-pki-java | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| AlmaLinux:10 | idm-pki-kra | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| AlmaLinux:10 | idm-pki-server | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| AlmaLinux:10 | idm-pki-tools | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| AlmaLinux:9 | pki-jackson-annotations | 2.21-1.el9_8 | ALSA-2026:40895 |
| AlmaLinux:9 | pki-jackson-core | 2.21.4-1.el9_8 | ALSA-2026:40895 |
| AlmaLinux:9 | pki-jackson-databind | 2.21.4-1.el9_8 | ALSA-2026:40895 |
| AlmaLinux:9 | pki-jackson-jaxrs-json-provider | 2.21.4-1.el9_8 | ALSA-2026:40895 |
| AlmaLinux:9 | pki-jackson-jaxrs-providers | 2.21.4-1.el9_8 | ALSA-2026:40895 |
| AlmaLinux:9 | pki-jackson-module-jaxb-annotations | 2.21.4-1.el9_8 | ALSA-2026:40895 |
| AlmaLinux:10 | python3-idm-pki | 11.9.0-4.el10_2.alma.1 | ALSA-2026:43400 |
| Debian:12 | jackson-databind | no fix listed | DEBIAN-CVE-2026-54512 |
| Debian:13 | jackson-databind | no fix listed | DEBIAN-CVE-2026-54512 |
| Debian:14 | jackson-databind | 2.18.11-1 | DEBIAN-CVE-2026-54512 |
| Maven | com.fasterxml.jackson.core:jackson-databind | 2.18.8 | GHSA-j3rv-43j4-c7qm |
| Maven | com.fasterxml.jackson.core:jackson-databind | 2.21.4 | GHSA-j3rv-43j4-c7qm |
| Maven | com.fasterxml.jackson.core:jackson-databind | 3.1.4 | GHSA-j3rv-43j4-c7qm |
| Maven | tools.jackson.core:jackson-databind | 3.1.4 | GHSA-j3rv-43j4-c7qm |
| Rocky Linux:10 | dogtag-pki | 0:11.9.0-4.el10_2.rocky.0.1 | RLSA-2026:43400 |
| Rocky Linux:9 | jackson-annotations | 0:2.21-1.el9_8 | RLSA-2026:40895 |
| Rocky Linux:9 | jackson-core | 0:2.21.4-1.el9_8 | RLSA-2026:40895 |
| Rocky Linux:9 | jackson-databind | 0:2.21.4-1.el9_8 | RLSA-2026:40895 |
| Rocky Linux:9 | jackson-jaxrs-providers | 0:2.21.4-1.el9_8 | RLSA-2026:40895 |
| Rocky Linux:9 | jackson-modules-base | 0:2.21.4-1.el9_8 | RLSA-2026:40895 |
| Ubuntu:22.04:LTS | jackson-databind | no fix listed | UBUNTU-CVE-2026-54512 |
| Ubuntu:24.04:LTS | jackson-databind | no fix listed | UBUNTU-CVE-2026-54512 |
| Ubuntu:25.10 | jackson-databind | no fix listed | UBUNTU-CVE-2026-54512 |
| Ubuntu:26.04:LTS | jackson-databind | no fix listed | UBUNTU-CVE-2026-54512 |
| Ubuntu:26.10 | jackson-databind | no fix listed | UBUNTU-CVE-2026-54512 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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