Commit db50e27
fix(api): bump fastify 5.6→5.8 and @trpc/{server,client} 11.6→11.16
Addresses two HIGH-severity CVEs found via Trivy scan on a self-hosted
deployment:
- fastify 5.6.1 → 5.8.5: fixes CVE-2026-25223 (validation bypass via
malformed Content-Type header). Attacker can bypass Fastify's request
schema validation by crafting the Content-Type header, potentially
sending malformed payloads to validated endpoints like /track.
- @trpc/server 11.6.0 → 11.16.0: fixes CVE-2025-68130 (prototype
pollution in experimental_nextAppDirCaller). Lower risk since
openpanel may not use that API, but the bump is semver-compatible
and brings other stability fixes.
Also aligns @trpc/client to 11.16.0 across all packages (was 11.6.0
in packages/trpc and apps/start) so client and server stay on the same
minor — mismatched versions can cause subtle serialization bugs.
Both are ^-ranged deps — pnpm update resolves to latest compatible.
Verified: `pnpm --filter @openpanel/api build` succeeds.1 parent bc5fdf1 commit db50e27
4 files changed
Lines changed: 60 additions & 101 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments