CVE 8.5 HIGH

tRPC has possible prototype pollution in `experimental_nextAppDirCaller`_CVE-2025-68130

8.5 / 10
HIGH
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

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.

AI Analysis

A prototype pollution vulnerability exists in `@trpc/server`'s `formDataToObject` function, potentially leading to authorization bypass, denial of service, or other security impacts.

Basic Information

ID CVE-2025-68130
Source GitHub_M
Published Dec 16, 2025 at 16:50

Affected Product

Vendor trpc
Product trpc
Version >= 10.27.0, < 10.45.3
Affected Versions trpc trpc >= 10.27.0, < 10.45.3
trpc trpc >= 11.0.0, < 11.8.0

CWE Classification

AI Assessment

AI Score 8.5 / 10
AI Severity High
Vendor trpc
Product tRPC
Version 10.27.0-10.45.2, 11.0.0-11.7.9

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.