Skip to content

fix(deps): update dependency next to v16.3.8 [security] - #194

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-next-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-next-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Apr 11, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
next (source) 16.3.5 → 16.3.8 age confidence

Next.js: Remote Code Execution in next/og ImageResponse

GHSA-vcvr-r3jv-pc5j

More information

Details

Impact

The Node.js ImageResponse implementation from next/og is affected by an upstream vulnerability. This can lead to remote code execution.

Affected applications pass attacker-controlled values into SVG content, attributes, or styles during image generation:

import { ImageResponse } from 'next/og'

export async function GET(request: Request) {
  const value = new URL(request.url).searchParams.get('value') ?? ''

  return new ImageResponse(
    <svg width="1200" height="630">
      <title>{value}</title>
    </svg>
  )
}

Applications using the Edge ImageResponse implementation, or applications that do not pass attacker-controlled values into SVG content, attributes, or styles, are not affected.

Workaround

If upgrading is not immediately possible, do not pass attacker-controlled values into SVG content, attributes, or styles rendered by the Node.js ImageResponse implementation from next/og.

Severity

  • CVSS Score: 9.5 / 10 (Critical)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Next.js has Server-Side Request Forgery in Image Optimization

CVE-2026-94483 / GHSA-cjq9-62q9-8jv4

More information

Details

Impact

An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization.

Workaround

Audit allow-listed remote URLs in images.remotePatterns (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no images.remotePatterns are configured, your app is not affected.

Severity

  • CVSS Score: 8.3 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Next.js has cache poisoning in SSG/ISR rendering that leads to cross-user content substitution and persistent denial of service

CVE-2026-94484 / GHSA-mcj8-r9mp-w47p

More information

Details

Next.js applications that use a root-level catch-all page together with statically generated or Incremental Static Regeneration routes can have their shared response cache poisoned by a single unauthenticated crafted request.

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass

CVE-2026-94485 / GHSA-f87g-xv8r-7p7x

More information

Details

In Next.js App Router applications built with webpack, metadata image routes such as opengraph-image and twitter-image ignore the dynamicParams route segment option. An attacker can request metadata image URLs for dynamic segments that were deliberately excluded from generateStaticParams().

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Next.js has information disclosure in development server's Model Context Protocol endpoint

CVE-2026-94486 / GHSA-39w2-rjm5-chcv

More information

Details

The Next.js development server (next dev) exposes a Model Context Protocol endpoint that does not verify which website a request originates from, allowing a malicious website visited by the developer to read sensitive development data — including the project's location on disk, source code snippets from error reports, the route inventory, and development logs. Only applications run with next dev are affected. Production deployments do not serve this endpoint.

Severity

  • CVSS Score: 2.3 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Next.js has cache poisoning of SSG and ISR pages in self-hosted applications

CVE-2026-94543 / GHSA-4jqv-mc3x-m676

More information

Details

Self-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Next.js: Pending use cache fill can leak Draft Mode content into regular responses and persisted pages

CVE-2026-94544 / GHSA-3w37-wq28-93x7

More information

Details

Pending use cache fills are shared across requests for the same key without distinguishing Draft Mode requests from regular requests. When two such requests overlap, the second request receives the first request's fill:

  • A regular request that overlaps an editor's Draft Mode request receives unpublished content, without any authentication.
  • A Draft Mode request that overlaps a regular request receives published content instead of the draft.

If the overlapping regular request prerenders a page — for example an on-demand prerender of a route that was not prerendered at build time — the unpublished content can be persisted into the generated page and served to all later visitors of that route until the page is revalidated. Since cached functions can be shared across routes, the poisoned page does not need to be the page the editor is previewing.

Sites are affected if they enable Cache Components (or experimental.useCache) and serve Draft Mode previews whose cached functions return draft-dependent content.

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


next.js cache leak across root param values in nested 'use cache' functions

CVE-2026-103004 / GHSA-h694-7cp9-m8p3

More information

Details

Impact

With Cache Components enabled (cacheComponents: true), a 'use cache' function that calls another 'use cache' function that reads a root param can be keyed incorrectly when the inner call is served from an existing entry: the enclosing function's cache key then omits that root param. The enclosing entry is written once and reused for all root param values, so a response for one root param value can serve content produced for a different value — whether the page is prerendered at build time or at runtime, or rendered dynamically. Shared cache headers let downstream caches redistribute the content further.

What values are leaked cannot be attacker controlled. Which value's content is served depends only on which invocation wrote the entry first.

Workarounds

There are no known workarounds. Apps should upgrade to the patched version as soon as possible.

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

vercel/next.js (next)

v16.3.8

Compare Source

This release contains security fixes for the following advisories:

High:

Medium:

Low:

v16.3.7

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • turbo-tasks-backend: fix strongly consistent read hanging on a canceled task (#​98931)
Credits

Huge thanks to @​lukesandberg for helping!

v16.3.6

Compare Source

This release contains a security fix for GHSA-vcvr-r3jv-pc5j: Remote Code Execution in next/og ImageResponse


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@vercel

vercel Bot commented Apr 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
agent-context-ecommerce-example Ready Ready Preview Oct 20, 2026 4:08pm UTC

Request Review

@github-actions

github-actions Bot commented Apr 11, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Report for agent-context (packages/agent-context)

Status Category Percentage Covered / Total
🔵 Lines 30.23% 179 / 592
🔵 Statements 30.98% 198 / 639
🔵 Functions 22.9% 41 / 179
🔵 Branches 24.45% 147 / 601
File CoverageNo changed files found.
Generated in workflow #514 for commit 2badfa4 by the Vitest Coverage Report Action

@socket-security

socket-security Bot commented Apr 11, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​next@​16.3.861100909970

View full report

@renovate renovate Bot changed the title fix(deps): Update dependency next to v16.2.3 [SECURITY] fix(deps): Update dependency next to v16.2.3 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate
renovate Bot deleted the renovate/npm-next-vulnerability branch April 27, 2026 16:40
@renovate renovate Bot changed the title fix(deps): Update dependency next to v16.2.3 [SECURITY] - autoclosed fix(deps): Update dependency next to v16.2.3 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch 2 times, most recently from c9a6ecb to 4485dec Compare April 27, 2026 20:52
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from 4485dec to 79c01be Compare May 4, 2026 12:55
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from 79c01be to a299516 Compare May 12, 2026 14:38
@socket-security

socket-security Bot commented May 12, 2026 •

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from a299516 to e677651 Compare May 12, 2026 19:57
@renovate renovate Bot changed the title fix(deps): Update dependency next to v16.2.3 [SECURITY] fix(deps): Update dependency next to v16.2.6 [SECURITY] May 12, 2026
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from e677651 to e98673f Compare May 13, 2026 13:33
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from e98673f to 55c3a98 Compare May 18, 2026 14:07
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from 55c3a98 to 2badfa4 Compare May 28, 2026 23:54
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from b696094 to f118b51 Compare August 12, 2026 04:46
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from f118b51 to c325dbe Compare August 26, 2026 10:34
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from c325dbe to 8203fe9 Compare August 28, 2026 14:10
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from 8203fe9 to cdc7686 Compare September 3, 2026 13:08
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from cdc7686 to a8e2933 Compare September 4, 2026 01:22
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from a8e2933 to db0a0fa Compare September 11, 2026 10:43
@renovate renovate Bot changed the title fix(deps): update dependency next to v16.2.11 [security] fix(deps): update dependency next to v16.3.3 [security] Sep 11, 2026
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from db0a0fa to 56f1eab Compare September 25, 2026 00:34
@renovate renovate Bot changed the title fix(deps): update dependency next to v16.3.3 [security] fix(deps): update dependency next to v16.3.3 [security] - autoclosed Sep 25, 2026
@renovate renovate Bot closed this Sep 25, 2026
@renovate renovate Bot changed the title fix(deps): update dependency next to v16.3.3 [security] - autoclosed fix(deps): update dependency next to v16.3.6 [security] Oct 1, 2026
@renovate renovate Bot reopened this Oct 1, 2026
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch 2 times, most recently from 56f1eab to 504d5ee Compare October 1, 2026 07:44
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from 504d5ee to 49ffcc7 Compare October 5, 2026 20:08
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from 49ffcc7 to c812cc5 Compare October 14, 2026 09:27
@renovate renovate Bot changed the title fix(deps): update dependency next to v16.3.6 [security] fix(deps): update dependency next to v16.3.8 [security] Oct 14, 2026
@renovate
renovate Bot force-pushed the renovate/npm-next-vulnerability branch from c812cc5 to addc0e8 Compare October 20, 2026 16:07

This branch was successfully deployed

1 active deployment
Preview — addc0e87 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants