grpc/grpc-node · Security
@grpc/grpc-js: The exact path match matcher incorrectly only applies a prefix match for case-insensitive matches
- GHSA ID
- GHSA-88h9-xgvx-hvf2
- CVE ID
- CVE-2026-101914
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Description
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.
CWEs
- CWE-187 · Partial String Comparison
- CWE-863 · Incorrect Authorization
References
- https://github.com/grpc/grpc-node/security/advisories/GHSA-88h9-xgvx-hvf2 ↗
- https://github.com/grpc/grpc-node/commit/6cf64b596da03f1942a6b168998f0670217a99c4 ↗
- https://github.com/grpc/grpc-node/commit/a6c5b31180cc8cea94d0a5ea215ce31a49e0409f ↗
- https://github.com/grpc/grpc-node/commit/f32f3712e44581d8dfc8359bd8d30096662f4c75 ↗
- https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js-xds%401.13.1 ↗
- https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js-xds%401.14.1 ↗
- https://github.com/advisories/GHSA-88h9-xgvx-hvf2 ↗