Skip to content

next@16.2.11 bundles vulnerable sharp <0.35.0 (GHSA-f88m-g3jw-g9cj) #96064

Description

@carstrb

Link to the code that reproduces this issue

GHSA-f88m-g3jw-g9cj

To Reproduce

  1. Create an empty folder and with the following package.json:
   {
     "name": "next-sharp-audit-example",
     "private": true,
     "dependencies": {
       "next": "16.2.11",
       "react": "^19.0.0",
       "react-dom": "^19.0.0"
     }
   }
  1. Install dependencies
npm install
  1. Inspect the resolved dependency tree
npm ls sharp next
  1. Run an audit
npm audit

Current vs. Expected behavior

Current

next@16.2.11 resolves sharp@0.34.5. Running npm audit reports GHSA-f88m-g3jw-g9cj.

Expected

A release should resolve a non-vulnerable sharp version or guidance should exist for a supported workaround.

Provide environment information

## Environment

- Next.js version: 16.2.11
- Node.js version: 22.x
- npm version: 10.x
- OS: macOS

Which area(s) are affected? (Select all that apply)

Not sure

Which stage(s) are affected? (Select all that apply)

Other (Deployed)

Additional context

No response

Pinned by styfle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions