p PatchFirst

CVE-2026-110879

CVE-2026-110879 · jackson-databind: PolymorphicTypeValidator bypass via generic type arguments and array element types allows arbitrary class instantiation (incomplete fix for CVE-2026-54512)

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

jackson-databind validates the outer class of a class-name type ID but accepts attacker-selected classes inside its generic arguments, even when those classes violate the declared type or would be rejected as direct type IDs. This bypasses the generic-argument validation added for CVE-2026-54512 (GHSA-j3rv-43j4-c7qm), of which this is an incomplete fix. DatabindContext._resolveAndValidateGeneric() checks the outer class against the declared base type and then passes each argument from the type ID to _validateTypeParameter(), which validates the argument against the outer base type rather than enforcing its corresponding declared generic binding. It also invokes validators with arguments that have not passed the subtype check those validators expect. Under the default DefaultBaseTypeLimitingValidator this accepts an unrelated class inside a generic subtype even when the same class is rejected as a direct type ID. Where an allowIfBaseType(...) rule approves the outer type, Jackson substitutes LaissezFaireSubTypeValidator, so the configured validator no longer restricts the embedded arguments. The element type of a plain array type ID such as [Lpkg.Gadget; is likewise left unvalidated once the array's base type is approved. Affected paths include annotation-based class-name polymorphism with a default Jackson 3.x JsonMapper, configured default typing in both Jackson 2.x and 3.x, and integrations that expose that default typing. The default-validator case requires no application-authored validator: with @JsonTypeInfo(use = Id.CLASS), a direct gadget type ID is rejected as "Not a subtype", while a type ID naming a generic wrapper around the same gadget is accepted and deserialized, including attacker-supplied bean properties. Where class-name default typing permits Map, a property declared as Map<String,String> accepts HashMap<FileSystemXmlApplicationContext,String>; map-key discovery then passes the attacker-controlled JSON property name to the selected class's one-string constructor. With Spring on the classpath and attacker-controlled XML the application can load, that constructor loads the XML and invokes ProcessBuilder.start() under the application account, giving arbitrary command execution. This issue affects com.fasterxml.jackson.core:jackson-databind from 2.10.0 and tools.jackson.core:jackson-databind from 3.0.0. Releases before 2.10.0 are not affected, because PolymorphicTypeValidator was introduced in jackson-databind 2.10.0.

CVSS 9.8 · Critique · EPSS 1,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • jackson-databind

    Versions du logiciel
    • ≥ 2.10.0, < 2.18.12: Concernée (maven)
    • 2.18.12: Non concernée (maven)
    • ≥ 2.19.0, < 2.21.8: Concernée (maven)
    • 2.21.8: Non concernée (maven)
    • ≥ 2.22.0, < 2.22.4: Concernée (maven)
    • 2.22.4: Non concernée (maven)

    Mettez à jour vers 2.18.12; Mettez à jour vers 2.21.8; Mettez à jour vers 2.22.4

  • jackson-databind

    Versions du logiciel
    • ≥ 3.0.0, < 3.1.8: Concernée (maven)
    • 3.1.8: Non concernée (maven)
    • ≥ 3.2.0, < 3.2.4: Concernée (maven)
    • 3.2.4: Non concernée (maven)

    Mettez à jour vers 3.1.8; Mettez à jour vers 3.2.4

  • jackson-databind Debian:12

    Versions du logiciel
    • 2.14.0+ds-1
    • 2.14.0+ds-2
    • 2.14.0+ds-3
    • 2.14.0-1
    • 2.14.0-1+deb12u1
    • 2.18.11-1
    • 2.22.4-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Debian:14

    Versions du logiciel
    • 2.14.0+ds-1
    • 2.14.0+ds-2
    • 2.14.0+ds-3
    • 2.18.11-1
    Plages de versions concernées
    • ECOSYSTEM: < 2.22.4-1

    Mettez à jour vers 2.22.4-1

  • jackson-databind Ubuntu:Pro:14.04:LTS

    Versions du logiciel
    • 2.2.2-1
    • 2.2.2-1ubuntu0.1~esm1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Ubuntu:Pro:16.04:LTS

    Versions du logiciel
    • 2.4.2-2
    • 2.4.2-3
    • 2.4.2-3ubuntu0.1~esm1
    • 2.4.2-3ubuntu0.1~esm2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Ubuntu:18.04:LTS

    Versions du logiciel
    • 2.8.6-1
    • 2.9.1-1
    • 2.9.4-1
    • 2.9.5-1
    • 2.9.8-1~18.04
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Ubuntu:20.04:LTS

    Versions du logiciel
    • 2.9.9.3-1
    • 2.10.0-2
    • 2.10.1-1
    • 2.10.2-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Ubuntu:22.04:LTS

    Versions du logiciel
    • 2.12.1-1
    • 2.12.5-1
    • 2.13.0-1
    • 2.13.0-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Ubuntu:24.04:LTS

    Versions du logiciel
    • 2.14.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Ubuntu:26.10

    Versions du logiciel
    • 2.14.0+ds-1build1
    • 2.14.0+ds-2
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • jackson-databind Ubuntu:26.04:LTS

    Versions du logiciel
    • 2.14.0+ds-1
    • 2.14.0+ds-1build1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →