{"id":"CVE-2026-103036","published":"2026-10-02T19:59:23Z","modified":"2026-10-05T20:01:40Z","title":"@orpc/json-schema: Prototype injection in smart coercion","vendor":"middleapi","product":"orpc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.26023,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/middleapi/orpc/security/advisories/GHSA-4h5r-cv8j-4456","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/middleapi/orpc/pull/1726","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/commit/8a352622e756e8956311f5836cd5c5b9219c0666","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/releases/tag/v1.14.9","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":5.2},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"middleapi","affectedVersions":[{"vendor":"middleapi","product":"orpc","versions":["< 1.14.9"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-05T20:01:32.154661Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-91791","exploited":false,"provenance":"source"}}