Skip to content

🚨 [security] Update next 12.0.5 β†’ 16.1.7 (major)#264

Closed
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/yarn/next-16.1.7
Closed

🚨 [security] Update next 12.0.5 β†’ 16.1.7 (major)#264
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/yarn/next-16.1.7

Conversation

@depfu
Copy link
Copy Markdown

@depfu depfu Bot commented Mar 17, 2026


Welcome to Depfu πŸ‘‹

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!



🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ next (12.0.5 β†’ 16.1.7) Β· Repo

Security Advisories 🚨

🚨 Next.js: null origin can bypass Server Actions CSRF checks

More info than we can show here.

🚨 Next.js: null origin can bypass dev HMR websocket CSRF checks

More info than we can show here.

🚨 Next.js: HTTP request smuggling in rewrites

More info than we can show here.

🚨 Next.js: HTTP request smuggling in rewrites

More info than we can show here.

🚨 Next.js: Unbounded next/image disk cache growth can exhaust storage

More info than we can show here.

🚨 Next.js: Unbounded postponed resume buffering can lead to DoS

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js has Unbounded Memory Consumption via PPR Resume Endpoint

More info than we can show here.

🚨 Next.js has Unbounded Memory Consumption via PPR Resume Endpoint

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

More info than we can show here.

🚨 Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration

More info than we can show here.

🚨 Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next has a Denial of Service with Server Components - Incomplete Fix Follow-Up

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Vulnerable to Denial of Service with Server Components

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next Server Actions Source Code Exposure

More info than we can show here.

🚨 Next.js is vulnerable to RCE in React flight protocol

More info than we can show here.

🚨 Next.js is vulnerable to RCE in React flight protocol

More info than we can show here.

🚨 Next.js is vulnerable to RCE in React flight protocol

More info than we can show here.

🚨 Next.js is vulnerable to RCE in React flight protocol

More info than we can show here.

🚨 Next.js is vulnerable to RCE in React flight protocol

More info than we can show here.

🚨 Next.js is vulnerable to RCE in React flight protocol

More info than we can show here.

🚨 Next.js is vulnerable to RCE in React flight protocol

More info than we can show here.

🚨 Next.js Content Injection Vulnerability for Image Optimization

More info than we can show here.

🚨 Next.js Improper Middleware Redirect Handling Leads to SSRF

More info than we can show here.

🚨 Next.js Affected by Cache Key Confusion for Image Optimization API Routes

More info than we can show here.

🚨 Next.js Improper Middleware Redirect Handling Leads to SSRF

More info than we can show here.

🚨 Next.js Content Injection Vulnerability for Image Optimization

More info than we can show here.

🚨 Next.js has a Cache poisoning vulnerability due to omission of the Vary header

More info than we can show here.

🚨 Next.JS vulnerability can lead to DoS via cache poisoning

More info than we can show here.

🚨 Information exposure in Next.js dev server due to lack of origin verification

More info than we can show here.

🚨 Information exposure in Next.js dev server due to lack of origin verification

More info than we can show here.

🚨 Next.js Race Condition to Cache Poisoning

More info than we can show here.

🚨 Next.js Race Condition to Cache Poisoning

More info than we can show here.

🚨 Next.js may leak x-middleware-subrequest-id to external hosts

More info than we can show here.

🚨 Next.js may leak x-middleware-subrequest-id to external hosts

More info than we can show here.

🚨 Next.js may leak x-middleware-subrequest-id to external hosts

More info than we can show here.

🚨 Next.js may leak x-middleware-subrequest-id to external hosts

More info than we can show here.

🚨 Authorization Bypass in Next.js Middleware

More info than we can show here.

🚨 Authorization Bypass in Next.js Middleware

More info than we can show here.

🚨 Authorization Bypass in Next.js Middleware

More info than we can show here.

🚨 Authorization Bypass in Next.js Middleware

More info than we can show here.

🚨 Next.js Allows a Denial of Service (DoS) with Server Actions

More info than we can show here.

🚨 Next.js Allows a Denial of Service (DoS) with Server Actions

More info than we can show here.

🚨 Next.js Allows a Denial of Service (DoS) with Server Actions

More info than we can show here.

🚨 Next.js authorization bypass vulnerability

More info than we can show here.

🚨 Denial of Service condition in Next.js image optimization

More info than we can show here.

🚨 Next.js Cache Poisoning

More info than we can show here.

🚨 Next.js Cache Poisoning

More info than we can show here.

🚨 Next.js Denial of Service (DoS) condition

More info than we can show here.

🚨 Next.js Vulnerable to HTTP Request Smuggling

More info than we can show here.

🚨 Next.js Server-Side Request Forgery in Server Actions

More info than we can show here.

🚨 Next.js missing cache-control header may lead to CDN caching empty reply

More info than we can show here.

🚨 Unexpected server crash in Next.js

More info than we can show here.

🚨 Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0

More info than we can show here.

🚨 Denial of Service Vulnerability in next.js

More info than we can show here.
Release Notes

Too many releases to show here. View the full release notes.

Sorry, we couldn't find anything useful about this release.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Mar 17, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 17, 2026

⚠️ No Changeset found

Latest commit: 92721f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@guardrails
Copy link
Copy Markdown

guardrails Bot commented Mar 17, 2026

⚠️ We detected 42 security issues in this pull request:

Vulnerable Libraries (42)
Severity Details
N/A pkg:npm/ajv@6.12.6 (t) upgrade to: 8.18.0
N/A pkg:npm/ajv@8.6.3 (t) upgrade to: 8.18.0
Low pkg:npm/brace-expansion@1.1.11 (t) upgrade to: 1.1.12,3.0.1,4.0.1,2.0.2
High pkg:npm/braces@3.0.2 (t) upgrade to: 3.0.3
Medium pkg:npm/cookiejar@2.1.3 (t) upgrade to: 2.1.4
High pkg:npm/cross-spawn@6.0.5 (t) upgrade to: 7.0.5
High pkg:npm/cross-spawn@7.0.3 (t) upgrade to: 7.0.5
N/A pkg:npm/diff@4.0.2 (t) upgrade to: 8.0.3,5.2.2,4.0.4
Medium pkg:npm/eslint@7.32.0 (t) upgrade to: 9.26.0
High pkg:npm/flatted@3.2.2 (t) upgrade to: 3.4.0
N/A pkg:npm/form-data@3.0.1 (t) upgrade to: 2.5.4,3.0.4,4.0.4
Critical pkg:npm/formidable@1.2.2 (t) upgrade to: 3.2.4
High pkg:npm/h3@0.2.12 (t) upgrade to: 1.15.5
Critical pkg:npm/ipx@0.7.2 (t) upgrade to: 1.3.2,2.1.1,3.1.1
Medium pkg:npm/jose@4.1.4 (t) upgrade to: 4.15.5,2.0.7
Medium pkg:npm/js-yaml@3.14.1 (t) upgrade to: 4.1.1
High pkg:npm/json5@2.2.0 (t) upgrade to: 2.2.2
Medium pkg:npm/lodash@4.17.21 (t) upgrade to: 4.17.23
Medium pkg:npm/micromatch@4.0.4 (t) - no patch available
High pkg:npm/minimatch@3.0.4 (t) upgrade to: 8.0.6,7.4.8,6.2.2,5.1.8,4.2.5,3.1.3,10.2.3,9.0.7
Critical pkg:npm/minimist@1.2.5 (t) upgrade to: 1.2.6
N/A pkg:npm/nanoid@3.1.30 (t) upgrade to: 5.0.9,3.3.8
N/A pkg:npm/next-auth@4.0.0-beta.6 (t) upgrade to: 4.24.12,5.0.0-beta.30
High pkg:npm/node-fetch@2.6.6 (t) upgrade to: 3.1.1,2.6.7
Medium pkg:npm/node-forge@0.10.0 (t) upgrade to: 1.3.0
Medium pkg:npm/postcss@8.3.11 (t) upgrade to: 8.4.31
Low pkg:npm/qs@6.10.1 (t) upgrade to: 6.14.2
Medium pkg:npm/semver@5.7.1 (t) upgrade to: 7.5.2
Medium pkg:npm/semver@6.3.0 (t) upgrade to: 7.5.2
Medium pkg:npm/semver@7.3.5 (t) upgrade to: 7.5.2
High pkg:npm/serialize-javascript@6.0.0 (t) upgrade to: 7.0.3
High pkg:npm/sharp@0.28.3 (t) upgrade to: 0.32.6
High pkg:npm/simple-get@3.1.0 (t) upgrade to: 4.0.1,3.1.1,2.8.2
N/A pkg:npm/tar-fs@2.1.1 (t) upgrade to: 3.0.9,1.16.5,2.1.3
High pkg:npm/terser@5.9.0 (t) upgrade to: 4.8.1,5.14.2
Low pkg:npm/tmp@0.2.1 (t) upgrade to: 0.2.4
Medium pkg:npm/tough-cookie@4.0.0 (t) upgrade to: 4.1.3
Low pkg:npm/webpack@5.62.1 (t) upgrade to: 5.104.0
Medium pkg:npm/word-wrap@1.2.3 (t) - no patch available
High pkg:npm/ws@7.5.5 (t) upgrade to: 5.2.4,6.2.3,7.5.10,8.17.1
High pkg:npm/ws@8.2.3 (t) upgrade to: 6.2.3,7.5.10,8.17.1,5.2.4
High pkg:npm/yaml@1.10.2 (t) upgrade to: 2.2.2

More info on how to fix Vulnerable Libraries in JavaScript.


πŸ‘‰ Go to the dashboard for detailed results.

πŸ“₯ Happy? Share your feedback with us.

@socket-security
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
Updatednext@​12.0.5 ⏡ 16.1.762 -2099 +74919770

View full report

@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "β–Ά" to expand/collapse)
Warn High
License policy violation: npm caniuse-lite under CC-BY-4.0

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (npm metadata)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/LICENSE)

License: CC-BY-4.0 - the applicable license policy does not allow this license (4) (package/package.json)

From: ? β†’ npm/next@16.1.7 β†’ npm/caniuse-lite@1.0.30001780

β„Ή Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/caniuse-lite@1.0.30001780. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@depfu
Copy link
Copy Markdown
Author

depfu Bot commented Mar 19, 2026

Closed in favor of #266.

1 similar comment
@depfu
Copy link
Copy Markdown
Author

depfu Bot commented Mar 19, 2026

Closed in favor of #266.

@depfu depfu Bot closed this Mar 19, 2026
@depfu depfu Bot deleted the depfu/update/yarn/next-16.1.7 branch March 19, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants