CVE-2026-83557

jackson-databind omits java.lang.Comparable from DefaultBaseTypeLimitingValidator's unsafe base types

5.6 medium EPSS 0.72%

Published 1 Sep 2026 Updated 1 Sep 2026 CNA: HeroDevs

Check your servers for CVE-2026-83557

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-83557 affects jackson-databind, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.6 medium CVSS 3.1 from HeroDevs (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.72%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 1 Sep 2026):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-502 Deserialization of Untrusted Data
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

Affected products

As the CNA lists them.

ProductVersions
jackson-databind
package com.fasterxml.jackson.core:jackson-databind
affected from 2.11.0, before 2.18.10
affected from 2.19.0, before 2.21.6
affected from 2.22.0, before 2.22.2
Other versions: unaffected
jackson-databind
package tools.jackson.core:jackson-databind
affected from 3.0.0, before 3.1.6
affected from 3.2.0, before 3.2.2
Other versions: unaffected

Is my server affected?

Find the installed version of jackson-databind and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i jackson-databind
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-83557 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-83557

RHEL, Rocky, Alma, Fedora

rpm -q jackson-databind
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-83557

Alpine

apk list --installed | grep -i jackson-databind

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-83557
trivy image --scanners vuln IMAGE | grep CVE-2026-83557

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Patches and release notes

Exploits and proof of concept

Other references

Source: the record CVE-2026-83557 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.