# CVE-2026-65942: Apache Ranger TLS hostname verification bypass

Source: https://junglewise.ai/threats/cve-2026-65942-apache-ranger-tls-hostname-verification-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-10. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-65942 · Severity: high · CVSS 7.5 · Published 2026-08-10

Apache Ranger is an open-source framework for managing access control and data protection across Hadoop and cloud platforms. A flaw in the client code fails to properly verify TLS certificate hostnames, allowing attackers on the network path to intercept and decrypt encrypted communications by presenting certificates for different hostnames. This could expose sensitive data in transit and enable account compromise.

Technologies: [Apache Ranger](https://junglewise.ai/threats/technologies/ranger). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache).

## Quick answers

**Is CVE-2026-65942 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-65942 being exploited in the wild.

**How severe is CVE-2026-65942?** High severity, with a CVSS score of 7.5, published 10 August 2026.

**Which products and versions are affected?** Apache Ranger <= 2.8.0.

**Is there a fix for CVE-2026-65942?** A patch was published on 2026-08-10: Fix available in version 2.9.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-65942 attacked?** It is attacked over the network or from the adjacent network, in a hosted service.

**Am I affected by CVE-2026-65942?** Check whether you run Apache Ranger at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a TLS hostname verification issue in Apache Ranger client code versions 2.8.0 and earlier. The client fails to validate that a server's TLS certificate is issued for the hostname being accessed, enabling man-in-the-middle (MITM) attacks on network-adjacent positions. An attacker can present a valid certificate issued to any hostname to intercept client-to-server communication, decrypt sensitive data, and potentially modify requests. The flaw is present in client implementations; no authentication bypass is required. A fix is available in version 2.9.0.

## Affected products

- Apache Ranger <= 2.8.0

## Timeline

- 2026-08-09: disclosed
- 2026-08-10: patched: Fix available in version 2.9.0

## References

- [https://lists.apache.org/thread/pp6on4yyht3z8l0ktfo1xydhjzjbn4gt](https://lists.apache.org/thread/pp6on4yyht3z8l0ktfo1xydhjzjbn4gt)
- [http://www.openwall.com/lists/oss-security/2026/08/09/9](http://www.openwall.com/lists/oss-security/2026/08/09/9)

## Related threats

- [Apache Ranger UnixAuth missing brute-force protection](https://junglewise.ai/threats/cve-2026-65948-apache-ranger-unixauth-missing-brute-force-protection)
- [Apache Ranger JWT token exposure in logs](https://junglewise.ai/threats/cve-2026-65945-apache-ranger-jwt-token-exposure-in-logs)
- [Apache Ranger missing authentication in Download APIs](https://junglewise.ai/threats/cve-2026-55814-apache-ranger-missing-authentication-in-download-apis)
- [Apache Ranger remote code execution in GraalScriptEngineCreator](https://junglewise.ai/threats/cve-2026-55799-apache-ranger-remote-code-execution-in-graalscriptenginecreator)
- [Apache Ranger remote code execution via arbitrary class instantiation in plugin-schema-registry](https://junglewise.ai/threats/cve-2026-44416-apache-ranger-remote-code-execution-via-arbitrary-class)
