Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
next-picomatch-cve-repro — Minimal repro for Next.js 16.2.4 bundling picomatch 4.0.3 (CVE-2026-33671) | Kitploit
Tools/GitHubGitHub/belazy167/next-picomatch-cve-repro
Vulnerability AnalysisSupply Chain SecurityLearning & EducationCurated Resources
GitHubbelazy167/next-picomatch-cve-repro

next-picomatch-cve-repro

Minimal repro for Next.js 16.2.4 bundling picomatch 4.0.3 (CVE-2026-33671)

View Repository
35 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Next.js bundled picomatch CVE-2026-33671 repro

Minimal reproduction for: Next.js 16.2.4 ships with picomatch 4.0.3 vendored at node_modules/next/dist/compiled/picomatch/, which is affected by CVE-2026-33671 (HIGH). npm overrides cannot reach the bundled copy.

Steps

root@kitploit:~
npm install

1. Inspect the vendored copy

root@kitploit:~
cat node_modules/next/dist/compiled/picomatch/package.json
# → {"name":"picomatch","main":"index.js",...}  (version field stripped)

2. Scan with Trivy

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

Expected output:

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

3. Prove that overrides does not help

package.json can be extended with:

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

This correctly installs node_modules/[email protected], but node_modules/next/dist/compiled/picomatch/ stays on 4.0.3 because it is bundled inside Next's own tarball.

Expected fix

Next.js publishes a patch release with dist/compiled/picomatch/ re-bundled from picomatch ≥ 4.0.4. Downstream consumers then pick it up via normal npm install.

Download Tool