Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted gRPC request to server method
-
ExploitInduce uncaught exception in handler
-
ExecutionServer embeds raw error.message in status
-
ImpactRead leaked sensitive data from status details
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message content control
|
| Exploitation Conditions | Exploitation requires that (1) an application method handler on the @grpc/grpc-js server (versions before 1.13.6 or 1.14.5) throws an uncaught error, and (2) that error's message string contains sensitive data such as internal paths, SQL, or connection details. The attacker can send RPCs without authentication (PR:N) but does not control the content of the thrown error, which is why disclosure is opportunistic (AC:H). Limiting factors: leakage only happens for genuinely uncaught exceptions (handlers with proper try/catch or generic error mapping are unaffected), the leaked message is whatever the application itself produced, and the fix makes generic 'Unknown error' the default - detailed errors are now strictly opt-in via GRPC_NODE_DEBUG_SEND_ERROR_DETAILS=true, so patched-but-misconfigured servers can re-enable the behavior. |
| Impact | This is a genuinely low-priority issue confirmed by multiple aligned signals. The vendor CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N = 3.7 LOW) is internally consistent with the CWE-550 (exposure of information through error messages) classification and the source-code evidence: the pre-fix server unconditionally embedded |
| Exploit ScenarioDerived | An attacker repeatedly invokes gRPC methods on an affected Node.js server with malformed or edge-case inputs, hoping to trigger uncaught exceptions inside method handlers. When a handler throws (e.g., a database driver error or filesystem error), the raw error message - potentially containing SQL fragments, internal paths, connection strings, or stack context - is returned verbatim in the gRPC status message. No public exploit code was identified at time of analysis, and success depends entirely on the target application's own error handling and whether its errors contain sensitive data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Uncaught exceptions raised inside server method handlers in @grpc/grpc-js leak their error message text back to the calling client, exposing internal details such as file paths, SQL fragments, or connection strings. The flaw affects the pure-JavaScript gRPC implementation for Node.js in versions before 1.13.6 and before 1.14.5, and remote clients can trigger it without authentication (CVSS 3.7, AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N), though disclosure is opportunistic because the attacker cannot control what the handler throws. No public exploit code has been identified and the issue is not reported as actively exploited, but it is a straightforward logic flaw with a trivially reachable trigger for any server whose handlers throw unguarded errors.
RemediationAI
Vendor-released patch: upgrade @grpc/grpc-js to 1.13.6 or 1.14.5 (or the next release in your supported line), which changes the default status details for uncaught handler errors to the generic string 'Unknown error'. After upgrading, verify that GRPC_NODE_DEBUG_SEND_ERROR_DETAILS is unset or explicitly 'false' in every environment - setting it to 'true' deliberately restores the verbose behavior and re-exposes the leak, so it must never be enabled in production. Where an immediate upgrade is not possible, the practical compensating control is to wrap every method handler body in try/catch and convert exceptions into sanitized status errors before they reach the library, or to move sensitive diagnostics into server-side logs keyed by a correlation ID rather than into the thrown Error message; the trade-off is that this requires touching each handler and can be missed as new RPCs are added, whereas the library upgrade is a one-line dependency change. Additional defense in depth is to avoid embedding connection strings, SQL, or filesystem paths in exception text at all, since the same strings tend to surface in other logs and error surfaces. Fixes are tracked in upstream commits 350de32860428cc62473a00bee4035360690ffea, 7c5c5181159c6ddd292805881ef2cdec29bb475f, and e8329b122ca99ba10877e990c2f6edd40224fd0d, with the advisory at https://github.com/grpc/grpc-node/security/advisories/GHSA-f596-whhp-79r4.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-550 (Server-generated Error Message Containing Sensitive Information) in @grpc/grpc-js, the JavaScript-only implementation of gRPC for Node.js that avoids the C++ addon. In gRPC, a failed RPC returns a Status object combining a numeric code with a human-readable status message; before the fix, the four server-side handler wrappers (handleUnary, handleClientStreaming, handleServerStreaming, handleBidiStreaming) built that status message with a template literal that interpolated (err as Error).message from any uncaught throw, so the raw exception string was serialized onto the wire. The root cause is the conflation of a debugging aid with a client-facing protocol field, with no sanitization boundary between server internals and the response. The upstream fix introduces an environment flag, GRPC_NODE_DEBUG_SEND_ERROR_DETAILS (documented in doc/environment_variables.md), and switches the default behavior to a generic 'Unknown error' details string, making detailed leakage strictly opt-in. Because the message travels inside the gRPC status frame rather than in application payload, the exposure is silent, appears in normal telemetry, and is limited to information that the throwing code itself supplied.
Know when Grpc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Remotely reachable RPC endpoint (AV:N, PR:N), but leakage is contingent on an uncaught handler error whose message holds sensitive data (AC:H); only partial confidentiality impact (C:L), no integrity or availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
@grpc/grpc-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to 1.13.6 and 1.14.5, when an application method handler throws an uncaught error, the server includes its error message in the status message sent to the client. The thrown error message is transmitted to the client, causing sensitive information disclosure when the message contains sensitive data. This issue is fixed in versions 1.13.6 and 1.14.5.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Google gRPC before 2017-03-29 has an out-of-bounds write caused by a heap-based use-after-free related to the grpc_call_
Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remo
Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built
Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to cra
Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a sin
Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers
Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one
It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba
Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni
Google gRPC before 2017-02-22 has an out-of-bounds write related to the gpr_free function in core/lib/support/alloc.c. R
Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg
EUVD-2026-88468
GHSA-f596-whhp-79r4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB