Skip to content

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

MediumCVSS 6.3 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Qualys,Inc. Qualys Agent < 3.21.1-6; < 3.31.1-8; < 4.2.6; < 5.0.2 +7 more 3.21.1-6, 3.31.1-8, 4.2.6, 5.0.2, 5.0.3, 6.0.0, 6.0.3, 6.2.1, 6.3.1, 7.1.0, 7.2.3 Fixed

Affected products

ProductAffected versionsFixed in
Qualys,Inc. Qualys Agent >= 5.0, < 7.2.3 7.2.3
Qualys,Inc. Qualys Agent >= 3.12, < 7.1.0 7.1.0
Qualys,Inc. Qualys Agent >= 4.17, < 6.0.0 6.0.0
Qualys,Inc. Qualys Agent < 6.2.1 6.2.1
Qualys,Inc. Qualys Agent < 6.3.1 6.3.1
Qualys,Inc. Qualys Agent < 3.31.1-8 3.31.1-8
Qualys,Inc. Qualys Agent < 3.21.1-6 3.21.1-6
Qualys,Inc. Qualys Agent < 4.2.6 4.2.6
Qualys,Inc. Qualys Agent < 5.0.3 5.0.3
Qualys,Inc. Qualys Agent < 5.0.2 5.0.2
Qualys,Inc. Qualys Agent < 6.0.3 6.0.3

References