Skip to content

fix: resolve 6 critical Dependabot alerts - #5351

Merged
Siumauricio merged 1 commit into
canaryfrom
fix/dependabot-critical-security-updates
Sep 8, 2026
Merged

Siumauricio merged 1 commit into
canaryfrom
fix/dependabot-critical-security-updates

Conversation

@narcisonunez

@narcisonunez narcisonunez commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Resolves the 6 open critical severity alerts on Dependabot → Security:

Advisory Package Fix
GHSA-23hp-3jrh-7fpw tar (transitive via @mapbox/node-pre-gyp) pnpm override to >=7.5.19 <8.0.0 — decompression DoS
GHSA-xq3m-2v4x-88gg protobufjs (transitive via @grpc/proto-loader, @opentelemetry/otlp-transformer) pnpm override to
>=7.5.5 <8.0.0 — arbitrary code execution
GHSA-w7jw-789q-3m8p shell-quote (direct dep, used for docker/ssh command building) bump to ^1.8.4quote() didn't
escape newlines in object .op values
GHSA-5xrq-8626-4rwp vitest (devDependency) bump to ^4.1.0 — arbitrary file read/execute via UI server
GHSA-68rr-p4fp-j59v github.com/gofiber/fiber/v2 (apps/monitoring) bump to v2.52.11 — insecure UUIDv4 fallback on
crypto/rand failure
GHSA-f82v-jwr5-mffw next (transitive via react-email, standalone lockfile in packages/server/src/emails) regenerated
lockfile against current react-email (6.9.3), which drops next entirely — no longer used for the preview server

Verification

  • pnpm typecheck clean (server + app)
  • Full vitest suite: 947 passed / 5 env-conditional skips, 0 failures
  • go build / go vet / go test clean for apps/monitoring

Once merged, these should clear from the dependabots alerts

Ran all the tests but also randomly access pages and api calls to make sure they are working as expected. No issues found

Please describe in a short paragraph what this PR is about.

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

Screenshots (if applicable)

Greptile Summary

This PR updates vulnerable JavaScript and Go dependencies, adds pnpm overrides for vulnerable transitive versions of tar and protobufjs, and regenerates the standalone React Email lockfile so that it no longer includes Next.js.

  • Updates shell-quote, Vitest, and Fiber to patched releases.
  • Constrains transitive tar and protobufjs resolutions to patched 7.x versions.
  • Refreshes both pnpm lockfiles and the monitoring Go checksums.

Confidence Score: 5/5

The PR appears safe to merge, with no actionable correctness, security, or compatibility failures identified.

The patched dependencies resolve consistently in the lockfiles, satisfy the repository’s declared runtime toolchains, and remain deterministic under frozen-lockfile CI and production installs.

Reviews (1): Last reviewed commit: "fix: resolve 6 critical Dependabot alert..." | Re-trigger Greptile

- tar >=7.5.19 (GHSA-23hp-3jrh-7fpw): decompression DoS, pinned via
  pnpm override within 7.x (transitive via @mapbox/node-pre-gyp)
- protobufjs >=7.5.5 (GHSA-xq3m-2v4x-88gg): arbitrary code execution,
  pinned via pnpm override within 7.x (transitive via @grpc/proto-loader,
  @opentelemetry/otlp-transformer)
- shell-quote ^1.8.4 (GHSA-w7jw-789q-3m8p): quote() didn't escape
  newlines in object .op values (direct dep, used for docker/ssh
  command building)
- vitest ^4.1.0 (GHSA-5xrq-8626-4rwp): arbitrary file read/execute via
  UI server (devDependency)
- github.com/gofiber/fiber/v2 v2.52.11 (GHSA-68rr-p4fp-j59v): insecure
  UUIDv4 fallback on crypto/rand failure (apps/monitoring)
- next (GHSA-f82v-jwr5-mffw): authorization bypass in middleware, was
  a transitive dep of react-email in the standalone
  packages/server/src/emails lockfile; regenerating against the
  current react-email version (6.9.3) drops next.js entirely, since
  it no longer uses it for the preview server

Verified: typecheck (server + app) clean, full vitest suite
(947 passed / 5 env-conditional skips, 0 failures), go build/vet/test
clean for apps/monitoring.
@Siumauricio
Siumauricio merged commit bda8124 into canary Sep 8, 2026
5 checks passed
@Siumauricio
Siumauricio deleted the fix/dependabot-critical-security-updates branch September 8, 2026 22:29
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.

2 participants