Description
@grpc/grpc-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to 1.13.1 and 1.14.1, the exact path (method name) matcher used by RBAC performs a prefix comparison instead of an equality comparison when case-insensitive matching is enabled. If one service method name prefixes another and the methods have different access rules, a request for the longer method can match the shorter method's rule and cause incorrect authorization. This issue is fixed in versions 1.13.1 and 1.14.1.
Published: 2026-09-28
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: Incorrect authorization via prefix matching
Action: Apply Patch
AI Analysis

Impact

The vulnerability in @grpc/grpc-js causes the exact path matcher used for role‑based access control to perform a prefix comparison when case‑insensitive matching is enabled. This means that when one service method name is a prefix of another, the request for the longer method may be matched against the shorter method’s security rule. As a result, an attacker could gain access to a protected method or bypass restrictions intended for a different method, compromising the confidentiality and integrity of the. This is a classic case of improper authorization (CWE‑187) combined with confusion over matching semantics (CWE‑863).

Affected Systems

The issue affects the grpc-node implementation of gRPC in JavaScript, specifically versions prior to 1.13.1 and 1.14.1. Any deployment of these versions that relies on RBAC for method‑level security and enables case‑insensitive matching is potentially vulnerable.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. However, the flaw allows unauthorized method access if an attacker can trigger a request for a method whose name is prefixed by a more permissive rule. The most likely attack vector is a crafted gRPC request sent to an affected server where RBAC rules have overlapping prefixes.

Generated by OpenCVE AI on September 28, 2026 at 20:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the @grpc/grpc-js library to version 1.13.1 or newer, which contains the fix for the incorrect path matching.
  • If an upgrade is not yet possible, review RBAC rule definitions to avoid overlapping prefixes among methods that have different access requirements, thereby preventing accidental rule matches.
  • Implement additional runtime checks or monitoring to detect unexpected method calls that might indicate a misconfiguration or potential exploitation.

Generated by OpenCVE AI on September 28, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-88h9-xgvx-hvf2 @grpc/grpc-js: The exact path match matcher incorrectly only applies a prefix match for case-insensitive matches
History

Mon, 28 Sep 2026 20:00:00 +0000


Mon, 28 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Description @grpc/grpc-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to 1.13.1 and 1.14.1, the exact path (method name) matcher used by RBAC performs a prefix comparison instead of an equality comparison when case-insensitive matching is enabled. If one service method name prefixes another and the methods have different access rules, a request for the longer method can match the shorter method's rule and cause incorrect authorization. This issue is fixed in versions 1.13.1 and 1.14.1.
Title @grpc/grpc-js: The exact path match matcher incorrectly only applies a prefix match for case-insensitive matches
Weaknesses CWE-187
CWE-863
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-28T19:46:53.330Z

Reserved: 2026-09-28T15:55:37.907Z

Link: CVE-2026-101914

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-28T20:17:09.453

Modified: 2026-09-28T20:17:09.453

Link: CVE-2026-101914

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-28T20:30:06Z

Weaknesses