dep9-grpc-advisory.json
{"ghsa_id":"GHSA-m9gg-hp2v-232j","cve_id":"CVE-2026-101916","url":"https://api.github.com/advisories/GHSA-m9gg-hp2v-232j","html_url":"https://github.com/advisories/GHSA-m9gg-hp2v-232j","summary":"@grpc/grpc-js: In certain configurations, getAuthContext can return unauthorized certificates as though they were authorized","description":"### Impact\nWhen 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.\n\nIn 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.\n\n### Patches\n\nThis vulenrability is fixed in 1.13.6 and 1.14.5.\n\n### Workarounds\n`@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.","type":"reviewed","severity":"high","repository_advisory_url":"https://api.github.com/repos/grpc/grpc-node/security-advisories/GHSA-m9gg-hp2v-232j","source_code_location":"https://github.com/grpc/grpc-node","identifiers":[{"value":"GHSA-m9gg-hp2v-232j","type":"GHSA"},{"value":"CVE-2026-101916","type":"CVE"}],"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"],"published_at":"2026-09-30T15:35:53Z","updated_at":"2026-09-30T15:35:57Z","github_reviewed_at":"2026-09-30T15:35:53Z","nvd_published_at":"2026-09-28T21:17:13Z","withdrawn_at":null,"vulnerabilities":[{"package":{"ecosystem":"npm","name":"@grpc/grpc-js"},"vulnerable_version_range":"< 1.13.6","first_patched_version":"1.13.6","vulnerable_functions":[]},{"package":{"ecosystem":"npm","name":"@grpc/grpc-js"},"vulnerable_version_range":">= 1.14.0, < 1.14.5","first_patched_version":"1.14.5","vulnerable_functions":[]}],"cvss_severities":{"cvss_v3":{"vector_string":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4},"cvss_v4":{"vector_string":null,"score":0.0}},"cwes":[{"cwe_id":"CWE-295","name":"Improper Certificate Validation"}],"credits":[{"user":{"login":"manqingzhou","id":45668289,"node_id":"MDQ6VXNlcjQ1NjY4Mjg5","avatar_url":"https://avatars.githubusercontent.com/u/45668289?v=4","gravatar_id":"","url":"https://api.github.com/users/manqingzhou","html_url":"https://github.com/manqingzhou","followers_url":"https://api.github.com/users/manqingzhou/followers","following_url":"https://api.github.com/users/manqingzhou/following{/other_user}","gists_url":"https://api.github.com/users/manqingzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/manqingzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manqingzhou/subscriptions","organizations_url":"https://api.github.com/users/manqingzhou/orgs","repos_url":"https://api.github.com/users/manqingzhou/repos","events_url":"https://api.github.com/users/manqingzhou/events{/privacy}","received_events_url":"https://api.github.com/users/manqingzhou/received_events","type":"User","user_view_type":"public","site_admin":false},"type":"reporter"}],"comments":2,"cvss":{"vector_string":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4},"epss":{"percentage":0.00208,"percentile":0.09723}}