CVE-2026-124278
Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_server
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_server: from 1.0.0 before 1.1.0; grpc: from 0.8.0 before 1.0.0.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| grpc_server elixir-grpc grpc_server
hex |
≥ 1.0.0; < 1.1.0 (affected, semver)
Other versions: unaffected |
CNA: EEF |
| grpc_server elixir-grpc elixir-grpc/grpc
github |
≥ 0332faae5f5e132314794dbfdae5edecbccea292; < 953ab980d8a127e895d3ab9505fc4b9337bb32f7 (affected, git)
Other versions: unaffected |
CNA: EEF |
| grpc elixir-grpc grpc
hex |
≥ 0.8.0; < 1.0.0 (affected, semver)
Other versions: unaffected |
CNA: EEF |
| grpc elixir-grpc elixir-grpc/grpc
github |
≥ 8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048; < 0332faae5f5e132314794dbfdae5edecbccea292 (affected, git)
Other versions: unaffected |
CNA: EEF |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 7.6 high |
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | CNA: EEF |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/elixir-grpc/grpc/security/advisories/GHSA-xc5v-89vq-hv5mCNA: EEF · vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2026-124278.htmlCNA: EEF · related
- https://osv.dev/vulnerability/EEF-CVE-2026-124278CNA: EEF · related
- https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292CNA: EEF · related
- https://github.com/elixir-grpc/grpc/commit/953ab980d8a127e895d3ab9505fc4b9337bb32f7CNA: EEF · patch
- https://github.com/elixir-grpc/grpc/commit/8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048CNA: EEF · related
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.