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.
Published: 2026-10-02
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Prototype Injection
Action: Apply Patch
AI Analysis

Impact

The vulnerability manifests as prototype injection within the @orpc/json-schema SmartCoercionPlugin. A remote client that can access a procedure with an object input schema can supply __proto__ or names of Object.prototype members so that the coercer treats inherited values as valid sub‑schemas. This allows an attacker to override or inject properties into the request object's prototype, and the coerced request is accepted and used by the API handler, Object.assign, or configuration lookups. While the global Object.prototype and unrelated objects remain unchanged, the altered request can change the logic executed by the API and potentially result in privilege escalation or unauthorized data access.

Affected Systems

The flaw resides in the middleapi:orpc product, specifically the SmartCoercionPlugin used by orpc before version 1.14.9. Any deployment of oRPC that exposes a remote procedure call accepting an object input schema and invokes the SmartCoercionPlugin is susceptible; versions 1.14.9 and later contain the fix and are no longer vulnerable.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation known at this time. The likely attack vector is a remote client sending crafted JSON payloads to an exposed procedure; exploitation requires only the ability to transmit such payloads over the network. The impact does not grant arbitrary code execution but enables manipulation of API logic through prototype injection.

Generated by OpenCVE AI on October 2, 2026 at 21:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade middleapi:orpc to version 1.14.9 or later to apply the SmartCoercionPlugin fix
  • Configure the application to reject any request payloads that include __proto__ or other Object.prototype property names before they reach the plugin
  • Enable detailed logging of schema validation failures and monitor for anomalies that may indicate prototype injection attempts

Generated by OpenCVE AI on October 2, 2026 at 21:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 05 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Middleapi
Middleapi orpc
Vendors & Products Middleapi
Middleapi orpc

Fri, 02 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title @orpc/json-schema: Prototype injection in smart coercion
Weaknesses CWE-1321
CWE-915
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-05T20:01:40.650Z

Reserved: 2026-09-29T21:13:24.032Z

Link: CVE-2026-103036

cve-icon Vulnrichment

Updated: 2026-10-05T20:01:36.317Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T20:16:59.567

Modified: 2026-10-06T15:18:12.170

Link: CVE-2026-103036

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T22:00:24Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes