Skip to content

CVE-2026-54512 (High) detected in multiple libraries #1570

Description

@mend-bolt-for-github

CVE-2026-54512 - High Severity Vulnerability

Vulnerable Libraries - jackson-databind-2.12.4.jar, jackson-databind-2.19.0.jar, jackson-databind-2.17.1.jar, jackson-databind-2.21.2.jar, jackson-databind-2.21.0.jar, jackson-databind-2.12.7.jar, jackson-databind-2.13.2.2.jar

jackson-databind-2.12.4.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://fasterxml.com/

Path to dependency file: /OPENAPI-REST-API/swagger-client/micronaut/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.4/jackson-databind-2.12.4.jar

Dependency Hierarchy:

  • micronaut-http-client-3.0.0.jar (Root Library)
    • micronaut-runtime-3.0.0.jar
      • jackson-databind-2.12.4.jar (Vulnerable Library)
jackson-databind-2.19.0.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: https://github.com/FasterXML/jackson

Path to dependency file: /OPENAPI-REST-API/swagger-client/inflector/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.19.0/jackson-databind-2.19.0.jar

Dependency Hierarchy:

  • swagger-inflector-2.0.14.jar (Root Library)
    • swagger-jaxrs2-2.2.35.jar
      • jackson-databind-2.19.0.jar (Vulnerable Library)
jackson-databind-2.17.1.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://fasterxml.com/

Path to dependency file: /OPENAPI-REST-API/openapi-client/jaxrs-cxf-client/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.17.1/jackson-databind-2.17.1.jar

Dependency Hierarchy:

  • swagger-jaxrs-1.6.6.jar (Root Library)
    • jackson-databind-2.17.1.jar (Vulnerable Library)
jackson-databind-2.21.2.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: https://github.com/FasterXML/jackson

Path to dependency file: /OPENAPI-REST-API/swagger-client/jaxrs-cxf-cdi/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.21.2/jackson-databind-2.21.2.jar,/home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.21.2/jackson-databind-2.21.2.jar

Dependency Hierarchy:

  • jackson-jaxrs-json-provider-2.21.2.jar (Root Library)
    • jackson-jaxrs-base-2.21.2.jar
      • jackson-databind-2.21.2.jar (Vulnerable Library)
jackson-databind-2.21.0.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: https://github.com/FasterXML/jackson

Path to dependency file: /OPENAPI-REST-API/openapi-client/java/pom.xml

Path to vulnerable library: /home/wss-scanner/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/jars/jackson-databind-2.21.0.jar,/home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.21.0/jackson-databind-2.21.0.jar,/tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.21.0/a6b96ee168ca8734a293b6dc70acd5d495119521/jackson-databind-2.21.0.jar

Dependency Hierarchy:

  • jackson-databind-nullable-0.2.9.jar (Root Library)
    • jackson-databind-2.21.0.jar (Vulnerable Library)
jackson-databind-2.12.7.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://fasterxml.com/

Path to dependency file: /OPENAPI-REST-API/openapi-client/scala-pekko/pom.xml

Path to vulnerable library: /home/wss-scanner/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.12.7.jar,/home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.7/jackson-databind-2.12.7.jar

Dependency Hierarchy:

  • swagger-async-httpclient_2.11-0.3.5.jar (Root Library)
    • json4s-jackson_2.11-3.2.10.jar
      • jackson-databind-2.12.7.jar (Vulnerable Library)
jackson-databind-2.13.2.2.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://fasterxml.com/

Path to dependency file: /OPENAPI-REST-API/openapi-client/java-micronaut-client/build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.13.2.2/ffeb635597d093509f33e1e94274d14be610f933/jackson-databind-2.13.2.2.jar

Dependency Hierarchy:

  • micronaut-graal-3.4.3.jar (Root Library)
    • jackson-databind-2.13.2.2.jar (Vulnerable Library)

Found in HEAD commit: 1f70e2feccb7006c8d32cc7d4fe62f5cf5e5c34d

Found in base branch: master

Vulnerability Details

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.10.0 until 2.18.8, 2.21.4, and 3.1.4, jackson-databind's PolymorphicTypeValidator (PTV) is the primary safety mechanism guarding polymorphic deserialization. When polymorphic typing is enabled and a type identifier contains generic parameters (i.e. the type ID string contains <), DatabindContext._resolveAndValidateGeneric() validates only the raw container class name (the substring before <) against the configured PTV. If the container type is approved, the method parses the full canonical type string via TypeFactory.constructFromCanonical() and returns the fully parameterized type without ever validating the nested type arguments against the PTV. The nested type arguments are then resolved, instantiated, and populated as beans during deserialization. An attacker who controls the type ID can therefore place a denied class as a generic type parameter of an allowed container — for example java.util.ArrayList<com.evil.Gadget> when only java.util.ArrayList is allow-listed. The container passes the PTV check; com.evil.Gadget is loaded via Class.forName(name, true, loader), instantiated, and its properties are set from attacker-controlled JSON. This completely bypasses an explicitly configured PTV allow-list. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4.

Publish Date: 2026-06-23

URL: CVE-2026-54512

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-06-23

Fix Resolution: https://github.com/FasterXML/jackson-databind.git - jackson-databind-2.18.8


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions