CVE-2025-43079Local Privilege Escalation via qagent_uninstall.sh Qualys Cloud Agents
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Qualys, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Qualys Inc Qualys Agent: affected: 5.0 to before 7.2.3; fixed in
7.2.3 - Qualys Inc Qualys Agent: affected: 3.12 to before 7.1.0; fixed in
7.1.0 - Qualys Inc Qualys Agent: affected: 4.17 to before 6.0.0; fixed in
6.0.0 - Qualys Inc Qualys Agent: affected: before 6.2.1; fixed in
6.2.1 - Qualys Inc Qualys Agent: affected: before 6.3.1; fixed in
6.3.1 - Qualys Inc Qualys Agent: affected: before 3.31.1-8; fixed in
3.31.1-8 - Qualys Inc Qualys Agent: affected: before 3.21.1-6; fixed in
3.21.1-6 - Qualys Inc Qualys Agent: affected: before 4.2.6; fixed in
4.2.6 - Qualys Inc Qualys Agent: affected: before 5.0.3; fixed in
5.0.3 - Qualys Inc Qualys Agent: affected: before 5.0.2; fixed in
5.0.2 - Qualys Inc Qualys Agent: affected: before 6.0.3; fixed in
6.0.3
Solution: Customers are advised to update to non-affected versions of Qualys product.
Workaround: Customers are advised to check workaround solutions listed on https://www.qualys.com/security-advisories/cve-2025-43079
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.