Relative Path Traversal Affecting org.springframework.vault:spring-vault-core package, versions [2.3.0,4.0.5)[4.1.0-M1,4.1.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (23rd 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 Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKVAULT-22732035
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-41698  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade org.springframework.vault:spring-vault-core to version 4.0.5, 4.1.2 or higher.

Overview

Affected versions of this package are vulnerable to Relative Path Traversal in its Key/Value accessors and repository support, which concatenate the entity id into the Vault API path without validating or normalizing it. A user who controls the id can include ../ sequences to read or write secrets at a Vault path outside the intended keyspace. Exploitation requires the id to come from user input, the Vault token to hold permissions beyond one tightly scoped path, and a Vault 1.x server, since Vault 2.0+ rejects non-canonical and relative paths.

CVSS Base Scores

version 4.0
version 3.1