The Hacker News
AnyDesk Linux Flaw Lets Attackers Gain Root Before Connections Are Accepted
Part of the CVE-2025-27918 story · since 9 Oct
- Fri 9 Oct, 14:36 UTC. The Hacker News, first report. AnyDesk Linux Flaw Lets Attackers Gain Root Before Connections Are Accepted. This article, 1st of 1.
Security researchers have published a fully working exploit for a pre-authentication remote code execution flaw in AnyDesk on Linux, enabling root access before a connection is accepted. The exploit, named AnyPwn, targets a heap buffer overflow in AnyDesk’s session protocol and relies on the attacker being able to connect directly to TCP port 7070. The PoC code appeared on GitHub on 8 October 2026.
AnyDesk earlier patched this flaw in version 8.0.3 (released in June 2026), but its changelog at the time described the fix as “fixed a bug that could lead to a crash,” with no CVE and no security advisory issued.
The demonstration shows the exploit can be probabilistic: it requires specific heap layout conditions so that a target object sits adjacent to the overflow, otherwise the service simply crashes. The published values in the PoC were tailored to AnyDesk Linux 8.0.2; other builds would need different offsets.
The researchers also indicated that the vulnerable code path can be reached via AnyDesk’s relay servers when direct connections are unavailable, though they did not complete the full exploit chain over relays in their tests. AnyDesk has stated that the vulnerability affects direct Linux connections (not through relays), and that Windows and macOS are not affected. No CVE has been assigned to this flaw as of 9 October 2026; an advisory from the vendor remains absent.
As an interim mitigation, administrators should restrict access to TCP port 7070 or deploy the 8.1.0+ release when possible. The article also notes a separate, earlier heap overflow issue tracked as CVE-2025-27918 that was fixed in 7.0.0 in April 2025.
How the story developed
1 article from 1 outlet since 9 Oct. Quiet since 9 Oct. This was the first report.
- Fri 9 Oct, 14:36 UTC. The Hacker News, first report. AnyDesk Linux Flaw Lets Attackers Gain Root Before Connections Are Accepted. This article, 1st of 1.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
- Quiet time, folded
Show all 1 articles as a listHide the list
- Fri 9 OctDay 01
- AnyDesk Linux Flaw Lets Attackers Gain Root Before Connections Are Accepted14:36 · The Hacker News · First report · This article, 1st of 1