Local Privilege Escalation via qagent_uninstall.sh Qualys Cloud Agents
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-426.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Qualys | Qualys Agent | 5.0 to before 7.2.3 | 7.2.3 | Patch available | CNA |
| Qualys | Qualys Agent | 3.12 to before 7.1.0 | 7.1.0 | Patch available | CNA |
| Qualys | Qualys Agent | 4.17 to before 6.0.0 | 6.0.0 | Patch available | CNA |
| Qualys | Qualys Agent | before 6.2.1 | 6.2.1 | Patch available | CNA |
| Qualys | Qualys Agent | before 6.3.1 | 6.3.1 | Patch available | CNA |
| Qualys | Qualys Agent | before 3.31.1-8 | 3.31.1-8 | Patch available | CNA |
| Qualys | Qualys Agent | before 3.21.1-6 | 3.21.1-6 | Patch available | CNA |
| Qualys | Qualys Agent | before 4.2.6 | 4.2.6 | Patch available | CNA |
| Qualys | Qualys Agent | before 5.0.3 | 5.0.3 | Patch available | CNA |
| Qualys | Qualys Agent | before 5.0.2 | 5.0.2 | Patch available | CNA |
| Qualys | Qualys Agent | before 6.0.3 | 6.0.3 | Patch available | CNA |
- Qualys Agent VendorQualys Affected 5.0 to before 7.2.3 Fixed in 7.2.3 Patch available CNA
- Qualys Agent VendorQualys Affected 3.12 to before 7.1.0 Fixed in 7.1.0 Patch available CNA
- Qualys Agent VendorQualys Affected 4.17 to before 6.0.0 Fixed in 6.0.0 Patch available CNA
- Qualys Agent VendorQualys Affected before 6.2.1 Fixed in 6.2.1 Patch available CNA
- Qualys Agent VendorQualys Affected before 6.3.1 Fixed in 6.3.1 Patch available CNA
- Qualys Agent VendorQualys Affected before 3.31.1-8 Fixed in 3.31.1-8 Patch available CNA
- Qualys Agent VendorQualys Affected before 3.21.1-6 Fixed in 3.21.1-6 Patch available CNA
- Qualys Agent VendorQualys Affected before 4.2.6 Fixed in 4.2.6 Patch available CNA
- Qualys Agent VendorQualys Affected before 5.0.3 Fixed in 5.0.3 Patch available CNA
- Qualys Agent VendorQualys Affected before 5.0.2 Fixed in 5.0.2 Patch available CNA
- Qualys Agent VendorQualys Affected before 6.0.3 Fixed in 6.0.3 Patch available CNA
Remediation
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 7.2.3
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 7.1.0
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 6.0.0
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 6.2.1
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 6.3.1
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 3.31.1-8
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 3.21.1-6
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 4.2.6
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 5.0.3
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 5.0.2
- Fix · CNA Qualys Agent (Qualys Inc) Fixed in 6.0.3
Timeline
- 2026-10-02 Threatist record created from CVE-2025-43079
- 2026-10-03 Alias added: GHSA-j3gv-x7fr-5wqw
References
More Qualys vulnerabilities
- TI-2023-12716 Local privilege escalation in Qualys Cloud Agent CVSS 3.1HIGH 7.0
- TI-2023-12715 Race condition in Qualys Cloud Agent CVSS 3.1HIGH 7.0
- TI-2023-12713 Executable Hijacking CVSS 3.1HIGH 7.0
- TI-2022-12003 An issue was discovered in Qualys Cloud Agent 4.8.0-49. CVSS 3.1HIGH 7.3
- TI-2023-05652 Possible XXE vulnerability in Jenkins Plugin for Qualys Policy Compliance CVSS 3.1MEDIUM 6.5
- TI-2023-12714 NTFS Junction CVSS 3.1MEDIUM 6.7
Sources
- CVE-2025-43079 · CVE Program
- CVE-2025-43079 · NVD
- FIRST EPSS
- GHSA-j3gv-x7fr-5wqw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences