OS Command Injection in Ghidra - #VU158267
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary operating system commands on the analyst's workstation with the analyst's privileges.
The vulnerability exists due to improper neutralization of embedded single quotes in Ghidra's ssh-gdbserver.sh debugger launcher when inserting the automatically populated Image value into a GDB pipe command executed through /bin/sh. A remote attacker can supply a program with a crafted extracted path that produces an Image value such as X'; touch '/tmp/GHIDRA_MARKER'; # and trick the analyst into selecting gdb + gdbserver via ssh, retaining that Image value, and clicking Launch to execute arbitrary local commands before SSH connects.