# CVE-2025-68130: tRPC has possible prototype pollution in \`experimental\_nextAppDirCaller\`

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: Low; Integrity impact: High; Availability impact: Low; Confidentiality impact on other systems: Low; Integrity impact on other systems: High; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 47, 2026-11-26)
- **CWE:** CWE-1321
- **Aliases:** GHSA-43p4-m455-4f4j
- **Published:** 2025-12-16T16:50:42.542Z
- **Modified:** 2026-10-13T11:10:00.203Z

## Who should check

- Projects that depend on npm package @trpc/server (\>= 10.27.0, \< 10.45.3)
- Anyone running trpc \>= 10.27.0, \< 10.45.3; \>= 11.0.0, \< 11.8.0

## 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 and fixed versions

- npm `@trpc/server`: affected \>= 10.27.0, \< 10.45.3; fixed 10.45.3, 11.8.0 (osv)
- trpc: \>= 10.27.0, \< 10.45.3; \>= 11.0.0, \< 11.8.0 (cvelist)

## Mitigation

- Upgrade @trpc/server to one of 10.45.3, 11.8.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68130. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68130.md
Affected: @trpc/server >= 10.27.0, < 10.45.3
Fixed in: 10.45.3, 11.8.0

Steps:
1. Search this machine and project for @trpc/server (npm), trpc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68130 being exploited?

There is no confirmed exploitation: CVE-2025-68130 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68130?

High: CVSS 8.5 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-68130?

@trpc/server \>= 10.27.0, \< 10.45.3.

### Is there a fix for CVE-2025-68130?

Yes. Fixed in 10.45.3, 11.8.0. Upgrade @trpc/server to one of 10.45.3, 11.8.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-68130?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/trpc/trpc/security/advisories/GHSA-43p4-m455-4f4j>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-68130>
- patch: <https://github.com/trpc/trpc/commit/78629d524968ef8db5a7adf68d8b95a44369d77e>
- other: <https://github.com/trpc/trpc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68130>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-43p4-m455-4f4j> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-68130> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68130>
