CVE-2025-68130
published high CVSS 4.0 · 8.5tRPC has possible prototype pollution in `experimental_nextAppDirCaller`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| trpc | — | trpc>= 10.27.0, < 10.45.3 · >= 11.0.0, < 11.8.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| trpc | trpc | >= 10.27.0, < 10.45.3 (affected)>= 11.0.0, < 11.8.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
1Provider assertions
2GitHub_M · cna
tRPC has possible prototype pollution in `experimental_nextAppDirCaller`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b3d369c9200e244b1a224c8f42d3074cfafa5b97879b34d1f5cff05cdf81cdfd
- Ingested
- 23 Sep 2026, 08:57:02 UTC
- Source record
- Official CVE record