CVE-2026-126367
@grpc/grpc-js implements the core functionality of gRPC purely in …
@grpc/grpc-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Before 1.13.2, and from 1.14.0 through 1.14.1, the @grpc/grpc-js-xds SafeRegexValueMatcher and PathSafeRegexValueMatcher add start and end anchors without grouping a supplied top-level alternation. An expression intended to match one of several complete values can therefore match a prefix, substring, or suffix. The affected matchers are used for route selection, xDS credential identity matching, and RBAC URL path, principal name, server name, and header rules. An ALLOW policy using an alternation can consequently accept a method, certificate identity, or header value outside the intended set, while a DENY policy becomes broader rather than permissive. This issue is fixed in versions 1.13.2 and 1.14.2.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/grpc/grpc-node/security/advisories/GHSA-r7hq-q2xm-6c5m
- github.com/grpc/grpc-node/commit/3fc3b0ebf7a89d64843a73679951142d33b40cb1
- github.com/grpc/grpc-node/commit/57a67e96babcb29b6eabc1833221ccf2fa152d43
- github.com/grpc/grpc-node/releases/tag/@grpc/[email protected]
- github.com/grpc/grpc-node/releases/tag/@grpc/[email protected]
- github.com/advisories/GHSA-r7hq-q2xm-6c5m
- nvd.nist.gov/vuln/detail/CVE-2026-126367
- cve.org/CVERecord?id=CVE-2026-126367
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.