Intel

AIKIDO-2026-179881

@orpc/json-schema is vulnerable to Prototype Pollution

CVE-2026-103036Published Jul 27, 2026
July 27, 2026

65

CVE Score

Medium

Prototype Pollution

Are you affected? Scan for Free

TL;DR

JsonSchemaCoercer in the smart coercion plugin coerces request input before schema validation and mishandles object keys that name Object.prototype members. An attacker who can reach a procedure whose input schema contains an object can send keys such as __proto__ or constructor to replace the prototype of the coerced input object or make inherited members pass the coercer's satisfaction check. The effect is scoped to the single coerced value returned for that request rather than the global Object.prototype, but a handler that reads inherited properties can act on data the client never legitimately supplied. The fix collects coerced properties into a null-prototype object and restricts sub-schema lookups to own properties via Object.hasOwn.

How do I fix this?

Upgrade the @orpc/json-schema library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your server installs the SmartCoercionPlugin with at least one procedure whose input schema contains an object.

Versions

0.0.0 - 1.14.8

Fixed in 1.14.9

Background info

@orpc/json-schema is vulnerable to Prototype Pollution in versions 0.0.0 - 1.14.8.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea