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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-10-02T20:02:50.946Z
- Modified: 2026-10-06T15:18:12.170Z
- Also known as: GHSA-gcgf-fh7c-8gf2
- Weaknesses: CWE-915, CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- middleapi orpc: < 1.14.10
- @orpc/zod (npm): before 1.14.10

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/middleapi/orpc/security/advisories/GHSA-gcgf-fh7c-8gf2> (web)
- <https://github.com/middleapi/orpc/pull/1727> (web)
- <https://github.com/middleapi/orpc/commit/26314dfb443237c495116c5794d3d30a7a22c570> (web)
- <https://github.com/middleapi/orpc/releases/tag/v1.14.10> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-103918> (advisory)
- <https://github.com/middleapi/orpc> (package)

## Sources

- CVE List: [CVE-2026-103918](https://www.cve.org/CVERecord?id=CVE-2026-103918), CVE Terms of Use, modified 2026-10-05
- GitHub Advisory Database: [GHSA-gcgf-fh7c-8gf2](https://github.com/advisories/GHSA-gcgf-fh7c-8gf2), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-103918](https://nvd.nist.gov/vuln/detail/CVE-2026-103918), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-103918 · Whole record: https://cve.day/CVE-2026-103918.json · Rebuilt by cve.day 2026-11-25T22:59:41.999Z
