OS Command Injection in Ghidra - CVE-2026-4946
Published: April 25, 2026
Ghidra
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper neutralization of special elements used in an os command in the @execute annotation handler when parsing binary-derived comments in the Listing view. A remote attacker can embed a crafted {@execute ...} annotation in a malicious binary to execute arbitrary code.
User interaction is required to click an auto-generated comment extracted from analyzed Mach-O CFString data.