FR
live
Security Critical CVSS 9.8

CVE-2026-65400 grants root without credentials via Screen Sharing and installs Monero miners

Patched by Apple on August 6, 2026, the Screen Sharing authentication bypass (CVE-2026-65400) is being actively exploited on Macs exposed on port 5900: attackers gain root and deploy Monero miners. Disable Screen Sharing or apply the update, and never expose port 5900 to the internet.

A heavy metal security door left ajar in a dark concrete corridor, a thin amber light leaking through the gap.

August 6, 2026. Apple patches CVE-2026-65400, an authentication flaw in Screen Sharing. August 14, 2026. The Dutch NCSC publishes an advisory: the flaw is being exploited in the wild on Macs with port 5900 exposed to the internet. Attackers gain root and install Monero miners.

This is not a spectacular cryptographic break. It is a built-in remote desktop feature that lets an attacker in without valid credentials — and that is precisely what makes it dangerous for enterprise fleets. The advisory also matters because it is one of the rare cases where a desktop-OS flaw is confirmed exploited against real hosts, not just proven in a lab.

A state-management flaw, not a cryptographic one

Screen Sharing is macOS’s native remote-control tool, speaking VNC over TCP port 5900 and relying on the SRP (Secure Remote Password) protocol for its native Apple authentication. CVE-2026-65400 bypasses that authentication: an attacker on a reachable network can connect without valid credentials.

Apple describes the fix as “improved state management.” In plain terms: the defect sits in the authentication flow or session-state validation, not in the cryptography. SRP itself is not broken — the state machine around it was allowing an unauthenticated path through.

The nuance matters. A cryptographic flaw would have required specific software targets. A state-management flaw hits every vulnerable version, regardless of configuration, as soon as the service is reachable. The patch ships for macOS Tahoe 26.6.1, Sequoia 15.7.9, and Sonoma 14.8.9.

What root on macOS buys an attacker

Screen Sharing is disabled by default. But once enabled, it hands the attacker exactly what its name promises: the ability to view and control the machine remotely. The Dutch NCSC confirms that the active cases observed led to root takeover followed by the installation of mining software.

Mining, however, is only the visible part. Root access opens the door to:

  • Persistence: services and profiles that survive reboots
  • Data theft: documents, keychains, browsers, logs
  • Credential and key harvesting: SSH keys, tokens, build secrets
  • Additional payloads: ransomware, backdoors, espionage
  • Lateral movement: pivoting from a trusted machine into the rest of the network

A workstation compromised at root level is a bridge to everything its user can reach. In an environment where a developer connects to servers, a code repository, or a corporate VPN, the blast radius extends well beyond the machine itself.

Why Monero

The choice of Monero is not incidental. Unlike Bitcoin, whose mining demands specialized ASICs, Monero mines efficiently on any CPU or GPU — exactly what a Mac offers. No dedicated hardware, no entry cost: a fleet of compromised machines becomes immediately profitable.

That is the typical economics of mass compromise: Monero combines an ASIC-resistant algorithm with transaction privacy that complicates payment tracking. For the attacker, it is the best yield per stolen machine.

Who is exposed

Practical exposure requires two conditions: Screen Sharing enabled and port 5900 reachable from the internet. The second condition usually comes through a port forward on the router, a public IP assigned directly, or a hosting provider setup that does not isolate the machine.

Machines reachable only from an internal network remain potentially exposed, but the attacker must first gain a foothold on that network. The highest risk therefore sits with Macs made reachable directly from the internet — an anti-pattern many teams still underestimate.

The structural takeaway: VNC, the underlying protocol, was never designed to be exposed naked to the internet. Screen Sharing inherits that fragility, and CVE-2026-65400 removes the last lock on it.

A protocol that was never meant to be exposed

CVE-2026-65400 hits a protocol whose fragility has been documented for years. VNC carries graphical sessions in the clear or with weak encryption, and older implementations cap the access password at eight characters. Public scans have repeatedly found hundreds of thousands of internet-reachable VNC instances, many with no authentication at all.

Apple improved on this with SRP — a password-authenticated key exchange resistant to passive eavesdropping — but exposing port 5900 remains a structural risk. A state-management flaw in the authentication flow, like this one, cancels in one stroke all the security SRP provides.

The lesson extends beyond macOS. Any remote desktop service — RDP, VNC, Screen Sharing — should be unreachable from the internet without a tunnel. Authentication bypasses do not hit internal services; they hit services someone exposed.

Patching and hardening

The first action is the update. On every affected Mac, apply macOS Tahoe 26.6.1, Sequoia 15.7.9, or Sonoma 14.8.9 depending on the branch, via System Settings → General → Software Update.

If the update cannot be applied immediately, disable Screen Sharing — and, on the same Sharing page, check Remote Management, which offers another remote-control path and should stay off unless knowingly used for work or IT support.

bash
# Check whether Screen Sharing is listening (on macOS, as admin)
sudo lsof -nP -iTCP:5900 -sTCP:LISTEN
# Nothing should be listed if the service is disabled.

Beyond the patch, check for signs of prior compromise: unusual processes (launchctl list), launch items in /Library/LaunchAgents, unknown entries in ~/.ssh/authorized_keys, and persistent CPU load spikes — the signature of a miner. A machine already compromised before the update will not heal itself: the patch closes the door, it does not evict the intruder.

For a developer workstation, the stakes are higher than CPU cycles. These machines routinely hold SSH keys, cloud credentials, package-registry tokens, and signing keys — the same secrets a root-level attacker harvests first. A Mac that builds and deploys software is a supply-chain asset; compromising it can turn into a supply-chain incident.

In an enterprise, the response is the standard root-compromise playbook: isolate the host, terminate sessions, rotate every credential the machine could reach, and audit what its user account could touch. Mining is often only the visible payload of a broader intrusion — assume lateral movement and hunt accordingly.

Screen Sharing exposure is not an edge case. It is one of the most common remote-desktop foot-guns because VNC is one checkbox away in the Sharing pane, and a single port forward is all it takes to put it on the internet. The fix Apple shipped is specific; the discipline that keeps 5900 off the public internet is what prevents the next one.

Finally, the network hygiene rule: never expose port 5900 to the internet. If remote access is required, use a VPN or an encrypted tunnel with strong authentication — never a bare port forward to VNC. The patch closes this specific flaw; it does not cancel the fragility of the underlying protocol.

Verdict

If you manage Macs in an enterprise fleet, apply the patch and disable Screen Sharing wherever it is not strictly required, then audit your firewall rules to confirm no port 5900 is routed from the outside. An authentication flaw exploited in the wild on a remote-control service does not forgive procrastination.

If you are an individual user, the instruction fits in one sentence: update, and do not leave Screen Sharing on “just in case.” Monero mining is the most visible consequence today — root takeover is the real threat.

The underlying signal: what gave way was not cryptography but the state management of an authentication flow. The costliest flaws of 2026 continue to be authentication bypasses on exposed services — not dramatic cipher breaks.

References

cve

Linked vulnerabilities

The cyber brief, every Tuesday

The flaws that matter and the patches to apply, in a ten-minute read.

No spam. One-click unsubscribe.
read next

On the same topic

← Back to the feed

Type at least two characters.

navigate open esc dismiss