Skip to content

chore(deps): bump next to 16.2.12 to clear 8 open security advisories - #441

Merged
ArnasDon merged 1 commit into
mainfrom
chore/next-16.2.12-security
Jul 29, 2026
Merged

chore(deps): bump next to 16.2.12 to clear 8 open security advisories#441
ArnasDon merged 1 commit into
mainfrom
chore/next-16.2.12-security

Conversation

@ArnasDon

Copy link
Copy Markdown
Owner

Summary

next 16.2.6 sits in the vulnerable range for eight open Dependabot advisories, all patched in 16.2.11. Bumps to 16.2.12.

What changed

  • next and eslint-config-next 16.2.6 → 16.2.12 (kept on one version).
  • package-lock.json regenerated with npm 10, matching CI's Node 20. The local npm 11 drops next-intl's nested optional-peer @swc/helpers entry, which is what makes every Dependabot PR here fail at npm ci.

The eight advisories, four high: SSRF in rewrites via an attacker-controlled destination hostname; SSRF in Server Actions on custom servers; middleware/proxy bypass in App Router; DoS in App Router Server Actions; DoS in the image optimizer via SVG; unauthenticated disclosure of internal Server Function endpoints; and two response-body cache-confusion issues.

No source changes were needed — nothing in the 16.2.6 → 16.2.12 range touches an API this repo uses.

Test plan

  • npm ci succeeds on the regenerated lockfile (this is the step that usually breaks).
  • npm run typecheck clean.
  • npm run lint — 39 warnings, identical to main.
  • npm test — 645 tests pass.
  • npm run build succeeds; route table unchanged.

The build still prints the pre-existing "middleware" file convention is deprecated warning. Unrelated to this bump, left alone.

Related

Closes 8 Dependabot alerts. sharp and a dev-only nested brace-expansion stay open; the remaining transitive ones are in a separate lockfile-only PR.

16.2.6 is in the vulnerable range for eight advisories, all patched in
16.2.11: SSRF in rewrites via an attacker-controlled destination
hostname, SSRF in Server Actions on custom servers, middleware/proxy
bypass in App Router, DoS in App Router Server Actions, DoS in the image
optimizer via SVG, unauthenticated disclosure of internal Server
Function endpoints, and two response-body cache-confusion issues.

`eslint-config-next` moves with it to keep the pair on one version.
Lockfile regenerated with npm 10 to match CI's Node 20 — the default
npm 11 drops next-intl's nested optional-peer `@swc/helpers` entry and
breaks `npm ci`.

Verified: lint (39 warnings, unchanged from main), typecheck, 645 tests,
and `next build` all pass on 16.2.12.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@supabase

supabase Bot commented Jul 28, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project crxylxakpapcfziradbb because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@ArnasDon
ArnasDon merged commit 64f7611 into main Jul 29, 2026
2 checks passed
ArnasDon added a commit that referenced this pull request Jul 29, 2026
`main` moved next 16.2.6 → 16.2.12 (#441) and applied transitive audit
fixes (#442) since this branch was cut, so both manifests conflicted.

Resolved by keeping main's `next` and this branch's `next-intl`, then
regenerating package-lock.json from the merged package.json with npm 10 —
the version CI's Node 20 ships, so the nested optional-peer @swc/helpers
entry `npm ci` needs is preserved. Verified next 16.2.12, next-intl
4.13.4, and every audit-fixed transitive version from #442 survive, and
`npm ci` succeeds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ArnasDon added a commit that referenced this pull request Jul 29, 2026
`main` moved next 16.2.6 → 16.2.12 (#441) and applied transitive audit
fixes (#442) since this branch was cut, so both manifests conflicted.

Resolved by taking main's manifests and re-applying only this branch's
`lucide-react` bump, then regenerating package-lock.json with npm 10 —
the version CI's Node 20 ships, so the nested optional-peer @swc/helpers
entry `npm ci` needs is preserved. Verified next 16.2.12, lucide-react
1.27.0, and #442's transitive versions all hold, and `npm ci` succeeds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ArnasDon added a commit that referenced this pull request Jul 29, 2026
`main` moved next 16.2.6 → 16.2.12 (#441) and applied transitive audit
fixes (#442) since this branch was cut, so both manifests conflicted.

Resolved by taking main's manifests and re-applying the group's bumps on
top: prettier ^3.9.6 and prettier-plugin-tailwindcss ^0.8.1 in
package.json, plus tailwindcss and @tailwindcss/postcss 4.3.2 → 4.3.3,
which are lockfile-only here because both are specced as `^4`. Lockfile
regenerated with npm 10 — the version CI's Node 20 ships, so the nested
optional-peer @swc/helpers entry `npm ci` needs is preserved.

Verified next 16.2.12 and #442's transitive versions all hold, and
`npm ci` succeeds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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