{"answers":{"affected":"2 open source packages ship an affected version, including @orpc/zod.","exploited":"There is no known exploitation of CVE-2026-103918 in the wild and no public exploit code.","fix":"Upgrade @orpc/zod to 1.14.10 or later.","what":"CVE-2026-103918 is a medium-severity unsafe deserialization vulnerability in middleapi orpc, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-103918 and fix it if it is affected.\n\nWhat it is: CVE-2026-103918 is a medium-severity unsafe deserialization vulnerability in middleapi orpc, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-103918 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @orpc/zod (npm): affected all versions; fixed in 1.14.10\n- @orpc/zod (npm): affected all versions; fixed in 1.14.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-103918/ (Markdown: https://insights.sbomify.com/CVE-2026-103918/index.md)","id":"CVE-2026-103918","markdown":"https://insights.sbomify.com/CVE-2026-103918/index.md","name":"CVE-2026-103918","record":{"aliases":["GHSA-gcgf-fh7c-8gf2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"oRPC Zod plugin","requires_auth":"none","summary":"Remote attackers can inject prototype properties via crafted inputs in oRPC Zod plugins, potentially leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@orpc/zod: Prototype injection in smart coercion","id":"CVE-2026-103918","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"GraphQL Tools: TLS Certificate Validation Disabled in Legacy GraphQL WebSocket Executor","id":"CVE-2026-103921"},"packages":[{"ecosystem":"npm","fixed":["1.14.10"],"introduced":["0"],"last_affected":[],"package":"@orpc/zod","purl":null,"source":"GHSA-gcgf-fh7c-8gf2"},{"ecosystem":"npm","fixed":["1.14.10"],"introduced":["0"],"last_affected":[],"package":"@orpc/zod","purl":"pkg:npm/%40orpc/zod","source":"GHSA-gcgf-fh7c-8gf2"}],"prev":{"headline":"GeoDirectory \u003c= 2.8.186 - Unauthenticated SQL Injection via 'latitude' Parameter via Stored Pending Listing","id":"CVE-2026-103913"},"products":["orpc"],"published":"2026-10-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-05","vendors":["middleapi"]},"summary":"Remote attackers can inject prototype properties via crafted inputs in oRPC Zod plugins, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2026-103918/"}