CVE-2026-109408

vault-java-driver: SslConfig silently disables requested TLS verification

Published Nov 5, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
vault-java-driver, a Java client for HashiCorp Vault, silently disables TLS certificate and hostname verification in three states where the caller asked for verification: an SslConfig passed to VaultConfig without calling build(), an SslConfig restored by Java deserialization, and VAULT_SSL_VERIFY set to a truthy value other than "true", such as 1, yes or on. In each case SslConfig.isVerify() returns false and the driver installs a trust-all SSLContext. An attacker on the network path to the Vault server can then read the Vault token and secrets in transit and forge responses. This issue affects io.github.jopenlibs:vault-java-driver 5.2.0 through 6.2.3. It is fixed in 7.0.0.

Analysis

AI-generated

Technical impact

Vault-java-driver silently disables TLS certificate and hostname verification when users request verification through an SslConfig instance that is not fully built, through deserialized configuration objects, or via the VAULT_SSL_VERIFY environment variable set to an ambiguous truthy value. The driver therefore installs a trust‑all SSLContext, which allows any network‑level attacker to eavesdrop on the TLS session, read Vault tokens and secrets passing through, and forge Vault responses. This flaw represents a severe privacy compromise and can enable an attacker to impersonate legitimate Vault clients or inject malicious data.

Affected Systems

The vulnerability affects the jopenlibs vault-java-driver Java client for HashiCorp Vault. Versions 5.2.0 through 6.2.3 are impacted, while 7.0.0 and later contain the fix. The flaw resides in the library’s SSL configuration handling; clients that rely on this driver to communicate with Vault servers are in scope.

Risk and Exploitability

With a CVSS score of 7.4 the flaw is considered high severity. The EPSS score is not available, but the lack of detection in KEV indicates the exploit has not yet been widely reported. The attack is feasible for anyone with network access to the Vault server, as it simply requires intercepting the TLS handshake. Because the driver silently lowers the verification level without indicating a failure, the vulnerability is hard to detect without a code audit. The combination of a clear path to data exposure and a relatively straightforward exploitation makes the risk significant for systems that use the affected driver version.

Remediation

Vendor Solution

Upgrade io.github.jopenlibs:vault-java-driver to 7.0.0 or later.


OpenCVE Recommended Actions

  • Upgrade the vault-java-driver dependency to 7.0.0 or later.
  • In application code, ensure that any SslConfig instance is built by calling build() before it is used with VaultConfig, and avoid relying on deserialized SslConfig objects from untrusted sources.
  • If an upgrade cannot be applied immediately, disable the VAULT_SSL_VERIFY environment variable or set it to "true" and enforce explicit TLS verification in the code to prevent silent downgrade of security checks.

Generated by OpenCVE AI on November 5, 2026 at 08:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Jopenlibs
Jopenlibs vault-java-driver
Vendors & Products Jopenlibs
Jopenlibs vault-java-driver
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description vault-java-driver, a Java client for HashiCorp Vault, silently disables TLS certificate and hostname verification in three states where the caller asked for verification: an SslConfig passed to VaultConfig without calling build(), an SslConfig restored by Java deserialization, and VAULT_SSL_VERIFY set to a truthy value other than "true", such as 1, yes or on. In each case SslConfig.isVerify() returns false and the driver installs a trust-all SSLContext. An attacker on the network path to the Vault server can then read the Vault token and secrets in transit and forge responses. This issue affects io.github.jopenlibs:vault-java-driver 5.2.0 through 6.2.3. It is fixed in 7.0.0.
Title vault-java-driver: SslConfig silently disables requested TLS verification
Weaknesses CWE-295
CWE-297
CWE-636
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-295

    Improper Certificate Validation

  • CWE-297

    Improper Validation of Certificate with Host Mismatch

  • CWE-636

    Not Failing Securely ('Failing Open')

Sources

Status
PUBLISHED
Assigner
Echo
Published
Updated
Nov 5, 2026, 7:05 PM
Reserved
Oct 12, 2026, 2:55 PM
Status
Awaiting Analysis
Published
Nov 5, 2026, 8:17 AM
Modified
Nov 12, 2026, 8:04 PM
Severity
Important
Public date
Nov 5, 2026, 7:36 AM