CVE-2026-110879
published critical CVSS 3.1 · 9.8jackson-databind: PolymorphicTypeValidator bypass via generic type arguments and array element types allows arbitrary class instantiation (incomplete fix for CVE-2026-54512)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FasterXML | — | com.fasterxml.jackson.core:jackson-databindjackson-databind · 2.10.0 to < 2.18.12 (affected · maven) · 2.18.12 (unaffected · maven) · 2.19.0 to < 2.21.8 (affected · maven) · 2.21.8 (unaffected · maven) · 2.22.0 to < 2.22.4 (affected · maven) · 2.22.4 (unaffected · maven) · Other versions: unaffected | Version-specific | Not stated | HeroDevs |
| FasterXML | — | tools.jackson.core:jackson-databindjackson-databind · 3.0.0 to < 3.1.8 (affected · maven) · 3.1.8 (unaffected · maven) · 3.2.0 to < 3.2.4 (affected · maven) · 3.2.4 (unaffected · maven) · Other versions: unaffected | Version-specific | Not stated | HeroDevs |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3387 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | jackson-databindnoarch | Listed in advisory | Not stated | ALAS2023-2026-3387 |
| Amazon Linux | AL2023 | jackson-databindsrc | Listed in advisory | Not stated | ALAS2023-2026-3387 |
Description
jackson-databind validates the outer class of a class-name type ID but accepts attacker-selected classes inside its generic arguments, even when those classes violate the declared type or would be rejected as direct type IDs. This bypasses the generic-argument validation added for CVE-2026-54512 (GHSA-j3rv-43j4-c7qm), of which this is an incomplete fix. DatabindContext._resolveAndValidateGeneric() checks the outer class against the declared base type and then passes each argument from the type ID to _validateTypeParameter(), which validates the argument against the outer base type rather than enforcing its corresponding declared generic binding. It also invokes validators with arguments that have not passed the subtype check those validators expect. Under the default DefaultBaseTypeLimitingValidator this accepts an unrelated class inside a generic subtype even when the same class is rejected as a direct type ID. Where an allowIfBaseType(...) rule approves the outer type, Jackson substitutes LaissezFaireSubTypeValidator, so the configured validator no longer restricts the embedded arguments. The element type of a plain array type ID such as [Lpkg.Gadget; is likewise left unvalidated once the array's base type is approved. Affected paths include annotation-based class-name polymorphism with a default Jackson 3.x JsonMapper, configured default typing in both Jackson 2.x and 3.x, and integrations that expose that default typing. The default-validator case requires no application-authored validator: with @JsonTypeInfo(use = Id.CLASS), a direct gadget type ID is rejected as "Not a subtype", while a type ID naming a generic wrapper around the same gadget is accepted and deserialized, including attacker-supplied bean properties. Where class-name default typing permits Map, a property declared as Map<String,String> accepts HashMap<FileSystemXmlApplicationContext,String>; map-key discovery then passes the attacker-controlled JSON property name to the selected class's one-string constructor. With Spring on the classpath and attacker-controlled XML the application can load, that constructor loads the XML and invokes ProcessBuilder.start() under the application account, giving arbitrary command execution. This issue affects com.fasterxml.jackson.core:jackson-databind from 2.10.0 and tools.jackson.core:jackson-databind from 3.0.0. Releases before 2.10.0 are not affected, because PolymorphicTypeValidator was introduced in jackson-databind 2.10.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- HeroDevs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: Application deserializes attacker-controlled JSON with class-name polymorphic typing enabled, either via @JsonTypeInfo(use = Id.CLASS / Id.MINIMAL_CLASS) or configured default typing, where a declared generic or array type permits an approved outer type.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FasterXML | jackson-databind | 2.10.0 to < 2.18.12 (affected · maven)2.18.12 (unaffected · maven)2.19.0 to < 2.21.8 (affected · maven)2.21.8 (unaffected · maven)2.22.0 to < 2.22.4 (affected · maven)2.22.4 (unaffected · maven)Default: unaffected | HeroDevs · cna |
| FasterXML | jackson-databind | 3.0.0 to < 3.1.8 (affected · maven)3.1.8 (unaffected · maven)3.2.0 to < 3.2.4 (affected · maven)3.2.4 (unaffected · maven)Default: unaffected | HeroDevs · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
3- GHSA-j3rv-43j4-c7qm - original advisory for which this is an incomplete fix https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-j3rv-43j4-c7qm
- GHSA-m8xf-2cr7-77ph https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-m8xf-2cr7-77ph
- CVE-2026-54512 - original issue for which this is an incomplete fix https://www.cve.org/CVERecord?id=CVE-2026-54512
Provider assertions
2HeroDevs · cna
jackson-databind: PolymorphicTypeValidator bypass via generic type arguments and array element types allows arbitrary class instantiation (incomplete fix for CVE-2026-54512)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b36e713ed9cf5d4e37ebe1bf784254b42210e02ed6cbf27220e0ee9800526226
- Ingested
- 07 Nov 2026, 23:37:47 UTC
- Source record
- Official CVE record