CVE-2026-54513 — Vulnerability in jackson-databind — CVE Details
jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.23%). Schedule for your next planned update.
Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?
Paste your pom.xml to check it for CVE-2026-54513 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
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.
Impact
Applications using BasicPolymorphicTypeValidator with allowIfSubTypeIsArray() as a safeguard get no protection for concrete array component types; an attacker controlling JSON can instantiate non-allowlisted types via an array wrapper, re-opening the gadget-instantiation risk PTV is meant to prevent.
Affected / Patched (verified via git tag --contains)
- 2.18 line:
>= 2.10.0, < 2.18.8-> fixed in 2.18.8 - 2.19-2.21 line:
>= 2.19.0, < 2.21.4-> fixed in 2.21.4 - 3.x line:
>= 3.0.0, < 3.1.4-> fixed in 3.1.4
PolymorphicTypeValidator was added in 2.10.0 so vulnerability N/A for versions prior to that.
Severity / CWE
Maintainer: significant. Reporter: HIGH. CWE-184 (Incomplete List of Disallowed Inputs); related CWE-502.
Upstream fix
FasterXML/jackson-databind#5981; fix PR #5983 (24529da), 2.18 backport PR #5984 (01d1692). Released 2026-06-04 in 2.18.8 / 2.21.4 / 3.1.4.
Credits
Omkhar Arasaratnam (@omkhar) - finder.
Advisory Timeline
- First published June 23, 2026 (156 days ago).
- Last revised September 11, 2026 — 80 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 3.1.4 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 3.1.4 for tools.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.18.8 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.21.4 for com.fasterxml.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: All versions | 3.1.4 |
| tools.jackson.core:jackson-databind Maven · Affected: 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+6 more) | 3.1.4 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.10.0, 2.10.0.pr1, 2.10.0.pr2, 2.10.0.pr3 (+70 more) | 2.18.8 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.19.0, 2.19.1, 2.19.2, 2.19.3 (+9 more) | 2.21.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-184
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-rmj7-2vxq-3g9fWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-54513ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/5983WEB
- https://github.com/FasterXML/jackson-databind/issues/5981WEB
- https://github.com/FasterXML/jackson-databind/pull/5984WEB
- https://github.com/FasterXML/jackson-databind/commit/24529da29fdf46ff94ca38de9ebf31cd188f5e8eWEB
- https://github.com/FasterXML/jackson-databind/commit/01d1692c8d0ed03e51a0e3c4f8a9e6908e4931e5WEB
- https://access.redhat.com/errata/RHSA-2026:50849WEB
- https://access.redhat.com/errata/RHSA-2026:54435WEB
- https://access.redhat.com/errata/RHSA-2026:54622WEB
- https://access.redhat.com/errata/RHSA-2026:62260WEB
- https://access.redhat.com/errata/RHSA-2026:66488WEB
- https://access.redhat.com/errata/RHSA-2026:66545WEB
- https://access.redhat.com/security/cve/CVE-2026-54513WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2492010WEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54513.jsonWEB
- https://access.redhat.com/errata/RHSA-2026:36839WEB
- https://access.redhat.com/errata/RHSA-2026:40895WEB
- https://access.redhat.com/errata/RHSA-2026:41951WEB
- https://access.redhat.com/errata/RHSA-2026:43218WEB
- https://access.redhat.com/errata/RHSA-2026:43400WEB
- https://access.redhat.com/errata/RHSA-2026:44061WEB
- https://access.redhat.com/errata/RHSA-2026:44062WEB
- https://access.redhat.com/errata/RHSA-2026:44063WEB
- https://access.redhat.com/errata/RHSA-2026:44064WEB
- https://access.redhat.com/errata/RHSA-2026:44065WEB
- https://access.redhat.com/errata/RHSA-2026:44066WEB
- https://access.redhat.com/errata/RHSA-2026:44271WEB
- https://access.redhat.com/errata/RHSA-2026:48095WEB
- https://access.redhat.com/errata/RHSA-2026:48151WEB
- https://access.redhat.com/errata/RHSA-2026:50846WEB
- https://access.redhat.com/errata/RHSA-2026:50847WEB
- https://access.redhat.com/errata/RHSA-2026:50848WEB
Frequently Asked Questions
- What is CVE-2026-54513?
- jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray). This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-54513?
- CVE-2026-54513 affects com.fasterxml.jackson.core:jackson-databind and tools.jackson.core:jackson-databind. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54513 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 68.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-91777HIGH
jackson-databind quadratic forward-reference completion
- CVE-2026-54512HIGH
jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation
- CVE-2026-91776HIGH
jackson-databind retains every unknown raw type ID
- CVE-2026-59889MEDIUM
jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization
- CVE-2026-54515MEDIUM
jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties
- CVE-2026-54514MEDIUM
jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)
- CVE-2026-77310MEDIUM
jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization
- CVE-2026-19032MEDIUM
jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution