Skip to main content

CVE-2026-54513 — Vulnerability in jackson-databind — CVE Details

HIGH

jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)

Published June 23, 2026Updated September 11, 2026Source: OSV

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.

Check my pom.xml

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.

Maven
Update com.fasterxml.jackson.core:jackson-databind to 3.1.4 or later
<!-- Update pom.xml dependency version to 3.1.4 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update tools.jackson.core:jackson-databind to 3.1.4 or later
<!-- Update pom.xml dependency version to 3.1.4 for tools.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.18.8 or later
<!-- Update pom.xml dependency version to 2.18.8 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.21.4 or later
<!-- 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).

PackageFixed In
com.fasterxml.jackson.core:jackson-databind Maven · Affected: All versions3.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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

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

CVSS Score
8.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.23%
EPSS percentile: 68.7

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

GHSA-rmj7-2vxq-3g9f

Related CVEs

  • CVE-2026-91777
    HIGH

    jackson-databind quadratic forward-reference completion

  • CVE-2026-54512
    HIGH

    jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation

  • CVE-2026-91776
    HIGH

    jackson-databind retains every unknown raw type ID

  • CVE-2026-59889
    MEDIUM

    jackson-databind: @JsonView bypassed for @JsonUnwrapped container properties on deserialization

  • CVE-2026-54515
    MEDIUM

    jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties

  • CVE-2026-54514
    MEDIUM

    jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)

  • CVE-2026-77310
    MEDIUM

    jackson-databind: Incomplete fix for CVE-2026-54514: eager DNS resolution (SSRF) still present in InetAddress deserialization

  • CVE-2026-19032
    MEDIUM

    jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml