Description
The Qualys Cloud Agent included a bundled uninstall script (qagent_uninstall.sh), specific to Mac and Linux supported versions that invoked multiple system commands without using absolute paths and without sanitizing the $PATH environment. If the uninstall script is executed with elevated privileges (e.g., via sudo) in an environment where $PATH has been manipulated, an attacker with root/sudo privileges could cause malicious executables to be run in place of the intended system binaries. This behavior can be leveraged for local privilege escalation and arbitrary command execution under elevated privileges.
Problem types
Product status
5.0 (custom) before 7.2.3
3.12 (custom) before 7.1.0
4.17 (custom) before 6.0.0
Any version before 6.2.1
Any version before 6.3.1
Credits
Brent Zaltsman (AfricanHipp0)
References
www.qualys.com/security-advisories/cve-2025-43079