AnyDesk Linux Flaw "AnyPwn" Grants Pre-Auth Root Code Execution: Full Technical Breakdown of the Heap Overflow Exploit
A released exploit lets attackers run commands as root on AnyDesk Linux without credentials, user approval, or interaction.
Overview
A security flaw in AnyDesk Linux version 8.0.2 allows attackers to take full control of a computer without needing a password or user approval. This vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend, called AnyPwn, lets an attacker run commands as the system administrator over a specific network port. The problem is that the software runs with the highest level of system access by design, so a successful attack gives the attacker total control over files and processes. The fix was released in version 8.0.3 in June 2026, but the company did not issue a formal security warning or assign a standard vulnerability identifier. A working exploit code was made public on GitHub on October 8, 2026, which highlights the risk for anyone still using the older version. Organizations running AnyDesk Linux 8.0.2 are currently exposed to this unauthenticated attack.
Terms in this story
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- Root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- Heap Overflow
- A buffer overflow inside the pool of memory a program allocates dynamically while running. Attackers exploit a heap overflow in a browser or media parser by feeding it an oversized file that overwrites neighboring objects in memory and hijacks execution.
- mitigation
- A defensive step or setting change that lowers the risk of a flaw before patching. When a software vendor has not finished a patch yet, its advisory often lists a mitigation such as turning off an optional feature or blocking a specific URL path at the firewall. Security+ objective 2.5 lists the term
- proof-of-concept exploit
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- unauthenticated remote attackers
- Done without logging in or holding a valid account on the target system. An unauthenticated flaw is especially urgent in the news because any stranger on the internet can trigger it without needing a username or password first.
- arbitrary commands
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- pre-authentication
- Happening before a user or device has logged in to the system. A pre-authentication vulnerability in a VPN or mail server is critical because an attacker on the internet can exploit it at the login screen without having an account.
- remote code execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- patched
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- CVE identifier
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.
Read the full article on The CyberSec Guru (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...critical pre-authentication remote code execution vulnerability..." Found by reading the article; these exact words are in it - Security+ 2.3 Explain various types of vulnerabilities.
"AnyDesk Linux Flaw "AnyPwn" Grants Pre-Auth Root Code Execution: Full..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Full Technical Breakdown of the Heap Overflow Exploit..." Found in the headline - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......heap overflow exploit works, affected versions, and mitigation steps This post first appeared at -..." Found in the opening sentences - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"AnyDesk Linux Flaw "AnyPwn" Grants Pre-Auth Root Code Execution:..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"AnyDesk Linux Flaw "AnyPwn" Grants Pre-Auth Root Code Execution:..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- AnyDesk Vulnerability Allowing Remote Code Execution With Root Privileges
- AnyDesk Linux Flaw Lets Remote Attackers Execute Code as Root Without Authentication
- Researchers Publish Working Exploit for Pre-Auth AnyDesk Linux Flaw That Gives Root Access