Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.fasterxml.jackson.core/jackson-databind
  4. ›
  5. CVE-2026-54513

CVE-2026-54513: jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)

June 23, 2026 (updated August 6, 2026)

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.

References

  • access.redhat.com/errata/RHSA-2026:36839
  • access.redhat.com/errata/RHSA-2026:40895
  • access.redhat.com/errata/RHSA-2026:41951
  • access.redhat.com/errata/RHSA-2026:43218
  • access.redhat.com/errata/RHSA-2026:43400
  • access.redhat.com/errata/RHSA-2026:44061
  • access.redhat.com/errata/RHSA-2026:44062
  • access.redhat.com/errata/RHSA-2026:44063
  • access.redhat.com/errata/RHSA-2026:44064
  • access.redhat.com/errata/RHSA-2026:44065
  • access.redhat.com/errata/RHSA-2026:44066
  • access.redhat.com/errata/RHSA-2026:44271
  • access.redhat.com/errata/RHSA-2026:48095
  • access.redhat.com/errata/RHSA-2026:48151
  • access.redhat.com/errata/RHSA-2026:50846
  • access.redhat.com/errata/RHSA-2026:50847
  • access.redhat.com/errata/RHSA-2026:50848
  • access.redhat.com/errata/RHSA-2026:50849
  • access.redhat.com/security/cve/CVE-2026-54513
  • bugzilla.redhat.com/show_bug.cgi?id=2492010
  • github.com/FasterXML/jackson-databind/commit/01d1692c8d0ed03e51a0e3c4f8a9e6908e4931e5
  • github.com/FasterXML/jackson-databind/commit/24529da29fdf46ff94ca38de9ebf31cd188f5e8e
  • github.com/FasterXML/jackson-databind/issues/5981
  • github.com/FasterXML/jackson-databind/issues/5983
  • github.com/FasterXML/jackson-databind/pull/5984
  • github.com/FasterXML/jackson-databind/security/advisories/GHSA-rmj7-2vxq-3g9f
  • github.com/advisories/GHSA-rmj7-2vxq-3g9f
  • nvd.nist.gov/vuln/detail/CVE-2026-54513
  • security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54513.json

Code Behaviors & Features

Detect and mitigate CVE-2026-54513 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.10.0 before 2.18.8, all versions starting from 2.19.0 before 2.21.4, all versions starting from 3.0.0 before 3.1.4

Fixed versions

  • 2.18.8
  • 2.21.4
  • 3.1.4

Solution

Upgrade to versions 2.18.8, 2.21.4, 3.1.4 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs

Source file

maven/com.fasterxml.jackson.core/jackson-databind/CVE-2026-54513.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:57 +0000.