CVE-2026-101916: @grpc/grpc-js: In certain configurations, getAuthContext can return unauthorized certificates as though they were authorized
Impact When server credentials are created with the requireClientCertificate option set to false, getAuthContext does not distinguish between authorized and unauthorized certificates in its return value. This can create improper authentication vulnerabilities for @grpc/grpc-js users who use the result of getAuthContext for authentication.
Published Sep 30, 2026
Affected packages
@grpc/grpc-js
- Ecosystem
- npm
- Affected
- < 1.13.6
- Fixed in
- 1.13.6
- Check
npm ls @grpc/grpc-js
@grpc/grpc-js
- Ecosystem
- npm
- Affected
- >= 1.14.0, < 1.14.5
- Fixed in
- 1.14.5
- Check
npm ls @grpc/grpc-js
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
When server credentials are created with the requireClientCertificate option set to false, getAuthContext does not distinguish between authorized and unauthorized certificates in its return value. This can create improper authentication vulnerabilities for @grpc/grpc-js users who use the result of getAuthContext for authentication.
In particular, @grpc/grpc-js-xds can both set the requireClientCertificate option to false and use the return value of getAuthContext for RBAC authentication in some configurations.
Patches
This vulenrability is fixed in 1.13.6 and 1.14.5.
Workarounds
@grpc/grpc-js users using getAuthContext this way can avoid this problem by setting requireClientCertificate to true. @grpc/grpc-js-xds users using RBAC can avoid this by setting the require_client_certificate field to true in the DownstreamTlsContext in the xDS configuration.
Credited to manqingzhou.
References
- https://github.com/grpc/grpc-node/security/advisories/GHSA-m9gg-hp2v-232j
- https://nvd.nist.gov/vuln/detail/CVE-2026-101916
- https://github.com/grpc/grpc-node/commit/2a84ec8b01b9db68ed9d2b117a53a81449edb8ee
- https://github.com/grpc/grpc-node/commit/b4e0079c6d22a2adedfcac748e0bc083f783bc7c
- https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js%401.14.5
- https://github.com/advisories/GHSA-m9gg-hp2v-232j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-101915
@grpc/grpc-js: The server transmits some error messages thrown by method handlers to the client in status messages
low3.7Sep 30, 2026CVE-2026-48068
@grpc/grpc-js: A malformed request can cause a server crash
high7.5Jun 11, 2026CVE-2026-48069
@grpc/grpc-js: An incoming malformed compressed message can cause a client or server crash
high7.5Jun 11, 2026CVE-2024-37168
@grpc/grpc-js can allocate memory for incoming messages well above configured limits
medium5.3Jun 10, 2024
