Advisory

GHSA-m9gg-hp2v-232j

Also known as: CVE-2026-101916

Summary

@grpc/grpc-js: In certain configurations, getAuthContext can return unauthorized certificates as though they were authorized

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-09-30 15:35 UTC
Modified
2026-09-30 15:45 UTC

Affected packages and fixes

@grpc/grpc-js

npm · All systems

Affected

  • introduced 0, fixed 1.13.6 (semver)

Fixed versions

1.13.6

Fix

@grpc/grpc-js

npm · All systems

Affected

  • introduced 1.14.0, fixed 1.14.5 (semver)

Fixed versions

1.14.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences