Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting tools.jackson.core:jackson-databind package, versions [3.0.0,3.1.6)[3.2.0,3.2.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-TOOLSJACKSONCORE-19477043
  • published1 Sept 2026
  • disclosed1 Sept 2026
  • creditwaydeshi

Introduced: 1 Sep 2026

NewCVE-2026-19032  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

Upgrade tools.jackson.core:jackson-databind to version 3.1.6, 3.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') through NioPathDeserializer in src/main/java/com/fasterxml/jackson/databind/ext/NioPathDeserializer.java. An attacker can force readValue() to resolve an attacker-controlled java.nio.file.Path URI by supplying a non-file scheme such as jar:, http:, s3:, or a custom provider scheme in untrusted JSON. That input reaches new URI(value) and then Path.of(uri), which falls back to ServiceLoader<FileSystemProvider> resolution and can invoke a matching provider’s getPath(uri) during deserialization. The result is unintended provider loading and provider-driven path handling inside the application, which can trigger denial of service or other side effects depending on what FileSystemProvider implementations are present on the classpath.

CVSS Base Scores

version 4.0
version 3.1