p PatchFirst

CVE-2026-103918

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 6.5 · Moyenne · EPSS 0,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • orpc

    Versions du logiciel
    • < 1.14.10: Concernée

    Aucun correctif publié

  • @orpc/zod npm

    Plages de versions concernées
    • SEMVER: < 1.14.10

    Mettez à jour vers 1.14.10

Sources originales

Vérifiez votre serveur →