{"id":"CVE-2025-68130","state":"PUBLISHED","title":"tRPC has possible prototype pollution in `experimental_nextAppDirCaller`","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.","publishedAt":"2025-12-16T16:50:42.542Z","updatedAt":"2025-12-16T21:38:37.366Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["trpc trpc"],"affected":[{"vendor":"trpc","product":"trpc","versions":[{"version":">= 10.27.0, < 10.45.3","status":"affected"},{"version":">= 11.0.0, < 11.8.0","status":"affected"}]}],"references":["https://github.com/trpc/trpc/security/advisories/GHSA-43p4-m455-4f4j"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68130.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68130","state":"PUBLISHED","datePublished":"2025-12-16T16:50:42.542Z","dateUpdated":"2025-12-16T21:38:37.366Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-15T18:05:52.210Z"},"containers":{"cna":{"title":"tRPC has possible prototype pollution in `experimental_nextAppDirCaller`","descriptions":[{"lang":"en","value":"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":[{"vendor":"trpc","product":"trpc","versions":[{"version":">= 10.27.0, < 10.45.3","status":"affected"},{"version":">= 11.0.0, < 11.8.0","status":"affected"}]}],"references":[{"url":"https://github.com/trpc/trpc/security/advisories/GHSA-43p4-m455-4f4j","name":"https://github.com/trpc/trpc/security/advisories/GHSA-43p4-m455-4f4j","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"HIGH","subAvailabilityImpact":"LOW","baseScore":8.5,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-12-16T16:50:42.542Z"},"source":{"advisory":"GHSA-43p4-m455-4f4j","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-16T21:38:30.190215Z","id":"CVE-2025-68130","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-16T21:38:37.366Z"}}]}}}