Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @orpc/zod
  4. ›
  5. CVE-2026-103918

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

October 5, 2026

ZodSmartCoercionPlugin and experimental_ZodSmartCoercionPlugin mishandle object keys that name Object.prototype members. Both coerce request input before validation, so any client that can reach a procedure whose input schema contains an object or a record can:

  1. replace the prototype of the coerced input object, and
  2. make a request fail with an unhandled TypeError by sending a key such as constructor.

This is the same class of bug as GHSA-4h5r-cv8j-4456 in @orpc/json-schema, in a different package.

References

  • github.com/advisories/GHSA-gcgf-fh7c-8gf2
  • github.com/middleapi/orpc/commit/26314dfb443237c495116c5794d3d30a7a22c570
  • github.com/middleapi/orpc/pull/1727
  • github.com/middleapi/orpc/releases/tag/v1.14.10
  • github.com/middleapi/orpc/security/advisories/GHSA-gcgf-fh7c-8gf2
  • nvd.nist.gov/vuln/detail/CVE-2026-103918

Code Behaviors & Features

Detect and mitigate CVE-2026-103918 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.14.10

Fixed versions

  • 1.14.10

Solution

Upgrade to version 1.14.10 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

npm/@orpc/zod/CVE-2026-103918.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:09 +0000.