Skip to content

chore(deps): vitest 4.1.11 closes the @vitest/mocker path traversal - #225

Merged
chaxus merged 1 commit into
mainfrom
chore/bump-vitest
Sep 12, 2026
Merged

chaxus merged 1 commit into
mainfrom
chore/bump-vitest

Conversation

@chaxus

@chaxus chaxus commented Sep 12, 2026

Copy link
Copy Markdown
Member

Closes Dependabot alerts #39 and #40 — one advisory, two packages: @vitest/mocker's redirect mock allowed a path traversal / arbitrary file read in >= 2.1.0 < 4.1.11.

Dev dependency only (it never reaches a published artifact), but the lockfile is what the alert reads, so the fix is the bump: vitest and @vitest/coverage-v8 ^4.1.10 → ^4.1.11, and @vitest/mocker resolves to 4.1.11 in the lockfile.

3411 unit tests pass on 4.1.11; lint clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MKNHFQ1kek1cHeqhbH37Pk

Dependabot alerts #39 and #40, one advisory: @vitest/mocker's redirect
mock allowed an arbitrary file read (GHSA, medium) in >= 2.1.0 < 4.1.11.
Dev dependency only -- it never reaches a published artifact -- but the
lockfile is what the alert reads, so the fix is the bump.

3411 unit tests pass on 4.1.11.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MKNHFQ1kek1cHeqhbH37Pk
@chaxus
chaxus enabled auto-merge (rebase) September 12, 2026 10:10
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying document with  Cloudflare Pages  Cloudflare Pages

Latest commit: 23e2687
Status: ✅  Deploy successful!
Preview URL: https://373f8a13.document-7hm.pages.dev
Branch Preview URL: https://chore-bump-vitest.document-7hm.pages.dev

View logs

@chaxus
chaxus merged commit 0c9c7aa into main Sep 12, 2026
31 of 33 checks passed
@chaxus
chaxus deleted the chore/bump-vitest branch September 12, 2026 10:26
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