CVE-2025-68130
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 Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@trpc/servernpm | >= 10.27.0, < 10.45.3 | 10.45.3 |
@trpc/servernpm | >= 11.0.0, < 11.8.0 | 11.8.0 |
Affected products
23- osv-coords22 versionspkg:apk/chainguard/langfuse-2pkg:apk/chainguard/langfuse-2-compatpkg:apk/chainguard/langfuse-2-workerpkg:apk/chainguard/langfuse-3pkg:apk/chainguard/langfuse-3-compatpkg:apk/chainguard/langfuse-3-workerpkg:apk/chainguard/langfuse-fips-2pkg:apk/chainguard/langfuse-fips-2-compatpkg:apk/chainguard/langfuse-fips-2-workerpkg:apk/chainguard/langfuse-fips-3pkg:apk/chainguard/langfuse-fips-3-compatpkg:apk/chainguard/langfuse-fips-3-workerpkg:apk/chainguard/langfuse-web-3pkg:apk/chainguard/langfuse-web-compatpkg:apk/chainguard/langfuse-worker-3pkg:apk/wolfi/langfuse-3pkg:apk/wolfi/langfuse-3-compatpkg:apk/wolfi/langfuse-3-workerpkg:apk/wolfi/langfuse-web-3pkg:apk/wolfi/langfuse-web-compatpkg:apk/wolfi/langfuse-worker-3pkg:npm/%40trpc/server
< 2.95.12-r3+ 21 more
- (no CPE)range: < 2.95.12-r3
- (no CPE)range: < 2.95.12-r3
- (no CPE)range: < 2.95.12-r3
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 2.95.12-r3
- (no CPE)range: < 2.95.12-r3
- (no CPE)range: < 2.95.12-r3
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: < 3.141.0-r0
- (no CPE)range: >= 10.27.0, < 10.45.3
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.