GHSA-f596-whhp-79r4
@grpc/grpc-js: The server transmits some error messages thrown by method handlers to the client in status messages
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @grpc/grpc-js | < 1.13.6 | 1.13.6 |
| npm | @grpc/grpc-js | >= 1.14.0, < 1.14.5 | 1.14.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
If an application method handler crashes, the error message is included in the status message sent to the client. This can leak to the client any sensitive data that may be included in the error message. This impacts anyone using `@grpc/grpc-js` to run servers.
### Patches
This vulnerability is fixed in 1.13.6 and 1.14.5.
### Workarounds
This can be avoided by using a top-level error handler in method handlers to strip out sensitive error information.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/grpc/grpc-node/security/advisories/GHSA-f596-whhp-79r4
- https://nvd.nist.gov/vuln/detail/CVE-2026-101915
- https://github.com/grpc/grpc-node/commit/350de32860428cc62473a00bee4035360690ffea
- https://github.com/grpc/grpc-node/commit/7c5c5181159c6ddd292805881ef2cdec29bb475f
- https://github.com/grpc/grpc-node/commit/e8329b122ca99ba10877e990c2f6edd40224fd0d
- https://github.com/grpc/grpc-node
- https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js%401.13.6
- https://github.com/grpc/grpc-node/releases/tag/@grpc/grpc-js%401.14.5