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.
Published: 2026-11-05
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: Confidentiality breach
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Thu, 05 Nov 2026 07:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Echo

Published:

Updated: 2026-11-05T07:36:07.410Z

Reserved: 2026-10-12T14:55:10.201Z

Link: CVE-2026-109408

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T08:17:03.463

Modified: 2026-11-05T08:17:03.463

Link: CVE-2026-109408

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T08:30:14Z

Weaknesses
  • CWE-295

    Improper Certificate Validation

  • CWE-297

    Improper Validation of Certificate with Host Mismatch

  • CWE-636

    Not Failing Securely ('Failing Open')