CVE-2026-81097
WysokieCVSS 8.4Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 7 - wyżej niż 7% wszystkich znanych CVE
Streszczenie
Narzędzie execute_ruby jest udokumentowane jako sandbox Ruby tylko do odczytu, ale jego lista blokad nie obejmuje punktów wejścia spawn w bibliotece pseudo-terminala. Normalne wywołanie narzędzia może uruchomić powłokę i wykonać komendy jako konto serwera. Wersja 1.6.1 ogranicza dozwolone require i blokuje dynamiczne wywołania, a 2.0.0 usuwa narzędzie.
Ocena ryzyka
Wykonanie dowolnych komend na serwerze może prowadzić do pełnej kompromitacji systemu i naruszenia integralności danych.
Rekomendacja
Zaktualizuj do wersji 1.6.1 lub nowszej, a najlepiej do 2.0.0, która usuwa narzędzie.
Oryginalny opis (angielski, źródło NVD)
The execute_ruby tool is documented as a read-only Ruby sandbox and is enforced by a pattern denylist together with replacements for the process-spawning methods on Kernel. The pseudo-terminal library's spawn entry points are neither in the denylist nor replaced, so a normal tool call could reach them and start a shell, executing commands as the account running the server and outside the guarded methods. The denylist was introduced with the tool in 1.4.0 and never covered those entry points through 1.6.0. Version 1.6.1 restricts the requires the sandbox permits to a data-only list and blocks dynamic dispatch to execution entry points; 2.0.0 removes the tool.

