CVE-2026-54513: CWE-184: Incomplete List of Disallowed Inputs in FasterXML jackson-databind
CVE-2026-54513 is a high-severity vulnerability in the jackson-databind library that allows bypassing type validation during deserialization. The flaw exists in BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray(), which permits any array type based solely on the array nature without validating the component type. This can lead to deserialization of unallowlisted types, potentially enabling arbitrary code execution. The vulnerability affects jackson-databind versions from 2.10.0 up to but not including 2.18.8, 2.21.4, and 3.1.4. A fix is available in these versions. Mitigations include upgrading to fixed versions or removing the vulnerable configuration from ObjectMapper. Additional recommendations include disabling polymorphic deserialization of untrusted data or restricting allowed subtypes with strict whitelists.
AI Analysis
Technical Summary
The vulnerability in jackson-databind arises from insufficient validation of array component types in BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray(). This method allowlists any array type based on clazz.isArray() without checking the component element type against the allowlist. Consequently, even when a strict allowlist is configured, arrays of unallowlisted types (e.g., EvilType[]) can be deserialized. During deserialization, if no per-element type IDs are present, the component type is instantiated directly, bypassing further validation. This flaw enables attackers to bypass security controls and potentially execute arbitrary code. The issue is fixed in versions 2.18.8, 2.21.4, and 3.1.4 of jackson-databind. The Red Hat advisory confirms the impact and provides mitigation guidance, including upgrading or removing the vulnerable configuration. The CVSS v3.1 score is 8.1 (High), reflecting network attack vector, high complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to bypass type validation during deserialization, leading to arbitrary code execution. This compromises the confidentiality, integrity, and availability of affected systems using jackson-databind with the vulnerable configuration. The vulnerability affects applications that use polymorphic deserialization with BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray(), potentially resulting in complete system compromise.
Mitigation Recommendations
A fix is available in jackson-databind versions 2.18.8, 2.21.4, and 3.1.4 or later. Users should upgrade to these versions to address the vulnerability. If upgrading is not immediately possible, remove BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() from the ObjectMapper configuration 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 necessary, restrict allowed subtypes using a strict whitelist of trusted packages and avoid broad or permissive validation rules.
CVE-2026-54513: CWE-184: Incomplete List of Disallowed Inputs in FasterXML jackson-databind
Description
CVE-2026-54513 is a high-severity vulnerability in the jackson-databind library that allows bypassing type validation during deserialization. The flaw exists in BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray(), which permits any array type based solely on the array nature without validating the component type. This can lead to deserialization of unallowlisted types, potentially enabling arbitrary code execution. The vulnerability affects jackson-databind versions from 2.10.0 up to but not including 2.18.8, 2.21.4, and 3.1.4. A fix is available in these versions. Mitigations include upgrading to fixed versions or removing the vulnerable configuration from ObjectMapper. Additional recommendations include disabling polymorphic deserialization of untrusted data or restricting allowed subtypes with strict whitelists.
CVSS v3.1
Score 8.1high
Affected software
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
The vulnerability in jackson-databind arises from insufficient validation of array component types in BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray(). This method allowlists any array type based on clazz.isArray() without checking the component element type against the allowlist. Consequently, even when a strict allowlist is configured, arrays of unallowlisted types (e.g., EvilType[]) can be deserialized. During deserialization, if no per-element type IDs are present, the component type is instantiated directly, bypassing further validation. This flaw enables attackers to bypass security controls and potentially execute arbitrary code. The issue is fixed in versions 2.18.8, 2.21.4, and 3.1.4 of jackson-databind. The Red Hat advisory confirms the impact and provides mitigation guidance, including upgrading or removing the vulnerable configuration. The CVSS v3.1 score is 8.1 (High), reflecting network attack vector, high complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to bypass type validation during deserialization, leading to arbitrary code execution. This compromises the confidentiality, integrity, and availability of affected systems using jackson-databind with the vulnerable configuration. The vulnerability affects applications that use polymorphic deserialization with BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray(), potentially resulting in complete system compromise.
Mitigation Recommendations
A fix is available in jackson-databind versions 2.18.8, 2.21.4, and 3.1.4 or later. Users should upgrade to these versions to address the vulnerability. If upgrading is not immediately possible, remove BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() from the ObjectMapper configuration 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 necessary, restrict allowed subtypes using a strict whitelist of trusted packages and avoid broad or permissive 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
- Remediation Level
- null
- 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/07/2026, 13:41:18 UTC
Last updated: 08/07/2026, 13:41:18 UTC
Views: 233
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.