{"id":"CVE-2026-103036","state":"PUBLISHED","title":"@orpc/json-schema: Prototype injection in smart coercion","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.","publishedAt":"2026-10-02T19:59:23.947Z","updatedAt":"2026-10-05T20:01:40.650Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["middleapi orpc"],"affected":[{"vendor":"middleapi","product":"orpc","versions":[{"version":"< 1.14.9","status":"affected"}]}],"references":["https://github.com/middleapi/orpc/security/advisories/GHSA-4h5r-cv8j-4456","https://github.com/middleapi/orpc/pull/1726","https://github.com/middleapi/orpc/commit/8a352622e756e8956311f5836cd5c5b9219c0666","https://github.com/middleapi/orpc/releases/tag/v1.14.9"],"weaknesses":["CWE-915","CWE-1321"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/103xxx/CVE-2026-103036.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103036","state":"PUBLISHED","datePublished":"2026-10-02T19:59:23.947Z","dateUpdated":"2026-10-05T20:01:40.650Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-29T21:13:24.032Z"},"containers":{"cna":{"title":"@orpc/json-schema: Prototype injection in smart coercion","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"middleapi","product":"orpc","versions":[{"version":"< 1.14.9","status":"affected"}]}],"references":[{"url":"https://github.com/middleapi/orpc/security/advisories/GHSA-4h5r-cv8j-4456","name":"https://github.com/middleapi/orpc/security/advisories/GHSA-4h5r-cv8j-4456","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/middleapi/orpc/pull/1726","name":"https://github.com/middleapi/orpc/pull/1726","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/commit/8a352622e756e8956311f5836cd5c5b9219c0666","name":"https://github.com/middleapi/orpc/commit/8a352622e756e8956311f5836cd5c5b9219c0666","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/releases/tag/v1.14.9","name":"https://github.com/middleapi/orpc/releases/tag/v1.14.9","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-915","lang":"en","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-02T20:00:46.620Z"},"source":{"advisory":"GHSA-4h5r-cv8j-4456","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-05T20:01:32.154661Z","id":"CVE-2026-103036","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-05T20:01:40.650Z"}}]}}}