Skip to content
Fencer Vulns
low 3.5

CVE-2016-10538 json

Arbitrary File Write in cli

published 2018-05-31 8 y ago modified 2026-06-17 4 mo ago also GHSA-6cpc-mj5c-m9rq , EUVD-2019-0240

cvss
3.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

The package `node-cli` before 1.0.0 insecurely uses the lock_file and log_file. Both of these are temporary, but it allows the starting user to overwrite any file they have access to.

Patch / fix

  • npm cli 1.0.0
  • cli_project cli 1.0.0

Exploit prediction

0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/node-js-libs/cli/issues/81 referenced PoC, tagged "exploit" by a source, unverified
  • nodesecurity.io https://nodesecurity.io/advisories/95 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 3.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
NVD 2.0 4.9 AV:N/AC:M/Au:S/C:N/I:P/A:P

Affected packages

ecosystem package affected fixed in
npm cli
<1.0.0
1.0.0

Affected products

  • HackerOne cli node module

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.