CVE-2026-101916: @grpc/grpc-js Security Vulnerability Vulnerability
HIGHCVE-2026-101916 is a HIGH (CVSS 7.4) security vulnerability vulnerability (CWE-295: Improper Certificate Validation) affecting @grpc/grpc-js libraries in the npm ecosystem. The issue involves in certain configurations, getauthcontext can return unauthorized certificates as though they were authorized. Remediation is available by upgrading affected packages to version 1.13.6, 1.14.5.
CVE-2026-101916 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-101916
To remediate this vulnerability, upgrade all affected @grpc/grpc-js dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @grpc/grpc-js@1.13.6
npm install @grpc/grpc-js@1.14.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @grpc/grpc-js
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-101916, inspect your project dependencies using npm:
npm ls @grpc/grpc-js
Analyze the terminal output to locate any version of @grpc/grpc-js in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13.6), your application is affected.
Note: The npm ls @grpc/grpc-js command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In @grpc/grpc-js, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-101916 Affected @grpc/grpc-js Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@grpc/grpc-js
|
npm |
< 1.13.6
|
1.13.6
|
|
@grpc/grpc-js
|
npm |
≥ 1.14.0
< 1.14.5
|
1.14.5
|
References
Frequently Asked Questions
What is CVE-2026-101916?
Which @grpc/grpc-js versions are affected?
What version fixes CVE-2026-101916?
Is @grpc/grpc-js affected?
What is the CVSS score of CVE-2026-101916?
What CWE is associated with CVE-2026-101916?
How can I check npm dependencies for CVE-2026-101916?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m9gg-hp2v-232j",
"modified" : "2026-09-30T15:35:53Z",
"published" : "2026-09-30T15:35:53Z",
"aliases" : [ "CVE-2026-101916" ],
"summary" : "@grpc/grpc-js: In certain configurations, getAuthContext can return unauthorized certificates as though they were authorized",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@grpc/grpc-js"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.13.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@grpc/grpc-js"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.14.0"
}, {
"fixed" : "1.14.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc-node/security/advisories/GHSA-m9gg-hp2v-232j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-101916"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc-node/commit/2a84ec8b01b9db68ed9d2b117a53a81449edb8ee"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc-node/commit/b4e0079c6d22a2adedfcac748e0bc083f783bc7c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grpc/grpc-node"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js%401.14.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-30T15:35:53Z",
"nvd_published_at" : "2026-09-28T21:17:13Z"
}
}