gRPC JavaScript Implementation Vulnerability in gRPC-xds by Google
CVE-2026-126367
What is CVE-2026-126367?
A vulnerability exists in the gRPC JavaScript implementation where the SafeRegexValueMatcher and PathSafeRegexValueMatcher improperly handle regular expressions. Specifically, these matchers add start and end anchors without correctly grouping a provided top-level alternation. As a result, expressions intended to match complete values can inadvertently match prefixes, substrings, or suffixes. This flaw impacts route selection, xDS credential identity matching, and various RBAC rules for URL paths and headers, potentially allowing unauthorized access through misplaced ALLOW or DENY policies. The issue has been addressed in versions 1.13.2 and 1.14.2, which include the necessary fixes.
Affected Version(s)
grpc-node < 1.13.2 < 1.13.2
grpc-node >= 1.14.0, < 1.14.2 < 1.14.0, 1.14.2
