CVE-2026-103918 Details
Description
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.
A prototype injection vulnerability has been identified in the oRPC framework, specifically within the ZodSmartCoercionPlugin and experimental_ZodSmartCoercionPlugin, prior to version 1.14.10. These plugins improperly handle object and record properties, allowing a remote client to inject prototype values into the coerced input object. This is achieved by supplying __proto__ along with other keys that reference Object.prototype members, such as constructor or toString. The injected values can then be accessed through the application's prototype lookups, potentially leading to unintended behavior.
Users can update to oRPC version 1.14.10, where this vulnerability has been fixed. If automatic coercion is not needed, the Zod coercion plugins can be removed or replaced with the recommended SmartCoercionPlugin from @orpc/json-schema, which is also available in version 1.14.10.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 2, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/middleapi/orpc/commit/26314dfb443237c495116c5794d3d30a7a22c570 | [email protected] | Source CodeVendor |
| https://github.com/middleapi/orpc/pull/1727 | [email protected] | Issue TrackingSource CodeVendor |
| https://github.com/middleapi/orpc/releases/tag/v1.14.10 | [email protected] | Release NotesVendor |
| https://github.com/middleapi/orpc/security/advisories/GHSA-gcgf-fh7c-8gf2 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| middleapi oRPC | All versions |
CPE
Remediation
| |
| middleapi oRPC ZodSmartCoercionPlugin | < 1.14.10 (semver) |
CPE
Remediation
| |
| middleapi oRPC experimental_ZodSmartCoercionPlugin | < 1.14.10 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2026 | New CVE Received | [email protected] |
Volerion