fix(deps): update dependency @trpc/server to ~11.8.0 [security] - autoclosed#155
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
fix(deps): update dependency @trpc/server to ~11.8.0 [security] - autoclosed#155renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
6b9a2b4 to
dd29955
Compare
auto-merge was automatically disabled
February 19, 2026 07:54
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~11.4.0→~11.8.0GitHub Vulnerability Alerts
CVE-2025-68130
Summary
A Prototype Pollution vulnerability exists in
@trpc/server'sformDataToObjectfunction, which is used by the Next.js App Router adapter. An attacker can polluteObject.prototypeby submitting specially crafted FormData field names, potentially leading to authorization bypass, denial of service, or other security impacts.Affected Versions
@trpc/serverformDataToObject()insrc/unstable-core-do-not-import/http/formDataToObject.tsVulnerability Details
Root Cause
The
set()function informDataToObject.tsrecursively processes FormData field names containing bracket/dot notation (e.g.,user[name],user.address.city) to create nested objects. However, it does not validate or sanitize dangerous keys like__proto__,constructor, orprototype.Vulnerable Code
Attack Vector
When a user submits a form to a tRPC mutation using Next.js Server Actions, the
nextAppDirCalleradapter processes the FormData:An attacker can craft FormData with malicious field names:
When processed, this pollutes
Object.prototype:Proof of Concept
Test.js
Impact
Authorization Bypass (HIGH)
Many applications check user permissions using property access:
After pollution, all objects will have
isAdmin: "true", bypassing authorization.Denial of Service (MEDIUM)
Polluting commonly used property names can crash applications:
Release Notes
trpc/trpc (@trpc/server)
v11.8.0Compare Source
What's Changed
v11.7.2Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.7.1...v11.7.2
v11.7.1Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.7.0...v11.7.1
v11.7.0Compare Source
What's Changed
Full Changelog: trpc/trpc@v11.6.0...v11.7.0
v11.6.0Compare Source
What's Changed
httpBatchStreamLinkin React Native "stream ends with TypeError" by @KATT in #6960New Contributors
Full Changelog: trpc/trpc@v11.5.1...v11.6.0
v11.5.1Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.5.0...v11.5.1
v11.5.0Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.4.4...v11.5.0
v11.4.4Compare Source
What's Changed
httpBatchLinkwith custom transformed object at top level by @KATT in #6878.d.tsfor esm/cjs by @KATT in #6879New Contributors
Full Changelog: trpc/trpc@v11.4.3...v11.4.4
v11.4.3Compare Source
What's Changed
MaxListenersExceededWarningwhen socket is reused in fastify adapter by @KATT in #6842New Contributors
Full Changelog: trpc/trpc@v11.4.2...v11.4.3
v11.4.2Compare Source
What's Changed
Full Changelog: trpc/trpc@v11.4.1...v11.4.2
v11.4.1Compare Source
What's Changed
Full Changelog: trpc/trpc@v11.4.0...v11.4.1
Configuration
📅 Schedule: Branch creation - "" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.