6.5medium
@grpc/grpc-js: The exact path match matcher incorrectly only applies a prefix match for case-insensitive matches
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-88h9-xgvx-hvf2
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| grpc grpc-node | < 1.13.1, >= 1.14.0, < 1.14.1 | CVE List |
| @grpc/grpc-js-xds (npm) | before 1.13.1, from 1.14.0 before 1.14.1 | GitHub Advisory Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
Classification
What each source says
CVE List
@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.
GitHub Advisory Database
Impact
When using RBAC to apply authentication rules, the exact path (method name) matcher applies a prefix match instead of an exact match for case-insensitive matches. As a result, if a service has a method with a name that is a prefix of the name of a different method, and they have different access rules, and case-insensitive matching is used, this bug can cause improper authentication.
Patches
This vulnerability is fixed in 1.13.1 and 1.14.1.
Workarounds
This problem can be avoided by enabling case-sensitive path matching.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-101914 changed 2026-09-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-88h9-xgvx-hvf2 changed 2026-10-14 | CC-BY-4.0 |
| NVD | CVE-2026-101914 changed 2026-09-30 | Public domain |