AnyDesk
CVE-2019-25261
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged local access
-
ExploitWrite malicious exe to unquoted service path
-
ExecutionTrigger service/host restart
-
ImpactSCM executes planted binary as SYSTEM
Vulnerability Assessment
| Weakness | |
| Exploitation Conditions | Requires the attacker to already have local, interactive or code-execution access on the Windows host as a low-privileged user, plus write permission to a directory earlier in the AnyDesk service's unquoted executable path (e.g. the root of a path segment containing spaces such as C:\Program Files). Exploitation is NOT remote and NOT unauthenticated (PR:L): it depends on the service being installed with the unquoted path and on a service restart or system reboot occurring to launch the planted binary as SYSTEM. There is no user-interaction requirement from a victim. Limiting factors: default installation ACLs that deny non-admin write access to the relevant directories neutralize the flaw, so real-world exploitability hinges on loose filesystem permissions. |
| Impact | This is a classic local privilege-escalation issue (CWE-428, unquoted Windows service path) in AnyDesk 5.4.0, and the signals are internally consistent: the input CVSS 4.0 vector (AV:L/AC:L/PR:L/UI:N/VC:H/VI:H/VA:H) correctly frames it as locally-exploitable, low-complexity, requiring an already-authenticated low-privileged user, with high impact to confidentiality, integrity and availability but no scope change to other systems. Publicly available exploit code exists (Exploit-DB 47883), yet the EPSS score is extremely low at 0.01% (3rd percentile), and the CVE is NOT in CISA KEV - so despite the headline 8.5 score and a public POC, there is no evidence of widespread or active exploitation. The low EPSS is expected for a local-only EoP: it cannot be mass-scanned or remotely wormed, so probability-of-exploitation models rate it low even though it is genuinely useful to an attacker who already has a foothold. Net: this is a real but second-stage priority (post-compromise LPE / persistence building block), not an internet-facing emergency. The local AV and PR:L requirement are the dominant risk-limiting factors. No signals conflict; the main caveat is that successful exploitation additionally depends on filesystem write permissions to a directory in the unquoted path, which the CVSS vector alone does not capture. |
| Exploit ScenarioDerived | A low-privileged user (or malware already running in that context) on a Windows host with AnyDesk 5.4.0 installed identifies the service's unquoted binary path and plants a malicious executable at an earlier, attacker-writable path segment (e.g. C:\Program.exe). On the next service start or system reboot, the Service Control Manager launches the planted binary under the service account, escalating to SYSTEM. Public exploit/demonstration code for this class of flaw against AnyDesk is available (Exploit-DB 47883). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 07, 2026
Local privilege escalation in AnyDesk 5.4.0 on Windows allows an authenticated, low-privileged attacker to plant a malicious executable in an unquoted service path, potentially gaining SYSTEM privileges. Publicly available exploit code exists (Exploit-DB 47883), but the EPSS score is very low (0.01%, percentile 3%), and exploitation requires write access to directories in the unquoted path plus a service restart or reboot. Default installation ACLs typically deny non-admin write access, so real-world risk depends on loose filesystem permissions.
Earlier versions of this analysis (1)
Anydesk versions up to 5.4.0 contains a vulnerability that allows attackers to potentially inject malicious executables (CVSS 7.8).
RemediationAI
No vendor-released patch identified at time of analysis; however, the vendor advisory at https://www.vulncheck.com/advisories/anydesk-unquoted-service-path should be consulted for updates. As an immediate workaround, ensure the AnyDesk service binary path is properly quoted. This can be done by locating the service in the Windows Registry (e.g., under HKLM\SYSTEM\CurrentControlSet\Services\AnyDesk) and enclosing the ImagePath value in quotation marks. After modifying, restart the service. Alternatively, verify and tighten filesystem ACLs on all directories that appear in the unquoted path (e.g., C:\Program Files, C:\Program Files\AnyDesk) to deny write access to non-administrative users. If AnyDesk is not required, consider uninstalling it to remove the attack surface. Note that manually editing the registry carries risk; ensure a backup is taken. These mitigations address the root cause by preventing execution of planted binaries, but they must be applied to all affected installations.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic unquoted Windows service path issue (CWE-428). AnyDesk 5.4.0 installs a Windows service whose executable path contains spaces but is not enclosed in quotation marks (e.g., C:\Program Files\AnyDesk\AnyDesk.exe). When Windows starts such a service, it attempts to resolve the path by trying each space-separated segment as a potential executable, such as C:\Program.exe, C:\Program Files\AnyDesk.exe, etc. A local attacker with write permission to any of these intermediate directories can place a malicious executable (e.g., C:\Program.exe) that will be executed with the service's privileges (typically SYSTEM) upon service restart or system reboot. The CPE cpe:2.3:a:anydesk:anydesk:5.4.0:*:*:*:*:windows:*:* confirms that only version 5.4.0 on Windows is affected. The root cause is improper quoting of the service binary path, a well-known local privilege escalation vector.
Know when Anydesk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local-only EoP requiring an authenticated low-privileged user able to write to the service path (AV:L, PR:L, AC:L), yielding SYSTEM with full C/I/A impact and no scope change.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
4DescriptionCVE.org
AnyDesk 5.4.0 contains an unquoted service path vulnerability in its Windows service configuration that allows local attackers to potentially inject malicious executables. Attackers can exploit the unquoted binary path to place malicious files in service executable locations, potentially gaining elevated system privileges.
Executive ViewAI
AnyDesk version 5.4.0 on Windows is affected by a local privilege escalation vulnerability that could allow an attacker with local access and write permissions to specific directories to gain SYSTEM-level privileges. Publicly available exploit code exists, and no vendor-released patch identified at time of analysis. Organizations using this version should assess their exposure and implement interim mitigations, as successful exploitation could lead to full system compromise and data breach.
Interim mitigations include quoting all unquoted service paths, enforcing strict ACLs on directories in unquoted service paths to prevent non-admin write access, monitoring for unauthorized executables in those directories, restricting local interactive logon rights, and considering application whitelisting.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Affected Products (CPE)CVE.org
AnyDesk before 5.5.3 on Linux and FreeBSD has a format string vulnerability that can be exploited for remote code execut
Remote code execution in AnyDesk before 8.0.3 allows unauthenticated attackers to execute arbitrary code as root on Linu
AnyDesk 2.5.0 contains an unquoted service path vulnerability that allows local users to execute arbitrary code with SYS
AnyDesk 7.0.9 allows a local user to gain SYSTEM privileges via a symbolic link because the user can write to their own
AnyDesk before 3.6.1 on Windows has a DLL injection vulnerability. Rated critical severity (CVSS 9.8), this vulnerabilit
AnyDesk before 6.2.6 and 6.3.x before 6.3.3 allows a local user to obtain administrator privileges by using the Open Cha
AnyDesk for macOS versions 6.0.2 and older have a vulnerability in the XPC interface that does not properly validate cli
AnyDesk before "12.06.2018 - 4.1.3" on Windows 7 SP1 has a DLL preloading vulnerability. Rated high severity (CVSS 7.8),
AnyDesk 7.0.8 allows remote Denial of Service. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitabl
Denial-of-service in AnyDesk allows a local attacker with low-privileged code execution to crash or destabilize the appl
AnyDesk's 'Send Support Information' feature is exploitable by local low-privileged attackers via a Windows junction (di
AnyDesk Link Following Information Disclosure Vulnerability. Rated medium severity (CVSS 5.5), this vulnerability is low
NVD
CVE.org
EPSS
Exploit-DB
GitHub PoC