Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to transcoded gRPC API
-
DeliveryIdentify route with authorization-relevant path binding
-
ExploitSend request overriding bound field via query string or body
-
ExecutionTranscoder merges attacker value over path binding
-
PersistHandler authorizes against forged identifier
-
ImpactRead or modify victim resource
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | The target service must use elixir-grpc's HTTP/JSON transcoding (google.api.http annotations producing path bindings) AND have at least one route whose path binding name matches an authorization-relevant protobuf field (e.g., user_id, tenant_id, org_id) AND have a handler that derives authorization, ownership, or multi-tenant scoping from that decoded field rather than from the authenticated session. The attacker must be authenticated to the service (PR:L) but needs no special role; exploitation is limited to operations whose route already accepts both a path binding and a same-named query or body parameter, and is moot for pure gRPC deployments that do not enable transcoding. |
| Impact | The CVSS 4.0 vector 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 (base 7.6) reflects network-exploitable, low-complexity, low-privilege access with high confidentiality and integrity impact and no availability impact - consistent with a horizontal privilege/IDOR bug rather than RCE. AT:P (attack requirements: Present) acknowledges that the target service must actually use gRPC-HTTP transcoding AND rely on the path-bound field for authorization, which meaningfully narrows the attack surface. There is no CVSS 3.1 vector, no EPSS score, and no KEV listing in the input, so real-world exploitation prevalence is unknown; however, the public commit diff plus detailed regression tests make weaponization trivial for any attacker who knows a target uses elixir-grpc transcoding, so this should be treated as a real priority for affected Elixir backends - particularly multi-tenant SaaS and APIs with /users/{id}/... style routes - even though it is not RCE. |
| Exploit ScenarioDerived | An authenticated user of a multi-tenant Elixir API holding a valid session sends GET /users/me/profile?user_id=victim (or a POST with body {"user_id":"victim"} when the HttpRule body is '*'); transcoding overwrites the path-bound user_id='me' with 'victim', and the handler's ownership check - which reads user_id from the decoded struct - happily returns or modifies the victim's data. No exploit code is published, but the public commit diff and regression tests make the attack pattern self-evident. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 15, 2026
Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers to override path-bound URL parameters via query string or request body values, defeating ownership and multi-tenancy checks. The flaw stems from incorrect Map.merge/2 precedence in GRPC.Server.Transcode.map_request/5, where attacker-controlled query/body values silently overwrite the router-extracted path bindings used by handlers for authorization. No public exploit identified at time of analysis, but upstream patch and detailed regression tests are publicly available.
RemediationAI
Vendor-released patch: upgrade elixir-grpc 'grpc' to 1.0.0 or later, which reverses the Map.merge argument order so path bindings take precedence over query and body (commit 33b6a095dbc91c6dee3c7b90893d7d74952e82e4). Track the advisory at https://github.com/elixir-grpc/grpc/security/advisories/GHSA-mwr4-5g34-j5cq. If immediate upgrade is not possible, compensating controls include disabling HTTP/JSON transcoding for sensitive RPCs and using only native gRPC where the path-binding ambiguity does not arise, stripping or rejecting requests where authorization-relevant fields (e.g., user_id, tenant_id, account_id) appear in both the URL path and the query/body at an upstream proxy or plug, or re-deriving the authorization subject in each handler from the authenticated session/JWT rather than from the decoded protobuf field - trade-offs are reduced REST usability and additional middleware code that must be kept in sync with route definitions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability lives in the gRPC-Gateway-style HTTP transcoding layer of the elixir-grpc library (cpe:2.3:a:elixir-grpc:grpc), which maps REST/HTTP requests onto protobuf service methods. In lib/grpc/server/transcode.ex, three clauses of map_request/5 built the decoded protobuf struct using Map.merge(path_bindings, query) and Map.merge(path_bindings, body) - because Map.merge/2 in Elixir gives the SECOND argument precedence on key conflicts, query-string and body fields would overwrite identically named path bindings. This is a textbook CWE-639 (Authorization Bypass Through User-Controlled Key / IDOR) issue: the trust boundary assumption that 'the path identifies the resource' is broken because the same field name on the wire is allowed to come from an untrusted location.
Know when Grpc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-exploitable by any authenticated user (PR:L), but AC:H reflects the need for a transcoded route whose path binding matches an authorization field; high C/I impact via IDOR, no availability impact.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Authorization Bypass Through User-Controlled Key vulnerability in elixir-grpc grpc allows authenticated attackers to access or modify resources belonging to other users by smuggling a conflicting value for any path-bound field via the query string or request body.
In 'Elixir.GRPC.Server.Transcode':map_request/5 (lib/grpc/server/transcode.ex), all three clauses use Map.merge/2 with path bindings as the first argument, giving them the lowest merge precedence. A request such as GET /users/me/profile?user_id=victim (or a POST with {"user_id": "victim"} when body: "*") yields a decoded protobuf struct where the path-bound field carries the attacker-supplied value rather than the router-extracted value. Any handler that uses the path-bound field for authorization, multi-tenancy scoping, or ownership checks is silently bypassed.
This issue affects grpc from 0.8.0 before 1.0.0.
Executive ViewAI
An authorization bypass in elixir-grpc (versions 0.8.0 through current) allows authenticated attackers to violate multi-tenancy controls and access data across tenant boundaries. This vulnerability directly impacts the confidentiality of customer data in multi-tenant deployments. A vendor patch is available and should be deployed immediately to restore authorization boundaries.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Google gRPC before 2017-03-29 has an out-of-bounds write caused by a heap-based use-after-free related to the grpc_call_
Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remo
Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built
Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to cra
Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a sin
Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one
It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba
Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni
Google gRPC before 2017-02-22 has an out-of-bounds write related to the gpr_free function in core/lib/support/alloc.c. R
Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg
The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPac
EUVD-2026-37013
GHSA-mwr4-5g34-j5cq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB