minimatch: minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
There is evidence it can be used, or an emergency alert, without the proof that makes it urgent.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- minimatch (npm): from 10.0.0, before 10.2.3
- minimatch (npm): from 9.0.0, before 9.0.7
- minimatch (npm): from 8.0.0, before 8.0.6
- minimatch (npm): from 7.0.0, before 7.4.8
- minimatch (npm): from 6.0.0, before 6.2.2
- minimatch (npm): from 5.0.0, before 5.1.8
- minimatch (npm): from 4.0.0, before 4.2.5
- minimatch (npm): every version, before 3.1.4
The fix
minimatch (npm) fixed in 10.2.3
npmnpm install minimatch@10.2.3pnpmpnpm add minimatch@10.2.3yarnyarn add minimatch@10.2.3bunbun add minimatch@10.2.3Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 10.2.3 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.minimatch (npm) fixed in 9.0.7
npmnpm install minimatch@9.0.7pnpmpnpm add minimatch@9.0.7yarnyarn add minimatch@9.0.7bunbun add minimatch@9.0.7Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 9.0.7 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.minimatch (npm) fixed in 8.0.6
npmnpm install minimatch@8.0.6pnpmpnpm add minimatch@8.0.6yarnyarn add minimatch@8.0.6bunbun add minimatch@8.0.6Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 8.0.6 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.minimatch (npm) fixed in 7.4.8
npmnpm install minimatch@7.4.8pnpmpnpm add minimatch@7.4.8yarnyarn add minimatch@7.4.8bunbun add minimatch@7.4.8Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 7.4.8 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.minimatch (npm) fixed in 6.2.2
npmnpm install minimatch@6.2.2pnpmpnpm add minimatch@6.2.2yarnyarn add minimatch@6.2.2bunbun add minimatch@6.2.2Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 6.2.2 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.minimatch (npm) fixed in 5.1.8
npmnpm install minimatch@5.1.8pnpmpnpm add minimatch@5.1.8yarnyarn add minimatch@5.1.8bunbun add minimatch@5.1.8Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 5.1.8 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.minimatch (npm) fixed in 4.2.5
npmnpm install minimatch@4.2.5pnpmpnpm add minimatch@4.2.5yarnyarn add minimatch@4.2.5bunbun add minimatch@4.2.5Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 4.2.5 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.minimatch (npm) fixed in 3.1.4
npmnpm install minimatch@3.1.4pnpmpnpm add minimatch@3.1.4yarnyarn add minimatch@3.1.4bunbun add minimatch@3.1.4Check what is installednpm ls minimatchPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency minimatch to 3.1.4 or the nearest later release, to fix CVE-2026-27904. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
Exploitable · Confirmed
CISA's assessment in the CVE record says a proof of concept is public.
CISA Vulnrichment (SSVC and KEV fields inside CVE records)Stated
Timeline
- First published here, as "For your digest".
- Level changed from "For your digest" to "This week".
- Evidence added: CISA's assessment in the CVE record says a proof of concept is public. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))