{"id":"GHSA-x5hg-x4gv-j98m","aliases":["GHSA-x5hg-x4gv-j98m"],"related":[],"kind":"vulnerability","state":"published","title":"OpenSearch has ineffective TLS certificate hostname verification","summary":"### Description\n\nA 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.\n\n### Impact\n\nClusters 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.\n\n### Patches\n\nThis issue is fixed in OpenSearch 2.19.4 and 3.3.0.\n\n### Workarounds\n\nUse more restrictive values for `plugins.security.nodes_dn` to limit which certificates are accepted for node-to-node communication.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Description\n\nA 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.\n\n### Impact\n\nClusters 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.\n\n### Patches\n\nThis issue is fixed in OpenSearch 2.19.4 and 3.3.0.\n\n### Workarounds\n\nUse more restrictive values for `plugins.security.nodes_dn` to limit which certificates are accepted for node-to-node communication.","format":"markdown","source":"ghsa"}],"published":"2026-05-07T00:09:18.000Z","modified":"2026-05-07T00:21:11.903Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.2,"rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.2,"rating":"LOW"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"2.18.0","status":"affected","fixed":"2.19.4.0"}],"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.3.0.0"}],"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","source":"ghsa"}],"references":[{"url":"https://github.com/opensearch-project/security/security/advisories/GHSA-x5hg-x4gv-j98m","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/opensearch-project/security","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x5hg-x4gv-j98m","url":"https://github.com/advisories/GHSA-x5hg-x4gv-j98m","licence":"CC-BY-4.0","modified":"2026-05-07T00:21:11.903Z"}],"updatedAt":"2026-11-25T22:56:29.238Z"}