Read the docs

@orpc/zod: Prototype injection in smart coercion

Priority LOW 34CWE-1321Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Tampering
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-915.

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 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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00248 16th percentileScored 2026-11-07
Fix Fixed orpc (middleapi): 1.14.10@orpc/zod (npm): 1.14.10

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
middleapiorpcbefore 1.14.101.14.10Patch availableCNA
—@orpc/zod (npm)before 1.14.101.14.10Patch availableGHSA-gcgf-fh7c-8gf2
  • orpc Vendormiddleapi Affected before 1.14.10 Fixed in 1.14.10 Patch available CNA
  • @orpc/zod (npm) Vendor— Affected before 1.14.10 Fixed in 1.14.10 Patch available GHSA-gcgf-fh7c-8gf2

Remediation

  • Fix · CNA orpc (middleapi) Fixed in 1.14.10
  • Fix · GHSA-gcgf-fh7c-8gf2 @orpc/zod (npm) Fixed in 1.14.10 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-103918
  2. 2026-10-04 Priority changed: MEDIUM → LOW
  3. 2026-10-05 CISA SSVC decision points changed
  4. 2026-10-05 Alias added: GHSA-gcgf-fh7c-8gf2
  5. 2026-10-05 Fix available: npm/@orpc/[email protected] · GHSA-gcgf-fh7c-8gf2
  6. 2026-10-05 CVSS score added · GHSA-gcgf-fh7c-8gf2
  7. 2026-10-05 Weakness changed · GHSA-gcgf-fh7c-8gf2
  8. 2026-10-05 6 new references · GHSA-gcgf-fh7c-8gf2

References

  • TI-2026-53979 oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass CVSS 4.0MEDIUM 6.3
  • TI-2026-66014 @orpc/json-schema: Prototype injection in smart coercion CVSS 3.1MEDIUM 6.5

Sources