Skip to content

fix: address dependency vulnerabilities - #171

Merged
Regaddi merged 1 commit into
mainfrom
fix/dependency-vulnerabilities-2026-09
Sep 14, 2026
Merged

Regaddi merged 1 commit into
mainfrom
fix/dependency-vulnerabilities-2026-09

Conversation

@Regaddi

@Regaddi Regaddi commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Routine dependency vulnerability audit (pnpm audit) turned up 3 real, fixable issues plus 1 false positive.

Package Severity Advisory Before After
next Critical GHSA-p293-qw3h-jr36, GHSA-2xp9-vwfh-vxw4 (CVE-2026-75604) 15.5.23 15.5.25
sharp High GHSA-rgj7-g3m4-5g8c 0.35.3 0.35.4
vitest (devDependency) Moderate GHSA-82fw-gwwq-j7x9 4.1.8 4.1.11

Details

  • next: unauthenticated RCE, two advisories. pnpm audit's summary only displayed the >=16.0.0 <16.3.3 range, which made it look inapplicable to our pinned 15.5.23. Checked the GitHub Security Advisory API directly: both advisories also cover >=13.4.0 <15.5.24 / >=10.0.0 <15.5.24, which does include our installed version. Bumped to 15.5.25 (stays on the 15.x line, no major upgrade) in docs, examples/01-console, examples/02-components, examples/03-tailwind.
  • sharp: RCE via bundled libheif (image optimization path). Tightened the existing pnpm override floor from >=0.35.0 to >=0.35.4.
  • vitest: dev-server path traversal / arbitrary file read via @vitest/mocker redirect mocks. Only reachable if the local dev/test server is exposed off localhost; still worth patching. Bumped package/package.json devDependency to ^4.1.11 (pnpm auto-raised the floor when resolving the update; no manual edit).
  • js-yaml: pnpm audit flagged it (range 4.0.0-4.3.1), but the installed resolution is 5.3.0 (via an existing override). Checked the advisory directly — it only covers the 3.x and 4.x lines, not 5.x. Left as-is; flagging here in case anyone else re-runs the audit and sees it.
  • Two pre-existing high-severity CVEs remain in pnpm audit output but are unrelated to this PR — they're deliberately suppressed via the existing pnpm.auditConfig.ignoreCves entry in package.json.

Verification

  • pnpm audit — down from 3 actionable vulnerabilities (2 high, 1 critical) plus 1 newly-surfaced moderate (vitest) to 0 actionable (only the 2 pre-existing ignored CVEs remain).
  • pnpm build (package) — passes.
  • pnpm --filter @pipecat-ai/voice-ui-kit-docs build — passes (next build on 15.5.25).
  • pnpm --filter 02-components build — passes (next build on 15.5.25). Noticed a pre-existing ESLint: minimatch does not provide an export named 'default' warning during this build's lint step — reproduces identically on main, unrelated to this change, not fixed here.

Behavior changes

None externally observable. This is dependency-version-only; no API or config surface changed.

- next: 15.5.23 -> 15.5.25 (docs, examples/01-console, examples/02-components,
  examples/03-tailwind). Patches two critical unauthenticated RCE advisories
  (GHSA-p293-qw3h-jr36, GHSA-2xp9-vwfh-vxw4 / CVE-2026-75604) that affect the
  15.x line below 15.5.24, not just the 16.x line pnpm's audit summary
  displayed.
- sharp: pin pnpm override floor from >=0.35.0 to >=0.35.4, resolving to
  0.35.4. Fixes a high-severity libheif RCE (GHSA-rgj7-g3m4-5g8c).
- vitest: ^4.1.0 -> ^4.1.11 in package/package.json (devDependency, resolves
  to 4.1.11). Fixes a moderate dev-server path traversal / arbitrary file
  read via @vitest/mocker redirect mocks (GHSA-82fw-gwwq-j7x9).

js-yaml was flagged by pnpm audit's summary (range 4.0.0-4.3.1) but the
installed version (5.3.0, via the existing overrides) is not actually in
either affected range per the GitHub advisory (only 3.x and 4.x lines are
vulnerable) - left untouched as a false positive.

Verified: pnpm build (package), pnpm build (docs), pnpm build
(examples/02-components) all pass on the updated versions. pnpm audit now
reports 0 actionable vulnerabilities (2 remaining highs were already
suppressed pre-existing via auditConfig.ignoreCves, unrelated to this change).
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
voice-ui-kit-console-example Ready Ready Preview Sep 14, 2026 7:16am UTC
voice-ui-kit-docs Ready Ready Preview Sep 14, 2026 7:16am UTC

Request Review

@Regaddi
Regaddi merged commit c699b9e into main Sep 14, 2026
4 checks passed
@Regaddi
Regaddi deleted the fix/dependency-vulnerabilities-2026-09 branch September 14, 2026 12:20
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