MEDIUM · CVSS 4.0 EPSS 0.5% · 34th percentile CWE-863

CVE-2026-128065: @grpc/grpc-js: RBAC override configs in VirtualHost and Route resources are not applied

Published 2026-11-12 · Updated 2026-11-12 · Also known as GHSA-gg5j-6742-v827

Summary

A flaw in @grpc/grpc-js-xds causes RBAC override configurations in VirtualHost and Route resources to be ignored. Engineering teams using xDS server RBAC policies with route-level overrides must update their packages.

Who is affected

Users of @grpc/grpc-js-xds who implement RBAC-based authentication utilizing override configurations may unintentionally accept requests that should otherwise be denied. Deployments relying on granular route or virtual host restrictions will instead fall back to evaluating broader top-level policies.

Exploitability

The vulnerability is remotely exploitable over the network with low attack complexity and no privileges or user interaction required. It holds a medium CVSS base severity with a low confidentiality and integrity impact, an EPSS score of 0.004, and is not currently listed as a CISA Known Exploited Vulnerability.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm @grpc/grpc-js-xds >= 1.14.0, < 1.14.2 1.14.2 npm install @grpc/[email protected]

CVSS 4.0 vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Attack vectorNetwork
Attack complexityLow
Attack requirementsNone
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)Low
Integrity (vulnerable system)Low
Availability (vulnerable system)None
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

What packages are affected?

The npm package @grpc/grpc-js-xds versions introduced at 1.14.0 and fixed in 1.14.2 are affected.

What happens if an override configuration is supplied?

The server ACKs the xDS resources but silently skips the override, evaluating the RPC under the broader top-level policy instead.

Is this vulnerability actively exploited in the wild?

No, CISA Known Exploited Vulnerabilities indicates that it is not actively exploited.

Original advisory description
### Summary `XdsServer` in `@grpc/grpc-js-xds` does not apply `RBACPerRoute` overrides from matching Route or VirtualHost resources. When a trusted xDS control plane supplies a broad top-level ALLOW policy and a stricter override, `XdsServer` ACKs the resources but evaluates the RPC under the top-level policy. ### Details ### Override parser lookup uses the override message type `parseOverrideFilterConfig()` in packages/grpc-js-xds/src/http-filter.ts:225-257 looks up FILTER_REGISTRY using the override message type: `type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBACPerRoute` Source: https://github.com/grpc/grpc-node/blob/56567d9604b4e45cdca0d2e3c2a60ac227ee659d/packages/grpc-js-xds/src/http-filter.ts#L225-L257 `setup()` in packages/grpc-js-xds/src/http-filter/rbac-filter.ts:167-173 registers the filter only under the top-level RBAC type: `type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBAC` Source: https://github.com/grpc/grpc-node/blob/56567d9604b4e45cdca0d2e3c2a60ac227ee659d/packages/grpc-js-xds/src/http-filter/rbac-filter.ts#L167-L173 The lookup returns null even though the registered entry contains `parseOverrideRbacConfig()`, and server.ts silently skips the override. ### Override maps are keyed by type URL instead of filter name `overrideConfigMaps` in server.ts:99-102 is documented as keyed by HTTP filter name, but server.ts:169-174 stores each map under `filterConfig.typeUrl`. Source: https://github.com/grpc/grpc-node/blob/56567d9604b4e45cdca0d2e3c2a60ac227ee659d/packages/grpc-js-xds/src/server.ts#L99-L102 Source: https://github.com/grpc/grpc-node/blob/56567d9604b4e45cdca0d2e3c2a60ac227ee659d/packages/grpc-js-xds/src/server.ts#L169-L174 Route overrides are later looked up by their `typed_per_filter_config` key, which is the `HttpFilter.name`. An ordinary key such as rbac therefore misses the stored map. ### VirtualHost overrides are not read `handleRouteConfigurationResource()` in server.ts:225-249 reads `route.typed_per_filter_config` but never reads `virtualHost.typed_per_filter_config`. Source: https://github.com/grpc/grpc-node/blob/56567d9604b4e45cdca0d2e3c2a60ac227ee659d/packages/grpc-js-xds/src/server.ts#L225-L249 When no override reaches the RBAC interceptor, rbac-filter.ts:125-155 evaluates the broader top-level policy. ### Proof of concept Set: ``` GRPC_XDS_EXPERIMENTAL_RBAC=true ``` Run `XdsServer` with a protected unary handler. Have the ADS control plane deliver a Listener containing an RBAC HTTP filter named rbac with a top-level ALLOW-any policy: ``` name: rbac typed_config: "@type": type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBAC rules: action: ALLOW policies: allow-any: principals: [{ any: true }] permissions: [{ any: true }] ``` Deliver a matching non-forwarding route with this override: ``` typed_per_filter_config: rbac: "@type": type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBACPerRoute rbac: rules: action: DENY policies: deny-any: principals: [{ any: true }] permissions: [{ any: true }] ``` Invoke the protected unary method without credentials. Expected: The route-specific DENY policy rejects the RPC before the protected handler runs. Observed: `XdsServer` ACKs the resources, retains the top-level ALLOW policy, and runs the protected handler. ``` Listener and RouteConfiguration: ACKED gRPC status: OK handler invocations: 1 response: PROTECTED_SECRET_RECORD_RBAC_OVERRIDE ``` ### Impact Users of `@grpc/grpc-js-xds` who are using RBAC-based authentication with override configurations may unintentionally accept some requests that should be rejected.

References

Source records: GHSA-gg5j-6742-v827 (OSV.dev) · EPSS by FIRST, 2026-11-26.