CVE-2026-65400: macOS Screen Sharing to root
On 6 August 2026, Apple shipped emergency macOS updates closing CVE-2026-65400, a vulnerability in the Screen Sharing service. An unauthenticated attacker holding nothing but the target’s IP address can read and write arbitrary files and execute code as root.
This is not theoretical: working proofs of concept with code execution have been public since 2 August. And scanning has found tens of thousands of potentially vulnerable hosts among hosted Mac providers.
Versions and what to install
If you cannot update immediately, disabling the Screen Sharing service removes this attack surface. It is worth stressing that ordinary hardening does not help here: removing user accounts or disabling VNC authentication does not stop an attack that bypasses authentication in the first place.
- ▸macOS Tahoe 26.6 and earlier — fixed in 26.6.1
- ▸macOS Sequoia 15.7.8 and earlier — fixed in 15.7.9
- ▸macOS Sonoma 14.8.8 and earlier — fixed in 14.8.9
- ▸All three updates were released on 6 August 2026
The bug: a validator that says "yes" out of inertia
Screen Sharing uses Secure Remote Password, an authentication protocol designed precisely so the password never crosses the network. The implementation in the screensharingd service, however, has a problem in its frame-length validation path.
That path returns a success state left over from the previous step instead of evaluating the current frame. The connection is treated as authenticated without the cryptographic verification having happened. From there the session continues in cleartext, without the protections that should have covered it.
The pattern is worth remembering, because it recurs across implementations: the cryptography did not fail, the code around it did. A validation result that is not reset between steps is a mundane programming error with the full effect of an authentication bypass.
From files to root
With authentication bypassed, the attacker reaches the SSFileCopySender helper, which inherits Full Disk Access entitlements. Through it come arbitrary file reads and writes, bypassing TCC as well — the mechanism that normally requires user consent for access to sensitive data.
Moving to code execution follows familiar paths: creating a LaunchDaemon or modifying shell startup files. Both also provide persistence, not merely momentary execution.
The end result is root-level control of the machine, starting from nothing but a reachable IP address.
The other vulnerability, from July
CVE-2026-65400 did not arrive alone. On 27 July 2026, Apple had fixed CVE-2026-43760, a related issue in the file operations of the same service.
The difference between them is exactly the boundary that matters: CVE-2026-43760 required valid VNC credentials and let an authenticated user read and create files as root. CVE-2026-65400 removes the credential requirement entirely.
If you applied the July update and considered the topic closed, it is not closed. These are two distinct problems with two distinct patches, and the August one is the serious one.
Why exposure is wider than it looks
On an ordinary Mac, Screen Sharing is off by default and has to be turned on deliberately. That greatly limits the affected population — but not evenly.
Hosted bare-metal Mac services frequently ship machines with Screen Sharing already enabled, sometimes on non-standard ports. Censys scanning identified tens of thousands of potentially vulnerable hosts in that segment.
That is the concrete organisational risk: cloud Mac fleets used for iOS builds and automated testing. These are machines that run untouched for months, with access to code repositories and signing certificates, and that nobody treats as exposed servers.
What to do in practice
- ▸Update to 26.6.1, 15.7.9 or 14.8.9, depending on your branch
- ▸Until then, disable Screen Sharing — it is the only measure that actually stops the attack
- ▸Inventory hosted Macs and cloud build agents; that is where the service is on without anyone having decided so
- ▸Never expose Screen Sharing directly to the internet; if remote access is needed, put it behind a VPN
- ▸Check non-standard ports, not only the default one — hosting providers change them frequently
- ▸After updating, look for recently created LaunchDaemons and changes to shell startup files: those are the persistence mechanisms in the demonstrated chain
What is confirmed and what is not
The proof-of-concept timeline is public: on 29 July 2026, researcher Pedro Vilaça published an obfuscated, read-only proof. By 2 August, bl4sty had reversed the binary and released working read, write and code-execution variants.
Apple’s advisory does not state that the vulnerability has been actively exploited, and the technical analysis does not document observed in-the-wild exploitation.
The distinction is worth keeping honestly, but it does not change the urgency. A pre-authentication vulnerability with root-level code execution, a working public exploit and tens of thousands of hosts identified as potentially vulnerable does not need confirmed exploitation to justify a same-day update.
How to monitor CVEs and get alerts for products in your inventory