Skip to content

fix(security): upgrade Next.js to 16.3.6 (image-optimizer RCE) and Auth.js - #122

Merged
vandetho merged 1 commit into
mainfrom
fix/next-image-rce
Sep 23, 2026
Merged

vandetho merged 1 commit into
mainfrom
fix/next-image-rce

Conversation

@vandetho

Copy link
Copy Markdown
Owner

What

  • next 16.2.4 → 16.3.6 — GHSA-2xp9-vwfh-vxw4, unauthenticated RCE in /_next/image when an AVIF is optimized (libheif via sharp). eslint-config-next aligned.
  • next-auth → 5.0.0-beta.32 and @auth/prisma-adapter → 2.11.3, both on @auth/core 0.41.3 (critical Auth.js advisories).

images.remotePatterns was already limited to lh3.googleusercontent.com, so no config change.

Verified locally

lint (0 errors), typecheck, pnpm run build green. format:check fails only on an untracked local .claude/settings.local.json, same as on main.

🤖 Generated with Claude Code

…0.41.3

GHSA-2xp9-vwfh-vxw4: unauthenticated RCE in the Next image optimizer (AVIF via
libheif). Also the critical @auth/core <= 0.41.2 advisories.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vandetho
vandetho merged commit 1692a3f into main Sep 23, 2026
3 checks passed
@vandetho
vandetho deleted the fix/next-image-rce branch September 23, 2026 05:32
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