CVE-2026-59680: Ruby Command Injection Interpolated Shell String

A shell command string is built with literal interpolation (#{...}) and executed through /bin/sh: Ruby backticks, and the single-string forms of system/exec/spawn/ IO.popen/Open3.*, hand the whole string to a shell. Any value interpolated into the command text — e.g. a shadowLastChange/shadowExpire attribute read from a user record without numeric validation

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

Description

A shell command string is built with literal interpolation (#{...}) and executed through /bin/sh: Ruby backticks, and the single-string forms of system/exec/spawn/ IO.popen/Open3.*, hand the whole string to a shell. Any value interpolated into the command text — e.g. a shadowLastChange/shadowExpire attribute read from a user record without numeric validation