# CVE-2026-83557: jackson-databind omits java.lang.Comparable from DefaultBaseTypeLimitingValidator's unsafe base types

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.6
- **CVSS:** 5.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.71% (percentile 49, 2026-11-28)
- **CWE:** CWE-502, CWE-915
- **Aliases:** GHSA-gx83-3vf8-gh7j
- **Published:** 2026-09-01T14:57:01.340Z
- **Modified:** 2026-09-28T21:00:05.608Z

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

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

- Maven `tools.jackson.core:jackson-databind`: affected \>= 3.0.0, \< 3.1.6; fixed 3.1.6, 3.2.2 (osv)
- Maven `com.fasterxml.jackson.core:jackson-databind`: affected \>= 2.11.0, \< 2.18.10; fixed 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)

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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

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

## References

- vendor: <https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-gx83-3vf8-gh7j>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-83557>
- patch: <https://github.com/FasterXML/jackson-databind/pull/6155>
- patch: <https://github.com/FasterXML/jackson-databind/commit/eb3b7fc0f9c0d27f471550ac3316b17d1987388f>
- other: <https://github.com/FasterXML/jackson-databind/issues/6156>
- other: <https://github.com/FasterXML/jackson-databind>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.10>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.6>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.2>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.6>
- other: <https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-83557>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gx83-3vf8-gh7j> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-83557> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-83557>
