CVE-2026-41698: Spring Vault Path Traversal via unsanitized secret path parameter
Spring Vault's Key/Value accessors perform no validation or normalization of the entity identifier argument before incorporating it into a Vault API URL.
A caller-supplied value containing path traversal sequences is not rejected or sanitized and can cause Spring Vault to access or overwrite secrets outside the intended keyspace or mount, if those secrets are reachable by the application's Vault token.
Your application may be affected by this if all of the following are true:
The application uses one of the affected repository or KeyValue accessor abstractions.
The id value is derived from user-controlled input.
The application's Vault token holds permissions beyond a single, tightly scoped keyspace path. Applications whose path values are determined entirely at build time are not affected.
The application uses Vault 1.x. Vault 2.0 and later reject non-canonical or relative paths, so deployments using Vault 2.0 or later are not affected.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Exposure requires use of an affected repository or KeyValue accessor, an entity identifier derived from user-controlled input, and a Vault token permitted to access more than one tightly scoped keyspace path. The issue applies to deployments using Vault 1.x; Vault 2.0 and later reject relative or non-canonical paths.
What access does an attacker need to exploit it?
An attacker needs a way to influence the identifier value passed to an affected accessor. The impact is limited by the application Vault token's permissions: traversal can only reach or overwrite secrets that token can access.
Are applications with fixed secret paths affected?
No. Applications whose path values are determined entirely at build time are not affected.
What can reduce risk if updating the affected application is not immediately possible?
Ensure entity identifiers are not derived from user-controlled input and restrict the application's Vault token to a single tightly scoped keyspace path. Using Vault 2.0 or later also prevents the described relative or non-canonical path handling.