CVE-2026-83557jackson-databind omits java.lang.Comparable from DefaultBaseTypeLimitingValidator's…
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jackson-databind | Fix pending | UBUNTU-CVE-2026-83557 | |
| Ubuntu 26.04 | jackson-databind | Under investigation | UBUNTU-CVE-2026-83557 | |
| Ubuntu 24.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-83557 | |
| Ubuntu 22.04 | jackson-databind | Under investigation | UBUNTU-CVE-2026-83557 | |
| Ubuntu 20.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-83557 | |
| Ubuntu 18.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-83557 | |
| Ubuntu 16.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-83557 | |
| Ubuntu 14.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-83557 | |
| Debian 14 | jackson-databind | Fixed | 2.18.11-1 | DEBIAN-CVE-2026-83557 |
| Debian 13 | jackson-databind | Fix pending | DEBIAN-CVE-2026-83557 | |
| Debian 12 | jackson-databind | Fix pending | DEBIAN-CVE-2026-83557 | |
| Red Hat Enterprise Linux 10 | assertj-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | assertj-core-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | dogtag-pki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | idm-pki-acme | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | idm-pki-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | idm-pki-ca | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | idm-pki-java | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | idm-pki-kra | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | idm-pki-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | idm-pki-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librados-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librados2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libradospp-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librbd-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librbd1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-idm-pki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | assertj-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-acme | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-ca | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-est | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-java | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-kra | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | idm-pki-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jackson-databind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-acme | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-base-java | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-ca | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-jackson-databind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-kra | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-symkey | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pki-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-idm-pki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-pki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-jss | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-jss-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-acme | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-base-java | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-ca | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-kra | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-symkey | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-pki-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | idm-tomcatjss | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-databind | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jackson-databind-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jss | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | jss-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | ldapjdk | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | ldapjdk-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-acme | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-base-java | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-ca | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-kra | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-symkey | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pki-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-idm-pki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-pki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | resteasy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | resteasy-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | tomcatjss | Fix pending Fix deferred | ||
| Maven library | com.fasterxml.jackson.core:jackson-databind | Fixed | 2.21.6 | GHSA-gx83-3vf8-gh7j |
| Maven library | tools.jackson.core:jackson-databind | Fixed | 3.2.2 | GHSA-gx83-3vf8-gh7j |
What the vendor says
As published in the CVE record by HeroDevs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FasterXML jackson-databind: affected: 2.11.0 to before 2.18.10, 2.19.0 to before 2.21.6, 2.22.0 to before 2.22.2; fixed in
2.18.10,2.21.6,2.22.2 - FasterXML jackson-databind: affected: 3.0.0 to before 3.1.6, 3.2.0 to before 3.2.2; fixed in
3.1.6,3.2.2
Solution: Upgrade to jackson-databind 2.18.10, 2.21.6, 2.22.2 (com.fasterxml.jackson.core) or 3.1.6, 3.2.2 (tools.jackson.core). The fix adds java.lang.Comparable to the UnsafeBaseTypes denylist in DefaultBaseTypeLimitingValidator, so polymorphic resolution against a Comparable base type is denied outright. Applications that legitimately need polymorphic handling of a Comparable-typed property must configure an explicit PolymorphicTypeValidator, for example a BasicPolymorphicTypeValidator with an allow-list of permitted subtypes.
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.
Vendor advisories:
- https://github.com/FasterXML/jackson-databind/pull/6155 (patch)
- https://github.com/FasterXML/jackson-databind/commit/eb3b7fc0f9c0d27f471550ac3316b17d1987… (patch)
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-gx83-3vf8-gh7j
- https://github.com/FasterXML/jackson-databind/pull/6155
- https://github.com/FasterXML/jackson-databind/issues/6156
- https://github.com/FasterXML/jackson-databind/commit/eb3b7fc0f9c0d27f471550ac3316b17d1987388f
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.