CVE-2026-103036 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.9, the @orpc/json-schema SmartCoercionPlugin uses JsonSchemaCoercer to collect object properties in a plain object and to resolve schema.properties entries through the prototype chain. A remote client that can reach a procedure with an object input schema can supply __proto__ to replace the prototype of the single coerced request object, or supply Object.prototype member names such as constructor and toString so inherited values are treated as sub-schemas and pass the coercer's satisfaction check. Attacker-controlled inherited properties can consequently affect handler, Object.assign, or configuration lookups, while legitimate __proto__ properties are dropped. The global Object.prototype, unrelated objects, other requests, and other users are not modified, and downstream schema validation still runs. This issue is fixed in version 1.14.9.
A prototype injection vulnerability has been identified in oRPC versions prior to 1.14.9. The issue arises in the @orpc/json-schema SmartCoercionPlugin, which improperly handles object properties by collecting them into a plain object and resolving schema properties through the prototype chain. This allows a remote client to manipulate the prototype of the coerced request object by supplying __proto__ or inherited Object.prototype member names, such as constructor and toString. As a result, attacker-controlled inherited properties can interfere with application logic by affecting handler functions, Object.assign operations, or configuration lookups. Although the vulnerability does not modify the global Object.prototype or affect other objects, requests, or users, it can lead to unintended consequences within the scope of the individual request.
Users can update to oRPC version 1.14.9 or later, where this vulnerability has been fixed. If automatic coercion is not needed, the SmartCoercionPlugin can be removed.
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/8a352622e756e8956311f5836cd5c5b9219c0666 | [email protected] | Source CodeVendor |
| https://github.com/middleapi/orpc/pull/1726 | [email protected] | Source CodeVendor |
| https://github.com/middleapi/orpc/releases/tag/v1.14.9 | [email protected] | Release NotesVendor |
| https://github.com/middleapi/orpc/security/advisories/GHSA-4h5r-cv8j-4456 | [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 JSON Schema | <= 1.14.8 (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