Incorrect Authorization Affecting @grpc/grpc-js-xds package, versions >=1.14.0 <1.14.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.45% (40th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-GRPCGRPCJSXDS-22565996
  • published16 Nov 2026
  • disclosed13 Nov 2026
  • creditYounghun Ko

Introduced: 13 Nov 2026

NewCVE-2026-128065  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade @grpc/grpc-js-xds to version 1.14.2 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 Incorrect Authorization via three bugs in XdsServer RBAC override handling in packages/grpc-js-xds/src/server.ts and packages/grpc-js-xds/src/http-filter/rbac-filter.ts. First, parseOverrideFilterConfig() looks up the filter registry using the override message type (RBACPerRoute), but setup() registers the filter only under the top-level RBAC type, so the lookup always returns null. Second, overrideConfigMaps is keyed by HTTP filter name but is populated using filterConfig.typeUrl, causing route-level lookups by filter name to miss the stored map. Third, handleRouteConfigurationResource() reads route.typed_per_filter_config but never reads virtualHost.typed_per_filter_config. Together, these bugs cause XdsServer to ACK Route and VirtualHost resources while silently discarding all RBACPerRoute override configurations, so RPCs are evaluated under the broad top-level ALLOW policy and requests that should be denied by a stricter override are accepted.

Note: This is only exploitable when the GRPC_XDS_EXPERIMENTAL_RBAC environment variable is set to true and a trusted xDS control plane supplies a broad top-level ALLOW policy with a stricter RBACPerRoute override.

CVSS Base Scores

version 4.0
version 3.1