CVE-2026-54513: CWE-184: Incomplete List of Disallowed Inputs in FasterXML jackson-databind
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.
AI Analysis
Technical Summary
jackson-databind's BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() method allows any array type based solely on clazz.isArray(), without validating the array's component type against the allowlist. Consequently, even when an explicit concrete-type allowlist is configured, unallowlisted component types can be deserialized if they appear as array elements without per-element type IDs. This bypasses intended type validation controls and enables arbitrary code execution. The vulnerability affects versions >=2.10.0 and <2.18.8, <2.21.4, and <3.1.4. It is fixed in versions 2.18.8, 2.21.4, and 3.1.4. The flaw impacts confidentiality, integrity, and availability by permitting execution of malicious code through crafted input deserialized by jackson-databind.
Potential Impact
An attacker can bypass security controls designed to validate data types during deserialization, leading to arbitrary code execution. This results in a complete compromise of the affected system's confidentiality, integrity, and availability. The vulnerability affects applications using jackson-databind with the vulnerable configuration and versions, potentially allowing remote code execution without authentication or user interaction.
Mitigation Recommendations
Upgrade jackson-databind to version 2.18.8, 2.21.4, or 3.1.4 or later to address this vulnerability. If upgrading immediately is not possible, remove BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() from the ObjectMapper configuration, then rebuild and restart the application. Additionally, disable polymorphic deserialization of untrusted data where possible by avoiding default typing features such as activateDefaultTyping() or enableDefaultTyping(). When polymorphic deserialization is required, restrict allowed subtypes using a strict whitelist of trusted packages and avoid broad or permissive type validation rules.
CVE-2026-54513: CWE-184: Incomplete List of Disallowed Inputs in FasterXML jackson-databind
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.
CVSS v3.1
Score 8.1high
Affected software
FasterXML
jackson-databind
pkg:maven/com.fasterxml.jackson.core/jackson-databindRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
jackson-databind's BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() method allows any array type based solely on clazz.isArray(), without validating the array's component type against the allowlist. Consequently, even when an explicit concrete-type allowlist is configured, unallowlisted component types can be deserialized if they appear as array elements without per-element type IDs. This bypasses intended type validation controls and enables arbitrary code execution. The vulnerability affects versions >=2.10.0 and <2.18.8, <2.21.4, and <3.1.4. It is fixed in versions 2.18.8, 2.21.4, and 3.1.4. The flaw impacts confidentiality, integrity, and availability by permitting execution of malicious code through crafted input deserialized by jackson-databind.
Potential Impact
An attacker can bypass security controls designed to validate data types during deserialization, leading to arbitrary code execution. This results in a complete compromise of the affected system's confidentiality, integrity, and availability. The vulnerability affects applications using jackson-databind with the vulnerable configuration and versions, potentially allowing remote code execution without authentication or user interaction.
Mitigation Recommendations
Upgrade jackson-databind to version 2.18.8, 2.21.4, or 3.1.4 or later to address this vulnerability. If upgrading immediately is not possible, remove BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() from the ObjectMapper configuration, then rebuild and restart the application. Additionally, disable polymorphic deserialization of untrusted data where possible by avoiding default typing features such as activateDefaultTyping() or enableDefaultTyping(). When polymorphic deserialization is required, restrict allowed subtypes using a strict whitelist of trusted packages and avoid broad or permissive type validation rules.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T18:01:15.514Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-54513","vendor":"Red Hat"}]
Threat ID: 6a3af602eed863c81e9ec62d
Added to database: 06/23/2026, 21:09:22 UTC
Last enriched: 08/15/2026, 14:23:52 UTC
Last updated: 09/22/2026, 13:47:46 UTC
Views: 344
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.