npm package

glob-parent 5.1.1 vulnerability, and the version that fixes it

glob-parent 5.1.1 has 1 known vulnerability (1 rated high or critical); 5.1.2 fixes it.

npm (opens in a new tab) describes it as “Extract the non-magic parent path from a glob string.”

Known vulnerabilities
1
1 rated high or critical
Released
Mar 21, 2020
Latest is 6.0.2
Downloads last week
1.1M
Under 1% of glob-parent downloads
Licence
ISC
Pulls in
2 packages
Resolved by deps.dev

What to upgrade to

5.1.2 is the closest release with no known vulnerabilities.

  • 5.1.2Upgrade to this

    Fixes the known vulnerability and the newest 5.x release. Released Mar 6, 2021.

    No known vulnerabilities
  • 6.0.2

    Latest release. Released Sep 29, 2021.

    No known vulnerabilities

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for glob-parent 5.1.1

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2020-28469 on OSV.dev (opens in a new tab)GHSA-ww39-953v-wcq6EPSS: top 9%

    glob-parent vulnerable to Regular Expression Denial of Service in enclosure regex

    Fixed in 5.1.2. Published Jun 7, 2021.

Who is still on a vulnerable glob-parent

0% of last week’s 326.1M glob-parent downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is glob-parent the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly glob-parent 5.1.1, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.