CVE-2026-103918 json
@orpc/zod: Prototype injection in smart coercion
published 2026-10-02 37 d ago modified 2026-10-06 33 d ago also GHSA-gcgf-fh7c-8gf2 , EUVD-2026-91793
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @orpc/zod 1.14.10
- github.com/middleapi/orpc@26314df commit
- github.com/middleapi/orpc#1727 pull request
- github.com/middleapi/orpc/releases/tag/v1.14.10 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 34 d ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @orpc/zod | <1.14.10 |
1.14.10 |
Affected products
- middleapi orpc
Classification
References
-
github.com
/middleapi/orpc/pull/1727
web
-
github.com
/middleapi/orpc/commit/26314dfb443237c495116c5794d3d30a7a22c570
web
-
github.com
/middleapi/orpc/security/advisories/GHSA-gcgf-fh7c-8gf2
web
-
github.com
/middleapi/orpc/releases/tag/v1.14.10
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-103918
advisory
-
github.com
/middleapi/orpc
package
Sources
- CVE List CVE-2026-103918
- GitHub Advisory GHSA-gcgf-fh7c-8gf2
- NVD CVE-2026-103918
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.