Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-101915 Overview
CVE-2026-101915 is an information disclosure vulnerability in @grpc/grpc-js, the pure JavaScript implementation of gRPC used widely in Node.js server applications. When an application method handler throws an uncaught error, the gRPC server includes the raw error message in the status message returned to the client. Any sensitive data embedded in that error message, such as stack traces, database strings, or internal file paths, is exposed to remote callers. The issue is fixed in versions 1.13.6 and 1.14.5. It is classified under [CWE-550: Server-Generated Error Message Containing Sensitive Information].
Critical Impact
Remote clients can passively harvest sensitive server-side information by triggering handler exceptions, aiding reconnaissance and follow-on attacks against affected gRPC services.
Affected Products
- @grpc/grpc-js versions prior to 1.13.6 (1.13.x branch)
- @grpc/grpc-js versions prior to 1.14.5 (1.14.x branch)
- Node.js server applications using @grpc/grpc-js for gRPC services
Discovery Timeline
- 2026-09-28 - CVE-2026-101915 published to the National Vulnerability Database (NVD)
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-101915
Vulnerability Analysis
The defect lives in the server-side error handling path of @grpc/grpc-js. When a service method handler throws and does not catch the exception, the framework converts the JavaScript Error into a gRPC status. The prior implementation copied the error.message value directly into the outgoing grpc-message trailer sent back to the client.
Application developers often surface internal context in exception messages. Examples include SQL queries, connection URIs, authentication tokens, filesystem paths, or partial secrets embedded in validation errors. All of this content becomes network-observable to any client that can invoke the affected RPC. The vulnerability requires no authentication bypass and no memory corruption; it is a design-level leak of application state.
Root Cause
The root cause is trust in application-layer error text. The server transport code assumed that thrown error messages were safe to transmit as protocol-level status detail. There was no opt-in flag and no sanitizer between the application throw and the wire format.
Attack Vector
An attacker with network access to the gRPC endpoint issues calls crafted to trigger handler exceptions. The returned status message contains the raw application error text. Attackers can enumerate methods, submit malformed inputs, or exercise edge cases to elicit revealing exceptions across the service surface.
// Patch: introduce opt-in flag gating transmission of error details
// packages/grpc-js/src/environment.ts
export const GRPC_NODE_USE_ALTERNATIVE_RESOLVER =
(process.env.GRPC_NODE_USE_ALTERNATIVE_RESOLVER ?? 'false') === 'true';
export const GRPC_NODE_DEBUG_SEND_ERROR_DETAILS =
(process.env.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS ?? 'false') === 'true';
// packages/grpc-js/src/server.ts
import { CallEventTracker } from './transport';
import { Socket } from 'net';
import { Duplex } from 'stream';
import { GRPC_NODE_DEBUG_SEND_ERROR_DETAILS } from './environment';
Source: gRPC Node Commit 350de32
The fix adds a GRPC_NODE_DEBUG_SEND_ERROR_DETAILS environment flag. By default, application error messages are no longer forwarded to clients. Operators must explicitly opt in for debugging.
Detection Methods for CVE-2026-101915
Indicators of Compromise
- gRPC responses containing grpc-message trailers with stack traces, absolute file paths, or SQL fragments
- Repeated malformed or boundary-value RPC requests from a single client targeting many methods
- Application logs showing bursts of uncaught handler exceptions correlated with external client IPs
Detection Strategies
- Inventory package-lock.json and yarn.lock files across Node.js services for @grpc/grpc-js versions below 1.13.6 or 1.14.5
- Inspect outbound gRPC status trailers in staging traffic captures for unexpected internal detail leakage
- Correlate 5xx-equivalent gRPC status codes (UNKNOWN, INTERNAL) with error-message length spikes
Monitoring Recommendations
- Emit metrics for uncaught handler exceptions per method and alert on abnormal rates
- Log the size and category of grpc-message values returned to clients
- Enable centralized logging of dependency versions from container images and CI build manifests
How to Mitigate CVE-2026-101915
Immediate Actions Required
- Upgrade @grpc/grpc-js to 1.13.6 on the 1.13.x branch or 1.14.5 on the 1.14.x branch
- Do not set GRPC_NODE_DEBUG_SEND_ERROR_DETAILS=true in production environments
- Audit service handlers to ensure thrown errors never contain secrets, credentials, or PII
Patch Information
The fix ships in gRPC-js Release v1.13.6 and gRPC-js Release v1.14.5. See the gRPC Security Advisory GHSA-f596 for full details and the upstream commits 350de32, 7c5c518, and e8329b1 for the code changes.
Workarounds
- Wrap all service method handlers in try/catch blocks that map internal errors to generic status messages before rethrowing
- Add a gRPC server interceptor that rewrites outgoing error status messages to a fixed string such as "Internal error"
- Sanitize thrown exception messages at the source by removing paths, queries, and identifiers before propagation
# Upgrade the vulnerable dependency to a patched release
npm install @grpc/grpc-js@^1.14.5
# Or, for the 1.13.x line
npm install @grpc/grpc-js@^1.13.6
# Verify no unintended debug flag is set in production
unset GRPC_NODE_DEBUG_SEND_ERROR_DETAILS
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

