Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_server

State
Published
Severity
7.6 High
Published
Nov 13, 2026
Updated
Nov 19, 2026
Reserved
Nov 9, 2026

Read the record on cve.org

Description

Authorization Bypass Through User-Controlled Key vulnerability in elixir-grpc grpc_server and grpc allows an attacker to make a handler act on a resource other than the one named in the URL of an HTTP-transcoded route, via a request with a gRPC Content-Type.

Only the transcoding clause of GRPC.Server.do_handle_request/4 (grpc_server/lib/grpc/server.ex, and lib/grpc/server.ex before the package split) applies the route's path bindings to the request message. The Cowboy handler picks that clause from the request Content-Type, not from the route. A request to a transcoded URL with application/grpc or application/grpc-web is decoded from the body alone, so every path-bound field takes its value from the body. A gateway, proxy rule or WAF that authorizes on the URL path sees one resource while the handler receives another.

This issue affects grpc: from 0.8.0 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.

ProductVersions
grpc elixir-grpc0.8.0 to before 1.0.0 Affected
grpc elixir-grpc8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048 to before 0332faae5f5e132314794dbfdae5edecbccea292 Affected
grpc_server elixir-grpc1.0.0 to before 1.1.0 Affected
grpc_server elixir-grpc0332faae5f5e132314794dbfdae5edecbccea292 to before 953ab980d8a127e895d3ab9505fc4b9337bb32f7 Affected

Weaknesses

  • CWE-436 Interpretation Conflict
  • CWE-639 Authorization Bypass Through User-Controlled Key

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.