What’s Vulnerable › Vulnerabilities

CVE-2025-43079: Local Privilege Escalation via qagent_uninstall.sh Qualys Cloud Agents

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.

Affected products

How to fix

Upgrade to a fixed version: Qualys Inc Qualys Agent 3.21.1-6, 3.31.1-8, 4.2.6, 5.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-43079 or the next vulnerability affects your stack