01 Record
CVE-2026-118905
nvm_ls lets an untrusted version string inject sed commands, executing arbitrary commands with GNU sed
HighPUBLISHEDCNA: harborist
CNA base score7.1 CVSS v4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
02 Description
nvm_ls lets an untrusted version string inject sed commands, executing arbitrary commands with GNU sed
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- Not scored by EPSS
- EPSS percentile
- Not scored by EPSS
- NVD base score
- 7.1 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Received. NVD last modified this record on 2026-10-29.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-10-29 05:22Z5 HR AGO
- Last updated
- 2026-10-29 05:22Z5 HR AGO
- Reserved
- 2026-10-29
- Assigning CNA
- harborist
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.1)
- CNA CVSS vector
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weaknesses
- Data version
- 5.2
- Document digest
- e677dd8616da8add8672dd04ff584bbc38bc11af63ee6b9f682ff4947014feb2
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comGHSA-vgqf-vc3m-4wv3https://github.com/nvm-sh/nvm/security/advisories/GHSA-vgqf-vc3m-4wv3
- github.comFix commit 82315e2bhttps://github.com/nvm-sh/nvm/commit/82315e2b189528a006da6701eac30e8c364ffd22
- github.comnvm-sh/nvm#3854https://github.com/nvm-sh/nvm/pull/3854
- github.comv0.40.6https://github.com/nvm-sh/nvm/releases/tag/v0.40.6
07 Remediation
Upgrade to nvm 0.40.6 or later.