CVE-2026-33186 Evasión de autenticación en gRPC-Go por validación del pseudo-header :path
El servidor gRPC-Go aceptaba rutas sin la barra inicial obligatoria en el pseudo-header HTTP/2 :path, por lo que los interceptores de autorización basados en rutas evaluaban la cadena no canónica y las reglas de denegación no coincidían. Esto permite a un atacante evadir la política si existe una regla de permiso de respaldo. Afecta a servidores que usan interceptores de autorización por ruta; corrige la versión 1.79.3.
CVSS 3.1
- Probabilidad de explotación · EPSS del 09/111,6 % · percentil 76
- Explotada activamenteNo confirmada
- Exploit públicoSí, 1
Afectados
grpc grpc-go
< 1.79.3
Qué hacer
- Verificá si usás grpc-go y en qué versión.
- Actualizá a la versión corregida que indique el fabricante en su aviso o aplicá su mitigación.
- Revisá registros y accesos de los sistemas expuestos para descartar un uso previo.
- Priorizá la corrección: hay código de explotación público.
Exploits públicos
Código publicado por terceros. Puede ser malicioso: revisalo solo en un entorno aislado.
Calculadora CVSS
CVSS 3.1 · 9.1 CRÍTICA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Vector de ataqueRed
- Complejidad del ataqueBaja
- Privilegios requeridosNinguno
- Interacción del usuarioNinguna
- AlcanceSin cambio
- ConfidencialidadAlta
- IntegridadAlta
- DisponibilidadNinguna
Descripción original
gRPC-Go is the Go language implementation of gRPC. Versions prior to 1.79.3 have an authorization bypass resulting from improper input validation of the HTTP/2 `:path` pseudo-header. The gRPC-Go server was too lenient in its routing logic, accepting requests where the `:path` omitted the mandatory leading slash (e.g., `Service/Method` instead of `/Service/Method`). While the server successfully routed these requests to the correct handler, authorization interceptors (including the official `grpc/authz` package) evaluated the raw, non-canonical path string. Consequently, "deny" rules defined using canonical paths (starting with `/`) failed to match the incoming request, allowing it to bypass the policy if a fallback "allow" rule was present. This affects gRPC-Go servers that use path-based authorization interceptors, such as the official RBAC implementation in `google.golang.org/grpc/authz` or custom interceptors relying on `info.FullMethod` or `grpc.Method(ctx)`; AND that have a security policy contains specific "deny" rules for canonical paths but allows other requests by default (a fallback "allow" rule). The vulnerability is exploitable by an attacker who can send raw HTTP/2 frames with malformed `:path` headers directly to the gRPC server. The fix in version 1.79.3 ensures that any request with a `:path` that does not start with a leading slash is immediately rejected with a `codes.Unimplemented` error, preventing it from reaching authorization interceptors or handlers with a non-canonical path string. While upgrading is the most secure and recommended path, users can mitigate the vulnerability using one of the following methods: Use a validating interceptor (recommended mitigation); infrastructure-level normalization; and/or policy hardening.
Referencias (20)
- github.com/grpc/grpc-go/security/advisories/GHSA-p77j-4mvh-x3m3
- access.redhat.com/security/cve/CVE-2026-33186
- bugzilla.redhat.com/show_bug.cgi?id=2449833
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33186.json
- access.redhat.com/errata/RHSA-2026:41019
- access.redhat.com/errata/RHSA-2026:54191
- access.redhat.com/errata/RHSA-2026:54757
- access.redhat.com/errata/RHSA-2026:43225
- access.redhat.com/errata/RHSA-2026:29079
- access.redhat.com/errata/RHSA-2026:34097
- access.redhat.com/errata/RHSA-2026:26997
- access.redhat.com/errata/RHSA-2026:27076
- access.redhat.com/errata/RHSA-2026:17789
- access.redhat.com/errata/RHSA-2026:36796
- access.redhat.com/errata/RHSA-2026:28047
- access.redhat.com/errata/RHSA-2026:20436
- access.redhat.com/errata/RHSA-2026:18068
- access.redhat.com/errata/RHSA-2026:20322
- access.redhat.com/errata/RHSA-2026:26999
- access.redhat.com/errata/RHSA-2026:42150
Resumen traducido automáticamente de la descripción original. Fuente: Nureq Monitor. Cómo funciona.