Skip to main content

elixir-grpc EUVDEUVD-2026-37013

| CVE-2026-48599 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-06-15 EEF GHSA-mwr4-5g34-j5cq
7.6
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to transcoded gRPC API
  2. Delivery
    Identify route with authorization-relevant path binding
  3. Exploit
    Send request overriding bound field via query string or body
  4. Execution
    Transcoder merges attacker value over path binding
  5. Persist
    Handler authorizes against forged identifier
  6. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

gRPC 0.8.0 <1.0.0
gRPC 8aaf3d3a8c4c7b08ac65e9c6f254e0d24da1d048 <33b6a095dbc91c6dee3c7b90893d7d74952e82e4

Affected Packages

euvd grpc fix: 1.0.0

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

Vendor (EEF) PRIMARY 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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Grpc

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2017-8359 CRITICAL POC
9.8 Apr 30

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_

CVE-2026-48853 CRITICAL POC
9.2 Jun 15

Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remo

CVE-2026-84304 HIGH POC
8.7 Sep 01

Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built

CVE-2026-53430 HIGH POC
8.7 Jun 15

Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to cra

CVE-2026-48854 HIGH POC
8.7 Jun 15

Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a sin

CVE-2026-101914 MEDIUM POC
6.5 Sep 28

Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one

CVE-2024-7246 MEDIUM POC
6.3 Aug 06

It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba

CVE-2017-7860 CRITICAL
9.8 Apr 14

Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni

CVE-2017-7861 CRITICAL
9.8 Apr 14

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

CVE-2017-9431 CRITICAL
9.8 Jun 05

Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg

CVE-2020-7768 CRITICAL
9.8 Nov 11

The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPac

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy