CVE-2025-68130
HIGH 8.5CVSS 4.0tRPC has possible prototype pollution in `experimental_nextAppDirCaller`
tRPC allows users to build and consume fully typesafe APIs without schemas or code generation. Starting in version 10.27.0 and prior to versions 10.45.3 and 11.8.0, a A prototype pollution vulnerability exists in @trpc/server's formDataToObject function, which is used by the Next.js App Router adapter. An attacker can pollute Object.prototype by submitting specially crafted FormData field names, potentially leading to authorization bypass, denial of service, or other security impacts. Note that this vulnerability is only present when using experimental_caller / experimental_nextAppDirCaller. Versions 10.45.3 and 11.8.0 fix the issue.
- Published
- 16 Dec 2025
- Last modified
- 13 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-43p4-m455-4f4j
- Sources
- NVDJSONOSV GHSA-43p4-m455-4f4jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @trpc/server | >= 10.27.0, < 10.45.3 | 10.45.3 |
| OSV | npm | @trpc/server | >= 11.0.0, < 11.8.0 | 11.8.0 |
References
- https://github.com/trpc/trpc/security/advisories/GHSA-43p4-m455-4f4j · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68130 · ADVISORY
- https://github.com/trpc/trpc/commit/78629d524968ef8db5a7adf68d8b95a44369d77e · WEB
- https://github.com/trpc/trpc · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 16 Dec 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Dec 2025)