๐Ÿ” CVE Alert

CVE-2026-103918

MEDIUM 6.5

@orpc/zod: Prototype injection in smart coercion

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-915 CWE-1321
Vendor middleapi
Product orpc
Published Oct 2, 2026
Stay Ahead of the Next One

Get instant alerts for middleapi orpc

Be the first to know when new medium vulnerabilities affecting middleapi orpc are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

middleapi / orpc
< 1.14.10

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/middleapi/orpc/security/advisories/GHSA-gcgf-fh7c-8gf2 github.com: https://github.com/middleapi/orpc/pull/1727 github.com: https://github.com/middleapi/orpc/commit/26314dfb443237c495116c5794d3d30a7a22c570 github.com: https://github.com/middleapi/orpc/releases/tag/v1.14.10