# CVE-2026-54513: jackson-databind: Array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)

> Attackers can bypass polymorphic type validation in jackson-databind to execute arbitrary code via crafted array deserialization.

- **Severity:** High 8.1 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Jun 2026
- **Updated:** 14 Sep 2026
- **Also known as:** ALSA-2026:43218, CLEANSTART-2026-BJ10269, CLEANSTART-2026-ES07663, CLEANSTART-2026-HT58355, CLEANSTART-2026-KA63622, CLEANSTART-2026-MM99608, CLEANSTART-2026-NE99818, CLEANSTART-2026-NI99496, CLEANSTART-2026-OG12992, CLEANSTART-2026-QK55456, CLEANSTART-2026-WH10300, CLEANSTART-2026-WV08480, CLSA-2026-1784801122, CLSA-2026-1787889621, CLSA-2026-1793215052, CLSA-2026-1793215564, DEBIAN-CVE-2026-54513, ECHO-5950-3ca7-8a02, GHSA-rmj7-2vxq-3g9f, MINI-223f-4cjc-v933, MINI-22hm-mhvf-qcjm, MINI-286c-mx67-5pmc, MINI-2cmc-9qjv-q9p5, MINI-2fhp-28jg-29c5, MINI-2g34-6wm6-wq8h, MINI-2hmr-6hx5-v345, MINI-2vq3-v7hv-68p8, MINI-2wc2-w8qw-6fh9, MINI-2xxx-4rfh-3r8r, MINI-3238-c3qf-6xmm, MINI-36f7-4ffc-r82m, MINI-38w4-3j2p-v2jr, MINI-3gwp-rjvf-vj37, MINI-3m7j-vp37-hxxv, MINI-3px8-h494-f928, MINI-3r65-52x4-g69r, MINI-3rh4-6r39-wp66, MINI-429q-cmcc-h4q8, MINI-42wc-q6f2-7cpm, MINI-43q8-59f8-4m2m, MINI-4735-jg53-rh25, MINI-493h-jjw5-j4m5, MINI-4969-hrj7-grxm, MINI-49q2-gv2m-63q9, MINI-4fph-x236-w573, MINI-4q6q-h67q-fwg5, MINI-4w2q-8xf9-fqq4, MINI-5fww-9272-4c99, MINI-5r68-rqxc-6w4q, MINI-5w47-h6gx-34gx, MINI-5w52-mm76-wc79, MINI-62hr-xmjc-q7q2, MINI-63fq-xxg9-hrjp, MINI-652j-ghmq-3jwx, MINI-68jm-vc48-526q, MINI-6h78-w8w9-vm29, MINI-6vf8-9mm7-jr7q, MINI-73qw-vf5v-grvq, MINI-77hf-pg3f-hrj3, MINI-7hj6-fj7j-x7c9, MINI-7x74-gwh8-hmg7, MINI-82mg-xm3p-68jc, MINI-887x-wvvp-fcxp, MINI-8qh6-4f9x-2cqp, MINI-8w7x-wmp3-r7fc, MINI-924h-vr59-98r4, MINI-93j8-r458-4gvw, MINI-9665-v9gm-rppp, MINI-983q-gjc9-6jmj, MINI-98vj-m5q6-357f, MINI-9fmx-gx68-m882, MINI-9ph9-frf5-j5jj, MINI-9q56-x97f-wp22, MINI-9rg3-fxqf-9g3q, MINI-c2qg-45q2-9r57, MINI-c53m-5m95-6r43, MINI-c64g-gxpx-v2c5, MINI-c9w7-qrgx-72m9, MINI-cgr2-69mf-g734, MINI-cjr3-jj73-c6mm, MINI-cp45-mgmj-5m2w, MINI-cq9j-wfm6-rm48, MINI-crgv-m229-rmqj, MINI-cv9r-278j-f9hj, MINI-cvp7-rrm4-p986, MINI-cw4q-m3g4-8h56, MINI-f489-rpqr-pw9x, MINI-f6gf-7qgx-7rf4, MINI-f7cg-6r62-w2rm, MINI-f7fv-9jqf-xv2q, MINI-f97v-5573-m7wm, MINI-f9h7-8fw7-r665, MINI-fgrp-94g6-qwhp, MINI-fhq5-jmvg-p4j8, MINI-fpjv-wx3j-v8vj, MINI-fr4c-p74v-p6p5, MINI-fwrq-pg27-8273, MINI-fxwg-2m77-f9h9, MINI-g26f-qmwc-3cph, MINI-g53m-x3r8-m8qq, MINI-g8m6-v9xx-8wrq, MINI-gfvx-xv6j-4pj9, MINI-gxp5-pxm7-gw9v, MINI-h282-ghcf-vpxj, MINI-h2fw-jvh8-pjhg, MINI-h62g-jp32-cm8w, MINI-h7hq-jmch-8v87, MINI-hgr9-x2c8-47rw, MINI-hj2c-fjj8-rj2h, MINI-hj6f-9gjr-w3hm, MINI-hj7x-fp2x-pgmc, MINI-hq74-pxj9-ghhq, MINI-hr4w-vmrr-cf8r, MINI-hr8x-c3fj-hwgc, MINI-hw9g-r4rw-xhf3, MINI-hwxc-792r-7r7x, MINI-hxhc-vxw4-538v, MINI-j4qj-8xg8-4jhv, MINI-j623-j75w-r3r4, MINI-j668-xgfg-62g6, MINI-j8gv-2588-3fp6, MINI-j95v-q979-7w2p, MINI-jfg3-r4wf-6hc2, MINI-jjx8-4jp9-84m9, MINI-jr34-g2ff-6xf6, MINI-jwc6-34jj-wvp2, MINI-jwxw-j396-7rx8, MINI-jx56-89r8-p2qr, MINI-m646-79m6-ff5q, MINI-m6px-q326-f3cp, MINI-m8c3-pcxp-43px, MINI-m8w8-8qh2-h65g, MINI-m948-rm3f-4m7j, MINI-m98g-6vc7-wvmp, MINI-mm52-hccf-6qc6, MINI-mrg7-vcwg-wh87, MINI-mwc2-7j3q-xr2c, MINI-p3ch-3w7f-4rc9, MINI-p3mp-j65g-j3h9, MINI-p3xf-c38c-qf72, MINI-p5fc-4h98-3v5g, MINI-pgj9-grj5-w3vj, MINI-phj7-gr4p-2gv7, MINI-pj4x-2wpp-wfp2, MINI-pjhf-2r46-9pg2, MINI-ppmf-m97j-2g3h, MINI-pqc5-5q69-8g3h, MINI-pxmv-rf48-4m49, MINI-q3mf-pxjf-h6pj, MINI-q4g8-2qrw-97mv, MINI-q4w7-mfcq-2cwf, MINI-q69c-3vxg-3m33, MINI-q6gg-pfc2-c773, MINI-q8fj-cf2h-4j27, MINI-qcxx-6vg9-58fc, MINI-qf4q-w985-94mm, MINI-qjjh-j2p4-wm52, MINI-qpjx-wf9j-xv2m, MINI-qqhw-538v-fcfv, MINI-qxq4-vf2p-cmvf, MINI-r289-7mcv-62rp, MINI-r3p9-6663-36xh, MINI-r6w6-9f7j-qvfc, MINI-rh9v-6w3m-rxwv, MINI-rw8r-4hxj-xvg2, MINI-v2gc-c328-pv6j, MINI-v4p3-rhrv-xxx7, MINI-v7jh-7mh8-c6rv, MINI-v9m8-x67r-7638, MINI-vhg8-vhhf-29jr, MINI-vpxp-7xgm-9vwh, MINI-vq3x-vx25-rv39, MINI-w6rq-c39q-26xh, MINI-w6w7-r774-v362, MINI-w92f-hg63-rwrj, MINI-wj72-9576-7vvc, MINI-wpgf-hxmc-3vx5, MINI-wr5v-r4pj-rxf7, MINI-wrp6-c4m7-93x4, MINI-x33f-28x9-qc56, MINI-x587-r445-pfjp, MINI-x733-r455-2pf9, MINI-x8j3-7v49-64p8, MINI-x94p-5pq6-9749, MINI-xfc9-rp4g-hq22, MINI-xhfr-888q-vg8r, MINI-xhh7-p8wf-pjmf, MINI-xjqf-vrfp-649w, MINI-xm9m-ggjf-c8jw, MINI-xxfc-8w6q-m4cc, RHSA-2026:43218, RLSA-2026:43218, ROOT-APP-MAVEN-CVE-2026-54513, UBUNTU-CVE-2026-54513

## What is CVE-2026-54513?

CVE-2026-54513 is a high-severity unsafe deserialization vulnerability in Fasterxml Jackson-Databind, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official 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.

Weakness: CWE-184 (Incomplete List of Disallowed Inputs)

## Which versions are affected by CVE-2026-54513?

8 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind and tools.jackson.core:jackson-databind. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `com.fasterxml.jackson.core:jackson-databind` | Maven | From 2.10.0 | 2.18.8 |
| `com.fasterxml.jackson.core:jackson-databind` | Maven | From 2.10.0 | 2.18.8 |
| `com.fasterxml.jackson.core:jackson-databind` | Maven | From 2.19.0 | 2.21.4 |
| `com.fasterxml.jackson.core:jackson-databind` | Maven | From 2.19.0 | 2.21.4 |
| `com.fasterxml.jackson.core:jackson-databind` | Maven | From 3.0.0 | 3.1.4 |
| `com.fasterxml.jackson.core:jackson-databind` | Maven | From 3.0.0 | 3.1.4 |
| `tools.jackson.core:jackson-databind` | Maven | From 3.0.0 | 3.1.4 |
| `tools.jackson.core:jackson-databind` | Maven | From 3.0.0 | 3.1.4 |
| `apache-commons-collections` | AlmaLinux:8 | All versions | 3.2.2-10.module_el8.5.0+2577+9e95fe00 |
| `apache-commons-lang` | AlmaLinux:8 | All versions | 2.6-21.module_el8.5.0+2577+9e95fe00 |
| `apache-commons-net` | AlmaLinux:8 | All versions | 3.6-3.module_el8.5.0+2577+9e95fe00 |
| `bea-stax-api` | AlmaLinux:8 | All versions | 1.2.0-16.module_el8.5.0+2577+9e95fe00 |
| `glassfish-fastinfoset` | AlmaLinux:8 | All versions | 1.2.13-9.module_el8.5.0+2577+9e95fe00 |
| `glassfish-jaxb-api` | AlmaLinux:8 | All versions | 2.2.12-8.module_el8.5.0+2577+9e95fe00 |
| `glassfish-jaxb-core` | AlmaLinux:8 | All versions | 2.2.11-12.module_el8.10.0+3791+e0637953 |
| `glassfish-jaxb-runtime` | AlmaLinux:8 | All versions | 2.2.11-12.module_el8.10.0+3791+e0637953 |
| `glassfish-jaxb-txw2` | AlmaLinux:8 | All versions | 2.2.11-12.module_el8.10.0+3791+e0637953 |
| `jackson-annotations` | AlmaLinux:8 | All versions | 2.21-1.module_el8.10.0+4235+0924958e |
| `jackson-core` | AlmaLinux:8 | All versions | 2.21.4-1.module_el8.10.0+4235+0924958e |
| `jackson-databind` | AlmaLinux:8 | All versions | 2.21.4-1.module_el8.10.0+4235+0924958e |
| `jackson-jaxrs-json-provider` | AlmaLinux:8 | All versions | 2.21.4-1.module_el8.10.0+4235+0924958e |
| `jackson-jaxrs-providers` | AlmaLinux:8 | All versions | 2.21.4-1.module_el8.10.0+4235+0924958e |
| `jackson-module-jaxb-annotations` | AlmaLinux:8 | All versions | 2.21.4-2.module_el8.10.0+4235+0924958e |
| `jakarta-commons-httpclient` | AlmaLinux:8 | All versions | 1:3.1-28.module_el8.5.0+2577+9e95fe00 |
| `javassist` | AlmaLinux:8 | All versions | 3.18.1-8.module_el8.5.0+2577+9e95fe00 |
| `javassist-javadoc` | AlmaLinux:8 | All versions | 3.18.1-8.module_el8.5.0+2577+9e95fe00 |
| `pki-servlet-engine` | AlmaLinux:8 | All versions | 1:9.0.62-1.module_el8.10.0+3791+e0637953 |
| `relaxngDatatype` | AlmaLinux:8 | All versions | 2011.1-7.module_el8.5.0+2577+9e95fe00 |
| `slf4j` | AlmaLinux:8 | All versions | 1.7.25-4.module_el8.5.0+2577+9e95fe00 |
| `slf4j-jdk14` | AlmaLinux:8 | All versions | 1.7.25-4.module_el8.5.0+2577+9e95fe00 |
| `stax-ex` | AlmaLinux:8 | All versions | 1.7.7-8.module_el8.5.0+2577+9e95fe00 |
| `velocity` | AlmaLinux:8 | All versions | 1.7-24.module_el8.5.0+2577+9e95fe00 |
| `xalan-j2` | AlmaLinux:8 | All versions | 2.7.1-38.module_el8.5.0+2577+9e95fe00 |
| `xerces-j2` | AlmaLinux:8 | All versions | 2.11.0-34.module_el8.5.0+2577+9e95fe00 |
| `xml-commons-apis` | AlmaLinux:8 | All versions | 1.4.01-25.module_el8.5.0+2577+9e95fe00 |
| `xml-commons-resolver` | AlmaLinux:8 | All versions | 1.2-26.module_el8.5.0+2577+9e95fe00 |
| `xmlstreambuffer` | AlmaLinux:8 | All versions | 1.5.4-8.module_el8.5.0+2577+9e95fe00 |
| `xsom` | AlmaLinux:8 | All versions | 0-19.20110809svn.module_el8.5.0+2577+9e95fe00 |
| `apache-commons-collections` | Red Hat:enterprise_linux:8::appstream | All versions | 0:3.2.2-10.module+el8.10.0+20993+d0f024b0 |
| `apache-commons-lang` | Red Hat:enterprise_linux:8::appstream | All versions | 0:2.6-21.module+el8.10.0+20993+d0f024b0 |

Products: Fasterxml Jackson-Databind.

## How do I fix CVE-2026-54513?

Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.18.8, 2.21.4 or 3.1.4.

## Is CVE-2026-54513 being exploited?

There is no known exploitation of CVE-2026-54513 in the wild and no public exploit code.

## Other vulnerabilities in Fasterxml Jackson-Databind

- [CVE-2018-11307](https://insights.sbomify.com/CVE-2018-11307/): Deserialization of Untrusted Data in jackson-databind (critical 9.8)
- [CVE-2026-54512](https://insights.sbomify.com/CVE-2026-54512/): jackson-databind: PolymorphicTypeValidator bypass via generic type parameters allows arbitrary class instantiation (high 8.1)
- [CVE-2020-14060](https://insights.sbomify.com/CVE-2020-14060/): Deserialization of untrusted data in Jackson Databind (high 8.1)
- [CVE-2021-46877](https://insights.sbomify.com/CVE-2021-46877/): jackson-databind possible Denial of Service if using JDK serialization to serialize JsonNode (high 7.5)
- [CVE-2019-14893](https://insights.sbomify.com/CVE-2019-14893/): Polymorphic deserialization of malicious object in jackson-databind (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-54513 and fix it if it is affected.

What it is: CVE-2026-54513 is a high-severity unsafe deserialization vulnerability in Fasterxml Jackson-Databind, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-54513 in the wild and no public exploit code.

Affected packages and fixed versions:
- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.10.0; fixed in 2.18.8
- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.10.0; fixed in 2.18.8
- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.19.0; fixed in 2.21.4
- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.19.0; fixed in 2.21.4
- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 3.0.0; fixed in 3.1.4
- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 3.0.0; fixed in 3.1.4
- tools.jackson.core:jackson-databind (Maven): affected from 3.0.0; fixed in 3.1.4
- tools.jackson.core:jackson-databind (Maven): affected from 3.0.0; fixed in 3.1.4

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-54513/ (Markdown: https://insights.sbomify.com/CVE-2026-54513/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-54513
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-54513
- OSV: https://osv.dev/vulnerability/CVE-2026-54513

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-54513/
Summaries are generated and may contain mistakes; the official description above is the record.
