CVEBrief

Home / npm / npm / CVE-2022-29244

CVE-2022-29244: is it exploited, and which versions of npm are affected and fixed?

CVE-2022-29244 is an information disclosure vulnerability in npm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: npm from 7.9.0 before 8.11.0 (GitHub advisory GHSA-hj9c-8jmm-8c52). Fixed in 8.11.0 (GitHub advisory GHSA-hj9c-8jmm-8c52). Severity: High (7.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 19:44 UTC and NVD November 19, 2026, 07:47 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
npm from 7.9.0 before 8.11.0
GitHub advisory GHSA-hj9c-8jmm-8c52
Fixed in
8.11.0
GitHub advisory GHSA-hj9c-8jmm-8c52
Severity
High 7.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
4.00% in 30 days
higher than 91% of CVEs; FIRST, December 2, 2026

What is CVE-2022-29244?

npm packing does not respect root-level ignore files in workspaces

npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=<name>`). Anyone who has run `npm pack` or `npm publish` inside a workspace, as of v7.9.0 and v7.13.0 respectively, may be affected and have published files into the npm registry they did not intend to include. Users should upgrade to the latest, patched version of npm v8.11.0, run: npm i -g npm@latest . Node.js versions v16.15.1, v17.19.1, and v18.3.0 include the patched v8.11.0 version of npm.

From the CVE record by GitHub_M, last updated April 23, 2025, 16:23 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
npmnpmevery 7.9.0 version
from 8.11.0 before 8.11.0
8.11.0

As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npmnpm>= 7.9.0, < 8.11.08.11.0GHSA-hj9c-8jmm-8c52

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 29, 2022. Summary: Packing does not respect root-level ignore files in workspaces.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
npmjsnpmfrom 7.9.0 before 8.11.0application
netappontap select deploy administration utilityall versionsapplication

NVD analysis (status Modified), last modified June 17, 2026, 04:39 UTC.

How severe is CVE-2022-29244?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD
Medium 5.0CVSS 2.0AV:N/AC:L/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-29244 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 23, 2025)
EPSS
4.00% probability of exploitation activity in the next 30 days, percentile 90.8 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 13, 2022
Published
June 13, 2022, 13:40 UTC
CVE record updated
April 23, 2025, 16:23 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:39 UTC
Last checked
CVE list November 28, 2026, 19:44 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2022-29244

Is CVE-2022-29244 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 4.00% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of npm are affected by CVE-2022-29244?

npm from 7.9.0 before 8.11.0, per the GitHub advisory GHSA-hj9c-8jmm-8c52. The tables above give every range the sources list.

Which version fixes CVE-2022-29244?

8.11.0, per the GitHub advisory GHSA-hj9c-8jmm-8c52. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-29244?

High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2022-29244?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.