Partial String Comparison Affecting @grpc/grpc-js-xds package, versions <1.13.1>=1.14.0 <1.14.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-GRPCGRPCJSXDS-20251002
  • published29 Sept 2026
  • disclosed28 Sept 2026
  • creditSherry Zhou

Introduced: 28 Sep 2026

NewCVE-2026-101914  (opens in a new tab)
CWE-187  (opens in a new tab)

How to fix?

Upgrade @grpc/grpc-js-xds to version 1.13.1, 1.14.1 or higher.

Overview

@grpc/grpc-js-xds is a Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.

Affected versions of this package are vulnerable to Partial String Comparison via the PathExactValueMatcher.apply method in matcher.ts, where the case-insensitive exact path match incorrectly uses a prefix match (startsWith) instead of a strict equality check. When RBAC rules are configured to enforce authentication based on exact path (method name) matching, an attacker can bypass those rules by appending arbitrary suffixes to a permitted path, causing requests that should be denied to be incorrectly allowed.

CVSS Base Scores

version 4.0
version 3.1