kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-103918 @orpc/zod: Prototype injection in smart coercion

설명

oRPC is a tool that helps build APIs that are end-to-end type-safe and adhere to OpenAPI standards. Prior to 1.14.10, the @orpc/zod ZodSmartCoercionPlugin and experimental_ZodSmartCoercionPlugin collect object and record properties in plain objects and resolve shape keys through the prototype chain. A remote client that can reach a procedure with an object or record input can supply __proto__ to replace the prototype of the returned request object, allowing attacker-controlled inherited values to reach application lookups. For object schemas, keys such as constructor, toString, and __proto__ can instead resolve inherited members as Zod schemas and cause an unhandled TypeError before validation. The global Object.prototype, unrelated objects, other requests, and other users are not modified, and the availability effect is limited to crafted requests rather than persistent process-wide state. This issue is fixed in version 1.14.10.

영향 받는 제품 제품 1개

  • middleapi

    orpc

    해결 버전 있음

    영향 받는 버전

    • 1.14.10 미만

    해결 버전

    • 1.14.10 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의