Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-43079 EUVD-2025-48941GHSA-j3gv-x7fr-5wqw

Local Privilege Escalation via qagent_uninstall.sh Qualys Cloud Agents

Published Nov 10, 2025 · Updated Mar 18, 2026 · Assigned by Qualys

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

VendorProductAffectedFixed
Qualys Qualys Agent 5.0 – < 7.2.3, 3.12 – < 7.1.0, 4.17 – < 6.0.0, < 6.2.1, < 6.3.1, < 3.31.1-8, < 3.21.1-6, < 4.2.6, < 5.0.3, < 5.0.2, < 6.0.3 7.2.3

Advisories 1

References