← Back to CVE Explorer

CVE-2026-66392

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Deferred
Source identifier
Published
2026-10-21 12:17:22.417000
Last modified
2026-10-26 20:10:00.160000
View original CVE JSON
{
  "id": "CVE-2026-66392",
  "sourceIdentifier": "[email protected]",
  "published": "2026-10-21T12:17:22.417",
  "lastModified": "2026-10-26T20:10:00.160",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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.\n\n\nAffected Scenarios:\nApplications 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.\n\n\nHow to Fix:\nUpgrade 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 .\n\nNote:\nThe 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."
    },
    {
      "lang": "es",
      "value": "Versiones de Apache bRPC anteriores a 1.18.0 validan la cadena de certificados del servidor cuando la verificación de pares TLS del cliente está habilitada, pero no vinculan el certificado a un nombre DNS o dirección IP esperado. Un atacante de red que pueda redirigir o interceptar una conexión y que posea un certificado emitido por una CA de confianza del cliente para otro nombre puede suplantar el endpoint TLS solicitado.\\n\\nEscenarios afectados:\\nLas aplicaciones usan un Canal cliente bRPC para conectarse a una red no confiable con la verificación de certificado habilitada y confían en una CA que puede emitir certificados para identidades distintas del endpoint previsto.\\n\\nCómo corregir:\\nActualice a Apache bRPC 1.18.0 y habilite VERIFY_PEER con un verify_depth positivo. Los canales HTTPS verifican automáticamente el certificado contra el host en la URL del Canal. Los llamadores pueden establecer VerifyOptions::expected_peer_name explícitamente cuando la identidad del certificado difiere del host de la URL. Alternativamente, aplique el parche de https://github.com/apache/brpc/pull/3408.\\n\\nNota:\\nLa nueva opción realiza la verificación de DNS SAN o IP SAN durante el apretón de manos TLS. Las configuraciones que establecen expected_peer_name mientras la verificación de pares está deshabilitada son rechazadas."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache bRPC",
          "defaultStatus": "unaffected",
          "collectionURL": "https://github.com",
          "packageName": "apache/brpc",
          "packageURL": "pkg:github/apache/brpc",
          "versions": [
            {
              "version": "0",
              "lessThan": "1.18.0",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-297"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb",
      "source": "[email protected]"
    }
  ]
}