CVE-2025-43079

Summary

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 Software

VendorProductVersion RangeStatus
Qualys IncQualys Agent5.0 < 7.2.3affected
Qualys IncQualys Agent3.12 < 7.1.0affected
Qualys IncQualys Agent4.17 < 6.0.0affected
Qualys IncQualys Agent0 < 6.2.1affected
Qualys IncQualys Agent0 < 6.3.1affected
Qualys IncQualys Agent0 < 3.31.1-8affected
Qualys IncQualys Agent0 < 3.21.1-6affected
Qualys IncQualys Agent0 < 4.2.6affected
Qualys IncQualys Agent0 < 5.0.3affected
Qualys IncQualys Agent0 < 5.0.2affected
Qualys IncQualys Agent0 < 6.0.3affected

Weaknesses

  • CWE-426: CWE-426 Untrusted Search Path

Workarounds

Customers are advised to check workaround solutions listed on 

https://www.qualys.com/security-advisories/cve-2025-43079

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References