Skip to main content
VulnerabilityPublished Updated

CVE-2024-21890: Nodejs · The Node.js Permission Model does not clarify in the documentation that wildcards should be

Affects nodejsSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.5 Medium.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10nodejspkg:deb/ubuntu/nodejs?arch=source&distro=stonkingOther threatsAffected
  • 22.22.1+dfsg+~cs22.19.15-1ubuntu1 – 24.19.0+dfsg+~cs24.13.3-1ubuntu1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSnodejspkg:deb/ubuntu/nodejs?arch=source&distro=resoluteOther threatsAffected
  • 20.19.4+dfsg-1 – 22.22.1+dfsg+~cs22.19.15-1ubuntu1
6 affected builds
Fixed in–
Ubuntu 25.10nodejspkg:deb/ubuntu/nodejs?arch=source&distro=questingOther threatsAffected
  • =20.18.1+dfsg-1ubuntu2
  • =20.19.2+dfsg-1
  • =20.19.4+dfsg-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` --allow-fs-read=/home/node/.ssh/*.pub ``` will ignore `pub` and give access to everything after `.ssh/`. This misleading documentation affects all users using the experimental permission model in Node.js 20 and Node.js 21. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

References

Community reviews

Loading reviews…