{"id":"CVE-2026-124278","summary":"Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_server","details":"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.\n\nOnly 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.\n\nThis issue affects grpc: from 0.8.0 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.","aliases":["EEF-CVE-2026-124278","GHSA-xc5v-89vq-hv5m"],"modified":"2026-11-19T20:47:38.043221369Z","published":"2026-11-13T15:58:08.134Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-436","CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124278.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-124278.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-124278"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124278.json"},{"type":"ADVISORY","url":"https://github.com/elixir-grpc/grpc/security/advisories/GHSA-xc5v-89vq-hv5m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124278"},{"type":"FIX","url":"https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292"},{"type":"FIX","url":"https://github.com/elixir-grpc/grpc/commit/8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048"},{"type":"FIX","url":"https://github.com/elixir-grpc/grpc/commit/953ab980d8a127e895d3ab9505fc4b9337bb32f7"},{"type":"PACKAGE","url":"https://github.com/elixir-grpc/grpc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elixir-grpc/grpc","events":[{"introduced":"8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048"},{"fixed":"0332faae5f5e132314794dbfdae5edecbccea292"},{"introduced":"0332faae5f5e132314794dbfdae5edecbccea292"},{"fixed":"953ab980d8a127e895d3ab9505fc4b9337bb32f7"},{"introduced":"eda2edc2f43010517b9f7992ccb181792175a17f"},{"fixed":"8105f803030f7f5ae1d722251ee6ab2e36878830"},{"introduced":"8105f803030f7f5ae1d722251ee6ab2e36878830"},{"fixed":"cb463a0d1584c9dc70d621e7afdb0721f67f1d36"},{"fixed":"8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048"},{"fixed":"0332faae5f5e132314794dbfdae5edecbccea292"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"0332faae5f5e132314794dbfdae5edecbccea292"},{"fixed":"953ab980d8a127e895d3ab9505fc4b9337bb32f7"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"0.8.0"},{"fixed":"1.0.0"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"1.0.0"},{"fixed":"1.1.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"0332faae5f5e132314794dbfdae5edecbccea292"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"953ab980d8a127e895d3ab9505fc4b9337bb32f7"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.11.2","v0.8.1","v0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-124278.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}