CVE-2026-33186
JSON

9.1critical

gRPC-Go has an authorization bypass via missing leading slash in :path

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.90% (higher than 80% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-p77j-4mvh-x3m3GO-2026-4762

Description

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.

Affected

Product or packageVersionsReported by
grpc grpc-go< 1.79.3CVE List
cryostat/cryostat-grafana-dashboard-rhel9Not specified
Not affected: from 4.2.0-9 before *
CVE List
cryostat/cryostat-rhel9-operatorNot specified
Not affected: from 4.2.0-13 before *
CVE List
cryostat/cryostat-storage-rhel9Not specified
Not affected: from 4.2.0-13 before *
CVE List
opentelemetry-collectorNot specified
Not affected: from 0:0.144.0-2.el10_2 before *, from 0:0.144.0-2.el10_0 before *, from 0:0.144.0-2.el9_8 before *, from 0:0.144.0-2.el9_4 before *, from 0:0.144.0-2.el9_6 before *
CVE List
osbuild-composerNot specified
Not affected: from 0:165.1-2.el10_2 before *, from 0:134.1-9.el10_0 before *, from 0:101.5-1.el8_10 before *, from 0:165.1-2.el9_8 before *, from 0:76.1-7.el9_2 before *, from 0:101.3-4.el9_4.4 before *
CVE List
image-builderNot specified
Not affected: from 0:52.1-1.el10_2 before *, from 0:52.1-1.el9_8 before *
CVE List
rhc-worker-scriptNot specified
Not affected: from 0:0.11-1.el7_9 before *
CVE List
rhcNot specified
Not affected: from 1:0.2.5-6.el8_10 before *, from 1:0.2.7-4.el9_7 before *, from 1:0.2.7-5.el9_8 before *, from 1:0.2.7-1.el9_6.3 before *
CVE List
ose-azure-acr-image-credential-providerNot specified
Not affected: from 0:4.15.0-202606231944.p2.g5638728.assembly.stream.el8 before *, from 0:4.16.0-202606221818.p2.ga3ebdc0.assembly.stream.el8 before *, from 0:4.17.0-202606171749.p2.g5bcfbfd.assembly.stream.el8 before *, from 0:4.18.0-202606160919.p2.g9795abd.assembly.stream.el8 before *, from 0:4.19.0-202606111920.p2.g6282230.assembly.stream.el9 before *
CVE List
microshiftNot specified
Not affected: from 0:4.16.63-202605251227.p0.g1133ac0.assembly.4.16.63.el9 before *, from 0:4.18.42-202605181217.p0.gf4eeb37.assembly.4.18.42.el9 before *, from 0:4.19.32-202605212036.p0.g27d51c3.assembly.4.19.32.el9 before *
CVE List
etcdNot specified
Not affected: from 0:3.3.23-22.el8ost before *, from 0:3.4.26-9.5.el9ost before *
CVE List

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
redhat-SADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-285CWE-551

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

What kind of vulnerability is it? Who is impacted?

It is 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.

Who is impacted? This affects gRPC-Go servers that meet both of the following criteria:

  1. They 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).
  2. Their 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.

Patches

Has the problem been patched? What versions should users upgrade to?

Yes, the issue has been patched. The fix 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.

Users should upgrade to the following versions (or newer):

  • v1.79.3
  • The latest master branch.

It is recommended that all users employing path-based authorization (especially grpc/authz) upgrade as soon as the patch is available in a tagged release.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

While upgrading is the most secure and recommended path, users can mitigate the vulnerability using one of the following methods:

1. Use a Validating Interceptor (Recommended Mitigation)

Add an "outermost" interceptor to your server that validates the path before any other authorization logic runs:

func pathValidationInterceptor(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error) {
    if info.FullMethod == "" || info.FullMethod[0] != '/' {
        return nil, status.Errorf(codes.Unimplemented, "malformed method name")
    }   
    return handler(ctx, req)
}

// Ensure this is the FIRST interceptor in your chain
s := grpc.NewServer(
    grpc.ChainUnaryInterceptor(pathValidationInterceptor, authzInterceptor),
)
2. Infrastructure-Level Normalization

If your gRPC server is behind a reverse proxy or load balancer (such as Envoy, NGINX, or an L7 Cloud Load Balancer), ensure it is configured to enforce strict HTTP/2 compliance for pseudo-headers and reject or normalize requests where the :path header does not start with a leading slash.

3. Policy Hardening

Switch to a "default deny" posture in your authorization policies (explicitly listing all allowed paths and denying everything else) to reduce the risk of bypasses via malformed inputs.

Go Vulnerability Database

Authorization bypass in gRPC-Go via missing leading slash in :path in google.golang.org/grpc

NVD (es)

gRPC-Go es la implementación en lenguaje Go de gRPC. Las versiones anteriores a la 1.79.3 tienen un bypass de autorización resultante de una validación de entrada incorrecta del pseudo-encabezado HTTP/2 ':path'. El servidor gRPC-Go era demasiado indulgente en su lógica de enrutamiento, aceptando solicitudes donde el ':path' omitía la barra inicial obligatoria (por ejemplo, 'Service/Method' en lugar de '/Service/Method'). Si bien el servidor enrutó con éxito estas solicitudes al gestor correcto, los interceptores de autorización (incluido el paquete oficial 'grpc/authz') evaluaron la cadena de ruta cruda y no canónica. En consecuencia, las reglas de 'denegación' definidas usando rutas canónicas (que comienzan con '/') no lograron coincidir con la solicitud entrante, permitiendo que bypassara la política si una regla de 'permiso' de respaldo estaba presente. Esto afecta a los servidores gRPC-Go que utilizan interceptores de autorización basados en rutas, como la implementación oficial de RBAC en 'google.golang.org/grpc/authz' o interceptores personalizados que dependen de 'info.FullMethod' o 'grpc.Method(ctx)'; Y que tienen una política de seguridad que contiene reglas de 'denegación' específicas para rutas canónicas pero permite otras solicitudes por defecto (una regla de 'permiso' de respaldo). La vulnerabilidad es explotable por un atacante que puede enviar tramas HTTP/2 crudas con encabezados ':path' malformados directamente al servidor gRPC. La corrección en la versión 1.79.3 asegura que cualquier solicitud con un ':path' que no comience con una barra inicial sea inmediatamente rechazada con un error 'codes.Unimplemented', impidiendo que llegue a los interceptores de autorización o gestores con una cadena de ruta no canónica. Si bien la actualización es la ruta más segura y recomendada, los usuarios pueden mitigar la vulnerabilidad utilizando uno de los siguientes métodos: Usar un interceptor de validación (mitigación recomendada); normalización a nivel de infraestructura; y/o endurecimiento de políticas.

References

https://github.com/grpc/grpc-go/security/advisories/GHSA-p77j-4mvh-x3m3advisory, mitigation, vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-33186vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2449833issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33186.json
https://access.redhat.com/errata/RHSA-2026:41019vendor-advisory
https://access.redhat.com/errata/RHSA-2026:54191vendor-advisory
https://access.redhat.com/errata/RHSA-2026:54757vendor-advisory
https://access.redhat.com/errata/RHSA-2026:43225vendor-advisory
https://access.redhat.com/errata/RHSA-2026:29079vendor-advisory
https://access.redhat.com/errata/RHSA-2026:34097vendor-advisory
https://access.redhat.com/errata/RHSA-2026:26997vendor-advisory
https://access.redhat.com/errata/RHSA-2026:27076vendor-advisory

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-33186 changed 2026-09-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-p77j-4mvh-x3m3 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4762 changed 2026-03-30CC-BY-4.0
NVDCVE-2026-33186 changed 2026-09-18Public domain