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.
Published: 2026-06-23
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The array subtype allowlist defined in BasicPolymorphicTypeValidator when the allowIfSubTypeIsArray method is used. By providing a JSON payload that contains an array of a non‑allowlisted component type, the deserialization process will instantiate the component type directly without performing a further allowlist check. This bypass can lead to arbitrary class instantiation and, if the type contains code that is executed during deserialization, to remote code execution.

Affected Systems

The affected library is FasterXML:jackson-databind. Versions susceptible to the flaw include all releases from 2.10.0 up to but not including 2.18.8, as well as the 2.21.x series before 2.21.4 and the 3.1.x series before 3.1.4. The vulnerability was fixed starting with 2.18.8, 2.21.4, and 3.1.4.

Risk and Exploitability

The CVSS score of 8.1 indicates a high severity. EPSS is not available, and the issue is not listed in CISA's KEV catalog. The likely attack vector involves any application that accepts JSON input and processes it with Jackson's polymorphic deserialization. An attacker who can send a crafted payload containing an array of an unallowlisted type can trigger the bypass and instantiate the type during deserialization, potentially enabling code execution on the target system.

Generated by OpenCVE AI on June 24, 2026 at 10:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FasterXML:jackson-databind to version 2.18.8, 2.21.4, 3.1.4 or later, depending on your current major release
  • Re‑evaluate the use of BasicPolymorphicTypeValidator.allowIfSubTypeIsArray; remove or tightly restrict it to known safe types so that array component types are validated
  • Audit all deserialization endpoints to ensure that untrusted data is not processed by polymorphic deserialization or that type ID checks are enforced

Generated by OpenCVE AI on June 24, 2026 at 10:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rmj7-2vxq-3g9f jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:36839 cve-icon
https://access.redhat.com/errata/RHSA-2026:40895 cve-icon
https://access.redhat.com/errata/RHSA-2026:41951 cve-icon
https://access.redhat.com/errata/RHSA-2026:43218 cve-icon
https://access.redhat.com/errata/RHSA-2026:43400 cve-icon
https://access.redhat.com/errata/RHSA-2026:44061 cve-icon
https://access.redhat.com/errata/RHSA-2026:44062 cve-icon
https://access.redhat.com/errata/RHSA-2026:44063 cve-icon
https://access.redhat.com/errata/RHSA-2026:44064 cve-icon
https://access.redhat.com/errata/RHSA-2026:44065 cve-icon
https://access.redhat.com/errata/RHSA-2026:44066 cve-icon
https://access.redhat.com/errata/RHSA-2026:44271 cve-icon
https://access.redhat.com/errata/RHSA-2026:48095 cve-icon
https://access.redhat.com/errata/RHSA-2026:48151 cve-icon
https://access.redhat.com/errata/RHSA-2026:50846 cve-icon
https://access.redhat.com/errata/RHSA-2026:50847 cve-icon
https://access.redhat.com/errata/RHSA-2026:50848 cve-icon
https://access.redhat.com/errata/RHSA-2026:50849 cve-icon
https://access.redhat.com/errata/RHSA-2026:54435 cve-icon
https://access.redhat.com/errata/RHSA-2026:54622 cve-icon
https://access.redhat.com/security/cve/CVE-2026-54513 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2492010 cve-icon
https://github.com/FasterXML/jackson-databind/commit/01d1692c8d0ed03e51a0e3c4f8a9e6908e4931e5 cve-icon cve-icon cve-icon
https://github.com/FasterXML/jackson-databind/commit/24529da29fdf46ff94ca38de9ebf31cd188f5e8e cve-icon cve-icon cve-icon
https://github.com/FasterXML/jackson-databind/issues/5981 cve-icon cve-icon cve-icon
https://github.com/FasterXML/jackson-databind/issues/5983 cve-icon cve-icon cve-icon
https://github.com/FasterXML/jackson-databind/pull/5984 cve-icon cve-icon cve-icon
https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-rmj7-2vxq-3g9f cve-icon cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-54513 cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54513.json cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-54513 cve-icon
History

Fri, 14 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
References

Thu, 13 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
References

Thu, 25 Jun 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 24 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 24 Jun 2026 01:30:00 +0000

Type Values Removed Values Added
First Time appeared Fasterxml
Fasterxml jackson-databind
Vendors & Products Fasterxml
Fasterxml jackson-databind

Tue, 23 Jun 2026 21:15:00 +0000

Type Values Removed Values Added
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.
Title jackson-databind: Array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
Weaknesses CWE-184
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Fasterxml Jackson-databind
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-14T12:04:36.995Z

Reserved: 2026-06-15T18:01:15.514Z

Link: CVE-2026-54513

cve-icon Vulnrichment

Updated: 2026-08-14T12:04:36.995Z

cve-icon NVD

Status : Modified

Published: 2026-06-23T21:17:02.333

Modified: 2026-08-14T13:19:03.370

Link: CVE-2026-54513

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-23T20:53:52Z

Links: CVE-2026-54513 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T10:45:03Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs