jackson-databind: Array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
Summary
| CVE | CVE-2026-54513 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-23 21:17:02 UTC |
| Updated | 2026-06-23 21:17:02 UTC |
| 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, BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() allowlists any array type based only on clazz.isArray(), without validating the array's component (element) type against the configured allowlist. A PTV built with allowIfSubTypeIsArray() plus an explicit concrete-type allowlist therefore still permits EvilType[] even though EvilType is not allowlisted. When Jackson deserializes the elements and no per-element type IDs are present, it instantiates the component type directly with no further PTV check, bypassing the allowlist. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4. |
Risk And Classification
Primary CVSS: v3.1 8.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-184 | CWE-184 CWE-184: Incomplete List of Disallowed Inputs
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | FasterXML | Jackson-databind | affected >= 2.10.0, < 2.18.8 | Not specified |
| CNA | FasterXML | Jackson-databind | affected >= 2.19.0, < 2.21.4 | Not specified |
| CNA | FasterXML | Jackson-databind | affected >= 3.0.0, < 3.1.4 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/FasterXML/jackson-databind/commit/24529da29fdf46ff94ca38de9eb... | [email protected] | github.com | |
| github.com/FasterXML/jackson-databind/security/advisories/GHSA-rmj7-2vxq... | [email protected] | github.com | |
| github.com/FasterXML/jackson-databind/issues/5983 | [email protected] | github.com | |
| github.com/FasterXML/jackson-databind/commit/01d1692c8d0ed03e51a0e3c4f8a... | [email protected] | github.com | |
| github.com/FasterXML/jackson-databind/issues/5981 | [email protected] | github.com | |
| github.com/FasterXML/jackson-databind/pull/5984 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.