THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-gcgf-fh7c-8gf2 (medium) — @orpc/zod: Prototype injection in smart coercion

[GHSA] GHSA-gcgf-fh7c-8gf2 (medium) — @orpc/zod: Prototype injection in smart coercion

medgithub_advisoriesPublished 2026-10-05

GHSA-gcgf-fh7c-8gf2 Severity: medium CVE: CVE-2026-103918

@orpc/zod: Prototype injection in smart coercion

## Summary

`ZodSmartCoercionPlugin` and `experimental_ZodSmartCoercionPlugin` mishandle object keys that name `Object.prototype` members. Both coerce request input before validation, so any client that can reach a procedure whose input schema contains an object or a record can:

1. replace

Indicators of compromise

Original source: https://github.com/advisories/GHSA-gcgf-fh7c-8gf2