Skip to content

fix(deps): override undici to 8.12.2 or later - #61

Merged
tsudo merged 1 commit into
mainfrom
fix/undici-8.12.2
Oct 29, 2026
Merged

tsudo merged 1 commit into
mainfrom
fix/undici-8.12.2

Conversation

@tsudo

@tsudo tsudo commented Oct 29, 2026

Copy link
Copy Markdown
Owner

undici 8.12.1 and earlier carry eight advisories: CVE-2026-109383, CVE-2026-87018, CVE-2026-109869 and CVE-2026-109829 (high), and CVE-2026-109924, CVE-2026-109841, CVE-2026-109932 and CVE-2026-87029 (moderate). The fix is in 8.12.2, published 2026-10-15.

undici is a build-time dependency through astro. The deploy job's actions/checkout keeps the job token in git config, and the job holds pages: write and id-token: write, so the token is reachable during the build.

This adds undici: ^8.12.2 to pnpm.overrides, which resolves to 8.12.3. Locally, pnpm audit reports no known vulnerabilities, pnpm install --frozen-lockfile passes and pnpm run build completes.

Dependabot shows no alert for these advisories yet.

Follow-up, not in this PR: set persist-credentials: false on the checkout step.

🤖 Generated with Claude Code

undici 8.12.1 and earlier carry eight advisories (four high), including
CVE-2026-109383 and CVE-2026-87018. undici is a build-time dependency
through astro, and the deploy job's checkout keeps the job token in git
config, so the token is reachable during the build.

The override resolves undici to 8.12.3. pnpm audit reports no known
vulnerabilities, the frozen install passes and the site builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tsudo
tsudo merged commit fdd5b7c into main Oct 29, 2026
2 checks passed
@tsudo
tsudo deleted the fix/undici-8.12.2 branch October 29, 2026 19:49
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