CVE-2021-31854: McAfee Agent

High severity, CVSS 7.8. EPSS: 1% chance of exploitation in the next 30 days.

A command Injection Vulnerability in McAfee Agent (MA) for Windows prior to 5.7.5 allows local users to inject arbitrary shell code into the file cleanup.exe. The malicious clean.exe file is placed into the relevant folder and executed by running the McAfee Agent deployment feature located in the System Tree. An attacker may exploit the vulnerability to obtain a reverse shell which can lead to privilege escalation to obtain root privileges.

Affected products

  • McAfee Agent: before 5.7.5 (fixed in 5.7.5)

Published 2022-01-19. Last modified 2026-06-17.