Critical, CVSS 9.3npmAmendedPublished
@orpc/client has Prototype Pollution via StandardRPCJsonSerializer Deserialization
CVE-2026-28794 · GHSA-m272-9rp6-32mc
- Affected
- npm @orpc/client <= 1.13.5
- Fixed in
- 1.13.6· Vendor fix available
- Issue
- A critical Prototype Pollution vulnerability exists in the RPC JSON deserializer of the @orpc/client package. The vulnerability allows unauthenticated, remote attackers to inject arbitrary properties into the global Object.prototype. Because this pollution persists for the lifetime of the Node.js process and affects all objects, it can lead to severe security breaches, including authentication bypass, denial of service, and potentially Remote Code Execution. Vulnerability Details The root cause lies in the deserialize() method of StandardRPCJsonSerializer. When processing attacker-controlled path segments from the meta and maps arrays, the deserializer fails to implement validation or sanitization for dangerous JavaScript object keys, specifically proto and constructor: https://github.com/middleapi/orpc/blob/819ed2e0897b18a5d6a4ca85ba68568f055004a1/packages/client/src/adapters/standard/rpc-json-serializer.ts#L137-L213 There are two primary distinct write vectors available to…
Recommended action: Upgrade to 1.13.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.