OS Command Injection in Ghidra - #VU158267

 

OS Command Injection in Ghidra - #VU158267

Published: October 28, 2026


Vulnerability identifier: #VU158267
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Ghidra

Remediation

Install security update from vendor's website.

Ghidra - update to 12.2

External References

Related Security Bulletins