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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250422T181640-1.1 | openSUSE-SU-2025:15017-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | ehang.io/nps | < 0.23.2 | 0.23.2 | GHSA-2vp2-8m5j-4rjx |
| Go | github.com/cnlh/nps | < 0.23.2 | 0.23.2 | GO-2025-3625 |
Advisories 1
- openSUSE-SU-2025:15017-1 govulncheck-vulndb-0.0.20250422T181640-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026