Skip to content
OpenAdvisories
High · 8.5 CVE-2025-68130 EUVD-2025-203822GHSA-43p4-m455-4f4j

tRPC has possible prototype pollution in `experimental_nextAppDirCaller`

Published Dec 16, 2025 · Updated Dec 16, 2025 · Assigned by 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.

Affected products

VendorProductAffectedFixed
trpc trpc >= 10.27.0, < 10.45.3, >= 11.0.0, < 11.8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3 +2 3.141.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @trpc/server >= 10.27.0, < 10.45.3 10.45.3 GHSA-43p4-m455-4f4j
npm @trpc/server >= 11.0.0, < 11.8.0 11.8.0 GHSA-43p4-m455-4f4j

References