CVE-2026-59681: Ruby Open3 Shell String Command Injection

A dynamically built command string is passed to an Open3 helper as its single command argument. Open3 executes a single-String command by running it through /bin/sh, so every shell metacharacter interpolated into the string (';', '$(...)', '`...`', '|', '&&') becomes live shell syntax running with the privileges of this process (root for YaST modules). Confi

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Ruby
greprules fetch cve-2026-59681-ruby-open3-shell-string-command-injection --engine opengrep

Description

A dynamically built command string is passed to an Open3 helper as its single command argument. Open3 executes a single-String command by running it through /bin/sh, so every shell metacharacter interpolated into the string (';', '$(...)', '`...`', '|', '&&') becomes live shell syntax running with the privileges of this process (root for YaST modules). Confi