Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
next-picomatch-cve-repro — # Next.js 16.2.4 で picomatch 4.0.3(CVE-2026-33671)をバンドルする際の最小再現 | Kitploit
ツール/GitHubGitHub/belazy167/next-picomatch-cve-repro
脆弱性分析サプライチェーンセキュリティ学習と教育厳選リソース
GitHubbelazy167/next-picomatch-cve-repro

next-picomatch-cve-repro

# Next.js 16.2.4 で picomatch 4.0.3(CVE-2026-33671)をバンドルする際の最小再現

リポジトリを見る
35ヶ月前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有

Next.js バンドル版 picomatch CVE-2026-33671 再現

最小再現: Next.js 16.2.4 には picomatch 4.0.3 が node_modules/next/dist/compiled/picomatch/ にベンダリングされて同梱されており、CVE-2026-33671 (HIGH) の影響を受けます。npm の overrides ではバンドルされたコピーに到達できません。

手順

root@kitploit:~
npm install

1. ベンダリングされたコピーを確認

root@kitploit:~
cat node_modules/next/dist/compiled/picomatch/package.json
# → {"name":"picomatch","main":"index.js",...}  (version フィールドは削除済み)

2. Trivy でスキャン

root@kitploit:~
npx next build
docker build -t next-picomatch-repro .
trivy image next-picomatch-repro

期待される出力:

root@kitploit:~
picomatch (package.json) | CVE-2026-33671 | HIGH | fixed | 4.0.3 | 4.0.4

3. overrides が役に立たないことを証明

package.json に以下を追加できます:

root@kitploit:~
"overrides": {
  "picomatch": "4.0.4"
}

これにより node_modules/[email protected] は正しくインストールされますが、node_modules/next/dist/compiled/picomatch/ は Next.js 自身の tarball 内にバンドルされているため 4.0.3 のままです。

期待される修正

Next.js が picomatch ≥ 4.0.4 から dist/compiled/picomatch/ を再バンドルしたパッチリリースを公開することです。下流の利用者は通常の npm install でそれを取得できます。

ツールをダウンロード