Skip to content

fix: bump @orpc/* to ^1.14.6 to patch prototype pollution (CVE-2026-28794)#192

Open
dj-exo wants to merge 1 commit into
obsessiondb:mainfrom
dj-exo:fix/orpc-cve-2026-28794
Open

fix: bump @orpc/* to ^1.14.6 to patch prototype pollution (CVE-2026-28794)#192
dj-exo wants to merge 1 commit into
obsessiondb:mainfrom
dj-exo:fix/orpc-cve-2026-28794

Conversation

@dj-exo

@dj-exo dj-exo commented Jul 15, 2026

Copy link
Copy Markdown

Summary

Loosens and bumps the exact-pinned @orpc/client and @orpc/contract dependencies from the vulnerable 1.13.4 to the caret range ^1.14.6, so consumers can receive the patched @orpc/client release (>= 1.13.6) without needing package-manager overrides.

Root cause

@orpc/client < 1.13.6 is affected by CVE-2026-28794 (CVSS 9.8, Critical): prototype pollution via StandardRPCJsonSerializer deserialization.

Both the root package.json (devDependencies) and packages/plugin-obsessiondb/package.json pinned @orpc/client and @orpc/contract to the exact version 1.13.4. Because the @orpc/* family is internally version-locked (each package pins its siblings to the same exact version) and the pin here was exact, downstream consumers of @chkit/plugin-obsessiondb could not pull in the patched release without forcing a pnpm/npm override in their own projects.

Fix

  • packages/plugin-obsessiondb/package.json: @orpc/client and @orpc/contract 1.13.4 -> ^1.14.6
  • package.json (root devDependencies): @orpc/client and @orpc/contract 1.13.4 -> ^1.14.6
  • Regenerated bun.lock (bun install); @orpc/* now resolves to 1.14.8, which is well-aged and contains the fix.

^1.14.6 is used (rather than an exact pin) so future patches within the @orpc/* family flow to consumers automatically.

References

Test plan

  • bun install succeeds and lockfile resolves @orpc/* to >= 1.13.6 (verified locally: 1.14.8)
  • bun run build / turbo run build passes
  • bun test / package test suites pass
  • Confirm @chkit/plugin-obsessiondb runtime behavior against ObsessionDB is unaffected by the 1.13.4 -> 1.14.x bump

Made with Cursor



CVE-2026-28794 (CVSS 9.8, Critical) is a prototype-pollution vulnerability
in @orpc/client's StandardRPCJsonSerializer deserialization, fixed upstream
in @orpc/client 1.13.6.

Previously @orpc/client and @orpc/contract were pinned to the EXACT vulnerable
version 1.13.4 (in the root package.json devDependencies and in
packages/plugin-obsessiondb). Because the pin was exact, downstream consumers
could not receive the patched release without forcing a pnpm/npm override.

Loosening these to the caret range ^1.14.6 (a safe, well-aged target within
the internally version-locked @orpc/* family) lets consumers pick up the
patched release and future patches automatically. Lockfile regenerated with
bun; @orpc/* now resolves to 1.14.8.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant