PT-2026-84291 · Fasterxml · Jackson-Databind

·

CVE-2026-83557

·

Published

2026-09-01

·

Updated

2026-09-02

CVSS v3.1

5.6

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions com.fasterxml.jackson.core:jackson-databind versions 2.11.0 through 2.18.9 com.fasterxml.jackson.core:jackson-databind versions 2.19.0 through 2.21.5 com.fasterxml.jackson.core:jackson-databind versions 2.22.0 through 2.22.1 tools.jackson.core:jackson-databind versions 3.0.0 through 3.1.5 tools.jackson.core:jackson-databind versions 3.2.0 through 3.2.1
Description The DefaultBaseTypeLimitingValidator (the PolymorphicTypeValidator used automatically with @JsonTypeInfo when no custom validator is configured) fails to include java.lang.Comparable in its list of unsafe base types. Consequently, the isSafeSubType() function returns true for any class implementing Comparable. If an application uses @JsonTypeInfo with Comparable as the base type without a custom validator, it allows an attacker to instantiate nearly any class that implements Comparable. This can be used to create objects such as java.io.File with attacker-specified paths, potentially leading to path traversal if the application later invokes path-sensitive methods on the object. This issue does not affect global default typing via activateDefaultTyping() as that method requires an explicit validator.
Recommendations Update com.fasterxml.jackson.core:jackson-databind versions 2.11.0 through 2.18.9 to 2.18.10. Update com.fasterxml.jackson.core:jackson-databind versions 2.19.0 through 2.21.5 to 2.21.6. Update com.fasterxml.jackson.core:jackson-databind versions 2.22.0 through 2.22.1 to 2.22.2. Update tools.jackson.core:jackson-databind versions 3.0.0 through 3.1.5 to 3.1.6. Update tools.jackson.core:jackson-databind versions 3.2.0 through 3.2.1 to 3.2.2. As a temporary mitigation, configure a custom PolymorphicTypeValidator instead of relying on the default validator when using @JsonTypeInfo.

Exploit

Fix

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-83557
GHSA-GX83-3VF8-GH7J

Affected Products

Jackson-Databind