Maven: com.fasterxml.jackson.core:jackson-databind
CVE-2026-83557
Safety vulnerability ID: SFTY-20260901-46895
Affected versions of the `com.fasterxml.jackson.core:jackson-databind` package are vulnerable to Deserialization of Untrusted Data due to an incomplete denylist in the default polymorphic type validator. The `DefaultBaseTypeLimitingValidator`, which is automatically applied when `@JsonTypeInfo` is used without a specified `PolymorphicTypeValidator`, fails to deny polymorphic resolution for the `java.lang.Comparable` type, allowing its `isSafeSubType` method to return true for subtypes of this widely implemented interface. An attacker who controls the type identifier of a `Comparable`-typed property annotated with `@JsonTypeInfo` can exploit this vulnerability to instantiate any class implementing `Comparable`, such as constructing a `java.io.File` object, enabling potential path traversal attacks when the application invokes path-sensitive methods on the object.
Overview
jackson-databind: Comparable missing from DefaultBaseTypeLimitingValidator's unsafe base types (incomplete PolymorphicTypeValidator denylist)
Advisory
com.fasterxml.jackson.core:jackson-databind – Deserialization of Untrusted Data
Affected Package
Also affects
---
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20260901-46895/CVE-2026-83557
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-gx83-3vf8-gh7j
- https://nvd.nist.gov/vuln/detail/CVE-2026-83557
- https://github.com/FasterXML/jackson-databind/issues/6156
- https://github.com/FasterXML/jackson-databind/pull/6155
- https://github.com/FasterXML/jackson-databind/commit/eb3b7fc0f9c0d27f471550ac3316b17d1987388f
- 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
- https://github.com/advisories/GHSA-gx83-3vf8-gh7j
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more