CVE-2025-43079

Local Privilege Escalation via qagent_uninstall.sh Qualys Cloud Agents

State
Published
Severity
6.3 Medium
Published
Nov 10, 2025
Updated
Mar 18, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HQualys

Weaknesses

Affected Products

ProductVersions
Qualys AgentQualys Inc
  • 5.0 to before 7.2.3Affected
Qualys AgentQualys Inc
  • 3.12 to before 7.1.0Affected
Qualys AgentQualys Inc
  • 4.17 to before 6.0.0Affected
Qualys AgentQualys Inc
  • before 6.2.1Affected
Qualys AgentQualys Inc
  • before 6.3.1Affected
Qualys AgentQualys Inc
  • before 3.31.1-8Affected
Qualys AgentQualys Inc
  • before 3.21.1-6Affected
Qualys AgentQualys Inc
  • before 4.2.6Affected
Qualys AgentQualys Inc
  • before 5.0.3Affected
Qualys AgentQualys Inc
  • before 5.0.2Affected
Qualys AgentQualys Inc
  • before 6.0.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.