Description
Apache bRPC versions before 1.18.0 validate the server certificate chain when client TLS peer verification is enabled, but do not bind the certificate to an expected DNS name or IP address. A network attacker who can redirect or intercept a connection and who possesses a certificate issued by a CA trusted by the client for another name may impersonate the requested TLS endpoint.


Affected Scenarios:
Applications use a bRPC client Channel to connect to an untrusted network with certificate verification enabled and trust a CA that can issue certificates for identities other than the intended endpoint.


How to Fix:
Upgrade to Apache bRPC 1.18.0 and enable VERIFY_PEER with a positive verify_depth. HTTPS Channels automatically verify the certificate against the host in the Channel URL. Callers may set VerifyOptions::expected_peer_name explicitly when the certificate identity differs from the URL host. Alternatively, apply the patch from https://github.com/apache/brpc/pull/3408 .

Note:
The new option performs DNS SAN or IP SAN verification during the TLS handshake. Configurations that set expected_peer_name while peer verification is disabled are rejected.
Published: 2026-10-21
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: TLS Impersonation
Action: Patch Now
AI Analysis

Impact

The vulnerability arises because Apache bRPC clients validate the server’s certificate chain but do not bind that certificate to the expected DNS name or IP address. When TLS peer verification is enabled, a client is still susceptible to a man‑in‑the‑middle if an attacker can redirect the traffic and presents a certificate issued by a trusted CA for a different host. The attacker can thereby impersonate the intended endpoint, leading to potential confidentiality compromise and unauthorized data access.

Affected Systems

All Apache bRPC components before version 1.18.0 are affected, as specified by the vendor. The issue is relevant for any application that uses a bRPC client channel over an untrusted network while TLS verification is active and trusts a CA capable of issuing certificates for namespaces other than the intended endpoint. No specific deployment class is singled out, so any instance of the library under the affected version range is vulnerable.

Risk and Exploitability

The lack of hostname checking creates a moderate‑risk TLS impersonation vector. The CVSS score of 5.9 indicates medium severity. EPSS is <1%, suggesting low probability of exploitation in general, but a network attacker with control and a trusted CA certificate can still impersonate the intended endpoint. The flaw is not currently in the CISA KEV catalog.

Generated by OpenCVE AI on October 30, 2026 at 19:49 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache bRPC to version 1.18.0 or later.
  • Enable VERIFY_PEER with a positive verify_depth and verify that the certificate matches the host in the Channel URL.
  • Apply the patch from https://github.com/apache/brpc/pull/3408 if upgrading is not immediately possible.

Generated by OpenCVE AI on October 30, 2026 at 19:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 10 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 30 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Thu, 22 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache brpc
Vendors & Products Apache
Apache brpc

Wed, 21 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Description Apache bRPC versions before 1.18.0 validate the server certificate chain when client TLS peer verification is enabled, but do not bind the certificate to an expected DNS name or IP address. A network attacker who can redirect or intercept a connection and who possesses a certificate issued by a CA trusted by the client for another name may impersonate the requested TLS endpoint. Affected Scenarios: Applications use a bRPC client Channel to connect to an untrusted network with certificate verification enabled and trust a CA that can issue certificates for identities other than the intended endpoint. How to Fix: Upgrade to Apache bRPC 1.18.0 and enable VERIFY_PEER with a positive verify_depth. HTTPS Channels automatically verify the certificate against the host in the Channel URL. Callers may set VerifyOptions::expected_peer_name explicitly when the certificate identity differs from the URL host. Alternatively, apply the patch from https://github.com/apache/brpc/pull/3408 . Note: The new option performs DNS SAN or IP SAN verification during the TLS handshake. Configurations that set expected_peer_name while peer verification is disabled are rejected.
Title Apache bRPC: TLS Client Accepts Certificates for Mismatched Peer Names
Weaknesses CWE-297
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-30T17:54:51.981Z

Reserved: 2026-07-26T03:42:05.836Z

Link: CVE-2026-66392

cve-icon Vulnrichment

Updated: 2026-10-30T17:54:38.376Z

cve-icon NVD

Status : Deferred

Published: 2026-10-21T12:17:22.417

Modified: 2026-10-30T18:18:03.973

Link: CVE-2026-66392

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T20:00:16Z

Weaknesses
  • CWE-297

    Improper Validation of Certificate with Host Mismatch