Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
next-security-check — Next.jsプロジェクトを2026年10月14日のセキュリティアドバイザリ(CVE-2026-96889、use cache RCE、Server Actions DoS)に対してチェックします。依存関係はありません。 | Kitploit
ツール/GitHubGitHub/amansin001/next-security-check
静的分析脆弱性スキャナー脆弱性分析ウェブセキュリティDevSecOpsサプライチェーンセキュリティ
GitHubamansin001/next-security-check

next-security-check

Next.jsプロジェクトを2026年10月14日のセキュリティアドバイザリ(CVE-2026-96889、use cache RCE、Server Actions DoS)に対してチェックします。依存関係はありません。

リポジトリを見る
118日前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
ウェブサイト
共有

next-security-check

Next.jsプロジェクトを2026年10月14日のNext.jsセキュリティアドバイザリに対して、依存関係なしの1コマンドでチェックします:

  • CVE-2026-96889 (GHSA-2464-fhr4-w9xw): SVGを用いたImage Optimization APIにおけるリモートコード実行、sharp経由(critical)
  • GHSA-673q-mjm6-r5xr: 型付き配列を返すuse cache関数におけるリモートコード実行(critical、Next.js 16)
  • GHSA-p3m5-59mp-jv5r: Server Actionsにおけるサービス拒否(high)
  • GHSA-xqc2-xf4c-x3h3: React Server Componentsパッケージ、直接インストールされている場合(critical)

package.jsonの範囲ではなく、node_modulesに実際にインストールされているバージョン(npm、pnpm、yarnのレイアウト、ネストされたコピーを含む)を読み取り、ソースを"use cache"、"use server"、next/imageについてスキャンします。

詳細な解説: Next.js security update, October 2026

使用方法

Node.js 18以降が必要です。パッケージをインストールした後、プロジェクトのルートで実行してください:

curl -O https://raw.githubusercontent.com/AmanSin001/next-security-check/main/next-security-check.mjs
node next-security-check.mjs            # current folder
node next-security-check.mjs ./my-app   # or a path
echo $?                                 # 0 = nothing to do, 1 = action needed

出力例

Server Actionsとnext/imageを備えたNext.js 16.3.0の実際のインストール環境:

Next.js security check (October 14, 2026 advisories)
next:     16.3.0
sharp:    0.35.3
features: App Router yes, "use cache" no, Server Actions yes, next/image yes

FIX  CVE-2026-96889       Image Optimization RCE with SVG (critical)
      your app uses next/image. sharp 0.35.3 installed; needs 0.35.5+.
      Fix: next 16.4.1, or sharp 0.35.5+ for every copy
FIX  GHSA-673q-mjm6-r5xr  use cache RCE (critical, Next.js 16)
      no "use cache" found; Vercel still says upgrade
      Fix: next 16.4.1
FIX  GHSA-p3m5-59mp-jv5r  Server Actions denial of service (high)
      your code has "use server"
      Fix: next 16.4.1
ok   GHSA-xqc2-xf4c-x3h3  React Server Components packages (critical)
      not installed directly (Next.js bundles its own)

Action needed: upgrade, reinstall, rebuild and redeploy.

Next.js 15におけるsharpの罠

Next.js 15.5.28は依然としてsharp ^0.34.3を受け入れ、0.34系には修正版リリースがありません。sharpが自身のpackage.jsonにあるか、ロックファイルに固定されている場合、Next.jsをアップグレードしてもそのまま残ります。チェッカーはこれを検出し、npm install sharp@^0.35.5を提案します。

修正済みバージョン

系統修正版リリース
Next.js 1616.4.1
Next.js 1515.5.28
sharp0.35.5以降
react-server-dom-*19.0.9、19.1.10、19.2.9、19.3.1

テスト

node --test next-security-check.test.mjs

pnpmの.pnpmレイアウト、シンボリックリンク、15.xのsharpの罠、Pages Routerアプリを含む8つのケース。

制限事項

  • ソーススキャンはapp、src、pages、components、libを対象とします。ビルド時に生成されたコードや別のパッケージ内にあるコードは検出されません。疑わしい場合はアップグレードしてください。
  • インストール済みパッケージのみを報告します。アップグレード後は再ビルドと再デプロイを行ってください。実行中のサーバーは古いコードを保持し続けます。

ライセンス

MIT。修正作業が必要ですか? CodeWares。

ツールをダウンロード