GHSA-x5hg-x4gv-j98m: OpenSearch has ineffective TLS certificate hostname verification
Description A regression was introduced in OpenSearch 2.18.0 that caused the plugins.security.ssl.transport.enforcehostnameverification setting to be ineffective. When this setting was enabled, OpenSearch did not verify that the hostname in a connecting node's TLS certificate matched the hostname of the connection.
Published May 7, 2026
Affected packages
org.opensearch.plugin:opensearch-security
- Ecosystem
- Maven
- Affected
- >= 2.18.0, < 2.19.4.0
- Fixed in
- 2.19.4.0
- Check
mvn dependency:tree -Dincludes=org.opensearch.plugin:opensearch-security
org.opensearch.plugin:opensearch-security
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.3.0.0
- Fixed in
- 3.3.0.0
- Check
mvn dependency:tree -Dincludes=org.opensearch.plugin:opensearch-security
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description
A regression was introduced in OpenSearch 2.18.0 that caused the plugins.security.ssl.transport.enforce_hostname_verification setting to be ineffective. When this setting was enabled, OpenSearch did not verify that the hostname in a connecting node's TLS certificate matched the hostname of the connection. This could allow a node with a valid certificate (signed by the cluster's trusted CA) but an incorrect hostname SAN to join the cluster.
Impact
Clusters running affected versions with hostname verification enabled did not receive the expected protection from this setting. A node presenting a certificate signed by the cluster's trusted CA could join the cluster regardless of whether its hostname SAN matched. This regression does not affect certificate validation itself — only the additional hostname verification check.
Patches
This issue is fixed in OpenSearch 2.19.4 and 3.3.0.
Workarounds
Use more restrictive values for plugins.security.nodes_dn to limit which certificates are accepted for node-to-node communication.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesGHSA-22vx-2x23-98w6
OpenSearch vulnerable to improper authorization for Rollover Requests
low2.2May 7, 2026GHSA-83x9-vc3c-hghc
OpenSearch has a bypass of REST Layer Authorization Using Malformed Paths
low3.7May 7, 2026GHSA-x83w-23jp-g6pw
OpenSearch Security plugin: DLS not applied on documents linked by has_child or has_parent relation
medium5.3May 7, 2026GHSA-2rjv-cv85-xhgm
OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object
medium5.7Aug 1, 2025GHSA-rrmm-wq7q-h4v5
OpenSearch unauthorized data access on fields protected by field masking for fields of type ip, geo_point, geo_shape, xy_point, xy_shape
medium5.7Aug 1, 2025
