Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-7232 Overview
CVE-2024-7232 is a local privilege escalation vulnerability in Avast Free Antivirus. The flaw resides in the Avast Service (AvastSvc) and stems from improper handling of symbolic links [CWE-59]. A local attacker with the ability to execute low-privileged code can abuse the service to delete arbitrary folders. Successful exploitation allows the attacker to execute arbitrary code in the context of SYSTEM.
The issue was reported through the Zero Day Initiative as ZDI-CAN-22963 and published as ZDI-24-1004.
Critical Impact
Local attackers can escalate from a low-privileged user context to full SYSTEM privileges on affected Windows endpoints running Avast Free Antivirus.
Affected Products
- Avast Free Antivirus version 23.12.6094 (build 23.12.8700.813)
- Windows installations running the vulnerable AvastSvc service
- Earlier builds sharing the same service component logic
Discovery Timeline
- 2024-11-22 - CVE-2024-7232 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-7232
Vulnerability Analysis
The vulnerability is a link-following flaw in the Avast Service component of Avast Free Antivirus. AvastSvc runs as SYSTEM and performs file and folder operations on paths that a low-privileged user can influence. Because the service does not adequately validate whether a target path is a symbolic link or junction before deleting it, an attacker can redirect delete operations to arbitrary locations on the file system.
The attacker leverages the SYSTEM-level delete to remove protected directories, which can then be used to drop attacker-controlled content into locations that other privileged processes trust. This chain allows arbitrary code execution in the SYSTEM context.
Root Cause
The root cause is improper link resolution before file system operations, classified as [CWE-59] Improper Link Resolution Before File Access. AvastSvc operates on user-writable paths without verifying that path components are not symbolic links, junctions, or hard links controlled by an unprivileged user.
Attack Vector
Exploitation requires local access and the ability to execute code as a low-privileged user. No user interaction is required beyond the attacker's own actions. The attacker plants a symbolic link in a path the Avast Service will act on, then triggers the service's folder delete routine. The service follows the link and deletes a folder outside the intended scope, which the attacker uses to stage privileged code execution.
No public proof-of-concept exploit is available in Exploit-DB or CISA KEV at the time of writing. Technical specifics are described in the Zero Day Initiative Advisory ZDI-24-1004.
Detection Methods for CVE-2024-7232
Indicators of Compromise
- Creation of NTFS junctions or symbolic links by non-administrative users in directories accessed by AvastSvc.
- Unexpected deletion of protected system or application folders by the AvastSvc.exe process running as SYSTEM.
- New or modified executables placed in directories previously removed by the Avast Service.
Detection Strategies
- Monitor process ancestry where AvastSvc.exe spawns or enables child processes running as SYSTEM after file system changes initiated by non-privileged users.
- Correlate mklink, CreateSymbolicLink, or CreateHardLink API usage from low-privileged user contexts with subsequent file deletions by Avast components.
- Alert on local privilege escalation patterns where a standard user session is followed by SYSTEM-level process creation.
Monitoring Recommendations
- Enable Windows Sysmon event IDs 11 (FileCreate), 23 (FileDelete), and 1 (ProcessCreate) and forward to a central analytics platform.
- Audit file system operations on paths such as %ProgramData%\Avast Software\ for unexpected link creation.
- Track endpoint software inventory to identify hosts still running Avast Free Antivirus build 23.12.8700.813 or earlier.
How to Mitigate CVE-2024-7232
Immediate Actions Required
- Update Avast Free Antivirus to the latest vendor-released version that addresses the AvastSvc link-following flaw.
- Inventory all endpoints running Avast Free Antivirus and prioritize patching systems where standard users have local logon rights.
- Restrict interactive logon on high-value hosts to reduce opportunities for local privilege escalation.
Patch Information
Refer to the Zero Day Initiative Advisory ZDI-24-1004 for coordinated disclosure details and consult the Avast product update channel for the fixed build. No dedicated vendor advisory URL is listed in the NVD record at the time of publication.
Workarounds
- Limit local user accounts and remove unnecessary standard user logon rights on endpoints running Avast Free Antivirus.
- Apply Group Policy to deny the SeCreateSymbolicLinkPrivilege right to non-administrative users where business needs allow.
- Monitor AvastSvc.exe behavior with endpoint telemetry until the patch is deployed across the environment.
# Verify SeCreateSymbolicLinkPrivilege assignment on Windows hosts
whoami /priv | findstr SeCreateSymbolicLinkPrivilege
# Review local security policy for symbolic link creation rights
secedit /export /cfg C:\Temp\secpol.cfg
findstr /i "SeCreateSymbolicLinkPrivilege" C:\Temp\secpol.cfg
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

