CVE-2026-101914: @grpc/grpc-js The Exact Path Match Matcher Vulnerability

MODERATE
Advisory Identifier: GHSA-88h9-xgvx-hvf2
CVSS 6.5
CWE-187 CWE-863
Published
Advisory Summary

CVE-2026-101914 is a MODERATE (CVSS 6.5) the exact path match matcher vulnerability (CWE-187: Partial String Comparison) affecting @grpc/grpc-js libraries in the npm ecosystem. The issue involves the exact path match matcher incorrectly only applies a prefix match for case-insensitive matches. Remediation is available by upgrading affected packages to version 1.13.1, 1.14.1.

CVE-2026-101914 at a Glance

CVE Identifier CVE-2026-101914
GHSA Identifier GHSA-88h9-xgvx-hvf2
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-187: Partial String Comparison
Affected Product @grpc/grpc-js
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-101914

To remediate this vulnerability, upgrade all affected @grpc/grpc-js dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@grpc/grpc-js-xds fixed: 1.13.1
npm install @grpc/grpc-js-xds@1.13.1
@grpc/grpc-js-xds fixed: 1.14.1
npm install @grpc/grpc-js-xds@1.14.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @grpc/grpc-js-xds

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-101914, inspect your project dependencies using npm:

npm ls @grpc/grpc-js-xds

Analyze the terminal output to locate any version of @grpc/grpc-js in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13.1), your application is affected.

Note: The npm ls @grpc/grpc-js-xds command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-187: Partial String Comparison, where the product performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant weaknesses. In @grpc/grpc-js, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-101914 Affected @grpc/grpc-js Versions

2 component(s)
Fixed Versions:
1.13.11.14.1
Product / Package Ecosystem Affected Versions Fixed Version
@grpc/grpc-js-xds
npm
< 1.13.1
1.13.1
@grpc/grpc-js-xds
npm
≥ 1.14.0
< 1.14.1
All 1 versions
1.14.0
1.14.1

References

Frequently Asked Questions

What is CVE-2026-101914?
CVE-2026-101914 is a security vulnerability in @grpc/grpc-js involving The exact path match matcher incorrectly only applies a prefix match for case-insensitive matches under CWE-187: Partial String Comparison.
Which @grpc/grpc-js versions are affected?
Affected versions include releases prior to 1.13.1, 1.14.1 across affected packages: @grpc/grpc-js-xds.
What version fixes CVE-2026-101914?
Upgrading to 1.13.1, 1.14.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @grpc/grpc-js-xds affected?
Yes, @grpc/grpc-js-xds is affected in releases prior to 1.13.1, 1.14.1. Upgrade your dependency to 1.13.1, 1.14.1 or later.
What is the CVSS score of CVE-2026-101914?
CVE-2026-101914 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N.
What CWE is associated with CVE-2026-101914?
CVE-2026-101914 is classified under CWE-187: Partial String Comparison (The product performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant weaknesses.).
How can I check npm dependencies for CVE-2026-101914?
Run the dependency tree command: 'npm ls @grpc/grpc-js-xds'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-88h9-xgvx-hvf2",
  "modified" : "2026-09-28T19:46:29Z",
  "published" : "2026-09-28T19:43:51Z",
  "aliases" : [ "CVE-2026-101914" ],
  "summary" : "@grpc/grpc-js: The exact path match matcher incorrectly only applies a prefix match for case-insensitive matches",
  "details" : "### Impact\nWhen 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.\n\n### Patches\n\nThis vulnerability is fixed in 1.13.1 and 1.14.1.\n\n### Workarounds\nThis problem can be avoided by enabling case-sensitive path matching.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@grpc/grpc-js-xds"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.13.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@grpc/grpc-js-xds"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.14.0"
      }, {
        "fixed" : "1.14.1"
      } ]
    } ],
    "versions" : [ "1.14.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-node/security/advisories/GHSA-88h9-xgvx-hvf2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-node/commit/6cf64b596da03f1942a6b168998f0670217a99c4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-node/commit/a6c5b31180cc8cea94d0a5ea215ce31a49e0409f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-node/commit/f32f3712e44581d8dfc8359bd8d30096662f4c75"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/grpc/grpc-node"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js-xds%401.13.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js-xds%401.14.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-187", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-28T19:43:51Z",
    "nvd_published_at" : null
  }
}