tRPC CVE-2025-68130
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Next.js Server Action endpoint
-
DeliverySubmit FormData with __proto__ field names
-
ExploitformDataToObject pollutes Object.prototype
-
ExecutionInjected properties alter application logic
-
ImpactBypass authorization or crash service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to use tRPC's experimental |
| Impact | This is a genuine, prioritizable issue but one that is gated by a specific deployment condition rather than a broadly exposed default. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 8.5 and reflects network reachability, low complexity, and high integrity impact (VI:H/SI:H) consistent with a prototype-pollution-driven authorization bypass, with secondary availability/DoS (VA:L) and confidentiality (VC:L) effects. Countering that severity, the EPSS score is low (0.40%, 32nd percentile), it is NOT on CISA KEV, and exploitation is confined to applications using the experimental |
| Exploit ScenarioDerived | An attacker submits a crafted multipart FormData payload to a Next.js Server Action that is backed by tRPC's experimental nextAppDirCaller, using malicious field names like |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Prototype pollution in tRPC's @trpc/server package, specifically within the formDataToObject function used by the experimental Next.js App Router adapter, allows authenticated remote attackers to modify Object.prototype via crafted FormData field names, potentially leading to authorization bypass, denial of service, or other impacts. Affected versions are 10.27.0 through 10.45.2 and 11.0.0 through 11.7.x when using experimental_nextAppDirCaller; fixed in 10.45.3 and 11.8.0. No public exploit code or active exploitation is confirmed at time of analysis, and EPSS is 0.40% (32nd percentile); the vulnerability is gated by the specific deployment condition of using the experimental adapter with FormData normalization enabled.
RemediationAI
Vendor-released patch: upgrade @trpc/server to version 10.45.3 or 11.8.0. For those unable to upgrade immediately, avoid using the experimental experimental_nextAppDirCaller or experimental_caller adapter, or disable the normalizeFormData option if it is not required, as this prevents the vulnerable code path from being invoked. If the adapter must be used, implement input validation to reject FormData field names containing __proto__, constructor, or prototype before they reach the handler. Note that disabling normalization may break functionality if the application expects FormData to be converted to nested objects. Additionally, restrict network access to tRPC mutations exposed as Next.js Server Actions to trusted users. See the vendor advisory at https://github.com/trpc/trpc/security/advisories/GHSA-43p4-m455-4f4j for more details.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Root cause is CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes). The vulnerable formDataToObject function in @trpc/server (specifically src/unstable-core-do-not-import/http/formDataToObject.ts) processes FormData field names with bracket/dot notation (e.g., user[name]) to build nested objects. Its internal set() function recursively assigns properties without validating dangerous keys such as __proto__, constructor, or prototype. When an attacker submits FormData with a field name like __proto__[isAdmin], the function traverses into Object.prototype and injects properties, polluting all objects. This is only reachable when the application uses tRPC's experimental experimental_caller or experimental_nextAppDirCaller adapter with normalizeFormData enabled, which calls formDataToObject on incoming FormData. The affected package is the npm package @trpc/server in versions >=10.27.0,<10.45.3 and >=11.0.0,<11.8.0. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L) indicates network exploitation with low privileges required, no user interaction, and high integrity impact.
Know when Prototype Pollution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable FormData submission with low complexity; PR:L reflects a reachable mutation endpoint, with high integrity impact from prototype-pollution authorization bypass and lower confidentiality/availability (DoS) effects.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
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.
Executive ViewAI
@trpc/server, the TypeScript API framework embedded in many internally and externally facing Node.js applications, carries a prototype pollution flaw in its experimental Next.js App Router adapter that allows a user with an application account to alter shared object behavior and potentially bypass authorization checks or render a service unavailable. Exposure is limited to teams that have enabled the experimental adapter with FormData normalization, but those deployments are often customer-facing production systems. Leadership should treat this as a contained but genuine integrity risk to application access controls, requiring a coordinated dependency upgrade rather than an emergency outage.
Apply vendor patch. Until the upgrade to @trpc/server 10.45.3 or 11.8.0 is complete, interim mitigations include disabling the experimental Next.js App Router caller (experimental_nextAppDirCaller) or turning off FormData normalization for affected routes, and rejecting or sanitizing FormData field names that contain prototype-related keys such as __proto__, constructor, or prototype before they reach the normalization function.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
NVD
CVE.org
EPSS
GitHub
Exploit-DB