CWE-1321Weakness · CWE-1321

CVE-2025-68130

HIGH · 8.5 CVSS v4.0 Published 2025-12-16
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
91/100
Remediation priority · Urgent
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A prototype pollution vulnerability exists in tRPC's `@trpc/server` package in the `formDataToObject` function used by the Next.js App Router adapter. Attackers can pollute `Object.prototype` by submitting specially crafted FormData field names (e.g., using "__proto__" or "constructor.prototype"), potentially leading to authorization bypass, denial of service, or other security impacts. This only affects applications using `experimental_caller` or `experimental_nextAppDirCaller`.

MitigationUpgrade to tRPC versions 10.45.3 or 11.8.0 or later. If immediate upgrading is not feasible, disable the `experimental_caller` and `experimental_nextAppDirCaller` features.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
Authentication
X
User interaction
None
Scope
X

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed @trpc/server version
    Run `npm list @trpc/server` or check package.json to see the installed version of @trpc/server
    Affected if Version is earlier than 10.45.3 or between 11.0.0 and 11.7.0 (before 11.8.0)
  2. Verify Next.js App Router usage
    Check if the project uses the Next.js App Router by looking for an `app/` directory in the project root and examining the framework configuration
    Affected if The application uses Next.js with the App Router directory structure (app/ folder)
  3. Check for experimental_caller configuration
    Search the codebase for `experimental_caller` in tRPC router configuration files, typically in the main router definition or initialization code
    Affected if `experimental_caller: true` is set in the tRPC configuration
  4. Check for experimental_nextAppDirCaller configuration
    Search the codebase for `experimental_nextAppDirCaller` in the Next.js App Router adapter setup, typically in the API route handler or server component setup
    Affected if `experimental_nextAppDirCaller: true` is set in the Next.js adapter configuration

The environment is affected if @trpc/server is version 10.45.3 or earlier (or 11.0.0-11.7.0), the application uses Next.js App Router, AND either experimental_caller or experimental_nextAppDirCaller is enabled.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to tRPC versions 10.45.3 or 11.8.0 or later. If immediate upgrading is not feasible, disable the `experimental_caller` and `experimental_nextAppDirCaller` features.

Recommended fix High confidence

Upgrade to @trpc/server version 10.45.3 or 11.8.0

  1. Upgrade @trpc/server to version 10.45.3 or 11.8.0 by running: npm install @trpc/[email protected] (or npm install @trpc/[email protected] for the latest major)
  2. Ensure all other @trpc packages (client, react-query, tests, etc.) in your project are updated to the same version to maintain consistency
  3. If using Next.js App Router with experimental_caller or experimental_nextAppDirCaller, test FormData submissions to verify the prototype pollution is fixed
Caveat Major version upgrades from 10.x to 11.x may introduce breaking changes; review the changelog before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing4.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,540
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,464.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-68130 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-68130 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data