CVE-2026-33186
Control de acceso roto en grpc-go
En resumen
Un atacante remoto, sin usuario ni contraseña, podría modificar información o el sistema sin que nadie haga nada.
Cómo se ataca
- Se puede atacar por la red, incluso desde internet si el servicio está expuesto.
- No requiere condiciones especiales: el ataque se puede repetir de forma confiable.
- No necesita usuario ni contraseña.
- No necesita que nadie haga nada: ni abrir un archivo ni hacer clic.
Qué puede lograr el atacante
- Leer información confidencial: datos, archivos o credenciales.
- Modificar información o el sistema; en los casos graves, ejecutar sus propios programas.
Cómo corregirla
- Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
- Aplique la actualización o la mitigación que indica el fabricante (enlaces abajo).
- Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
- Como pudo explotarse antes de corregirla, revise los registros del equipo en busca de accesos o cambios extraños.
Recomendaciones para este tipo de fallo
- Aplicar la actualización del fabricante.
- Para quien desarrolla: comprobar permisos en el servidor en cada función, negar por defecto y centralizar las reglas en un solo lugar.
- Probar cada función con un usuario sin permisos.
A qué afecta
grpc · grpc-go
< 1.79.3
Red Hat · Red Hat Enterprise Linux 10
todas las versiones
Red Hat · Red Hat Enterprise Linux 9
todas las versiones
Red Hat · Assisted Installer for Red Hat OpenShift Container Platform 2
todas las versiones
Red Hat · cert-manager Operator for Red Hat OpenShift
todas las versiones
Red Hat · Cryostat 4
todas las versiones
Red Hat · Deployment Validation Operator
todas las versiones
Red Hat · Dynamic Accelerator Slicer Operator for Red Hat OpenShift
todas las versiones
Red Hat · ExternalDNS Operator
todas las versiones
Red Hat · File Integrity Operator
todas las versiones
Red Hat · Gatekeeper 3
todas las versiones
Red Hat · Job Set Tech Preview
todas las versiones
Qué es: Control de acceso ausente o incorrecto
El sistema sabe quién es el usuario pero no comprueba qué puede hacer, y un usuario normal hace cosas de administrador o de otro usuario.
La pantalla oculta el botón de «administrar», pero la función del servidor no comprueba el rol. Basta con llamar directamente a la API. Es el problema número uno de la lista OWASP Top 10 de aplicaciones web.
Guía completa: dónde aparece, cómo se corrige y qué evitarDescripción oficial (en inglés)
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.