---
id: CVE-2026-103918
title: >-
  oRPC is a tool that helps build APIs that are end-to-end type-safe and adhere
  to OpenAPI standards
summary: >-
  oRPC is a tool that helps build APIs that are end-to-end type-safe and adhere
  to OpenAPI standards. Prior to 1.14.10, the @orpc/zod ZodSmartCoercionPlugin
  and experimental_ZodSmartCoercionPlugin collect object and record properties
  in pl…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-915
  - CWE-1321
vendor: middleapi
product: orpc
affected:
  - orpc < 1.14.10
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T20:17:00.067'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103918'
references:
  - url: >-
      https://github.com/middleapi/orpc/commit/26314dfb443237c495116c5794d3d30a7a22c570
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/pull/1727'
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/releases/tag/v1.14.10'
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/security/advisories/GHSA-gcgf-fh7c-8gf2'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-02T22:33:09.842Z'
---

## Overview

oRPC is a tool that helps build APIs that are end-to-end type-safe and adhere to OpenAPI standards. Prior to 1.14.10, the @orpc/zod ZodSmartCoercionPlugin and experimental_ZodSmartCoercionPlugin collect object and record properties in plain objects and resolve shape keys through the prototype chain. A remote client that can reach a procedure with an object or record input can supply __proto__ to replace the prototype of the returned request object, allowing attacker-controlled inherited values to reach application lookups. For object schemas, keys such as constructor, toString, and __proto__ can instead resolve inherited members as Zod schemas and cause an unhandled TypeError before validation. The global Object.prototype, unrelated objects, other requests, and other users are not modified, and the availability effect is limited to crafted requests rather than persistent process-wide state. This issue is fixed in version 1.14.10.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
