CVE-2026-83557
jackson-databind omits java.lang.Comparable from DefaultBaseTypeLimitingValidator's unsafe base types
Also known as GHSA-gx83-3vf8-gh7j
Mitigation
- Upgrade tools.jackson.core:jackson-databind to one of 3.1.6, 3.2.2 (or later in the same release line).
- Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.18.10, 2.21.6, 2.22.2 (or later in the same release line).
- Vendor workaround: Configure an explicit restrictive PolymorphicTypeValidator rather than relying on the default validator, or avoid declaring java.lang.Comparable as the base type of an @JsonTypeInfo-annotated property or class. Narrowing the declared base type to an application-specific interface also removes the exposure.
Who should check
- Projects that depend on Maven package tools.jackson.core:jackson-databind (>= 3.0.0, < 3.1.6)
- Projects that depend on Maven package com.fasterxml.jackson.core:jackson-databind (>= 2.11.0, < 2.18.10)
- Anyone running FasterXML jackson-databind >= 2.11.0, < 2.18.10; >= 2.19.0, < 2.21.6; >= 2.22.0, < 2.22.2
- Anyone running FasterXML jackson-databind >= 3.0.0, < 3.1.6; >= 3.2.0, < 3.2.2
Vulnerability facts
- Affected
- tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.6; com.fasterxml.jackson.core:jackson-databind >= 2.11.0, < 2.18.10
- Fixed in
- 3.1.6, 3.2.2, 2.18.10, 2.21.6, 2.22.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.71% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- CWE
- CWE-502, CWE-915
- Modified
Description
DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator applied automatically whenever @JsonTypeInfo is used without an explicitly configured custom validator. It denies polymorphic resolution only for a fixed set of "unsafe base types", and its isSafeSubType method returns true unconditionally for every base type outside that set. java.lang.Comparable was absent from the list despite being implemented by a very large fraction of JDK and application classes, comparable in breadth to java.io.Serializable, which is on the list for that reason. An application declaring an @JsonTypeInfo-annotated property or class with Comparable as its base type, and no custom PolymorphicTypeValidator, will accept a type identifier for essentially any class implementing Comparable. This yields an attacker-controlled object instantiation primitive; a demonstrated case constructs a java.io.File for an arbitrary attacker-chosen path, which becomes path-traversal-adjacent if the application subsequently calls path-sensitive methods on the value. No class implementing Comparable has been identified that yields code execution through deserialization alone. Global Default Typing via activateDefaultTyping is not affected, because that method structurally requires an explicit PolymorphicTypeValidator argument. This affects com.fasterxml.jackson.core:jackson-databind from 2.11.0 before 2.18.10, from 2.19.0 before 2.21.6, and from 2.22.0 before 2.22.2, and tools.jackson.core:jackson-databind from 3.0.0 before 3.1.6 and from 3.2.0 before 3.2.2. Users should upgrade to 2.18.10, 2.21.6, 2.22.2, 3.1.6, or 3.2.2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven tools.jackson.core:jackson-databind | >= 3.0.0, < 3.1.6 | 3.1.6, 3.2.2 | osv |
| Maven com.fasterxml.jackson.core:jackson-databind | >= 2.11.0, < 2.18.10 | 2.18.10, 2.21.6, 2.22.2 | osv |
| FasterXML jackson-databind | >= 2.11.0, < 2.18.10; >= 2.19.0, < 2.21.6; >= 2.22.0, < 2.22.2 | — | cvelist |
| FasterXML jackson-databind | >= 3.0.0, < 3.1.6; >= 3.2.0, < 3.2.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-83557. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-83557.md Affected: tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.6; com.fasterxml.jackson.core:jackson-databind >= 2.11.0, < 2.18.10 Fixed in: 3.1.6, 3.2.2, 2.18.10, 2.21.6, 2.22.2 Steps: 1. Search this machine and project for tools.jackson.core:jackson-databind (Maven), com.fasterxml.jackson.core:jackson-databind (Maven), FasterXML jackson-databind: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/FasterXML/jackson-databind/issues/6156
- https://github.com/FasterXML/jackson-databind
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.10
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.6
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.2
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.6
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.2
FAQ
Is CVE-2026-83557 being exploited?
There is no confirmed exploitation: CVE-2026-83557 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.71% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-83557?
Medium: CVSS 5.6 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-83557?
tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.6; com.fasterxml.jackson.core:jackson-databind >= 2.11.0, < 2.18.10.
Is there a fix for CVE-2026-83557?
Yes. Fixed in 3.1.6, 3.2.2, 2.18.10, 2.21.6, 2.22.2. Upgrade tools.jackson.core:jackson-databind to one of 3.1.6, 3.2.2 (or later in the same release line). Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.18.10, 2.21.6, 2.22.2 (or later in the same release line). Vendor workaround: Configure an explicit restrictive PolymorphicTypeValidator rather than relying on the default validator, or avoid declaring java.lang.Comparable as the base type of an @JsonTypeInfo-annotated property or class. Narrowing the declared base type to an application-specific interface also removes the exposure.
How do I check if I'm affected by CVE-2026-83557?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.