Critical macOS Screen Sharing Vulnerability Under Active Exploitation

Apple's macOS is facing a significant security threat as attackers actively exploit a critical vulnerability in the built-in Screen Sharing service. The Dutch National Cyber Security Centre (NCSC-NL) has confirmed that threat actors are leveraging CVE-2026-65400, an authentication bypass flaw, to gain remote root access to vulnerable Macs. This access is then used to deploy Monero cryptocurrency miners, effectively turning compromised machines into nodes for illicit mining operations. The severity of this bug has prompted the Cybersecurity and Infrastructure Security Agency (CISA) to assign it a CVSS score of 9.8, classifying it as 'Critical'.

The Screen Sharing service, designed to allow users to remotely control their Macs or assist others, inadvertently opens a door when not properly secured. Attackers can bypass authentication mechanisms, which should prevent unauthorized access, and execute arbitrary commands on the target system. Once root privileges are obtained, the attackers have unfettered control, allowing them to install persistent malware, steal data, or, as is currently observed, utilize the Mac's processing power for cryptocurrency mining. The choice of Monero is strategic; its privacy-focused nature makes tracing the illicitly mined coins more challenging for authorities.

Technical Details of CVE-2026-65400

CVE-2026-65400 specifically targets the authentication process within macOS's Screen Sharing daemon. While the exact technical implementation of the bypass is not yet fully detailed in public disclosures, it is understood to involve a method of tricking the service into granting elevated privileges without proper verification. This could stem from improper input validation, a logic flaw in the authentication handshake, or a misconfiguration that allows unauthenticated commands to be treated as authenticated. The exploit chain likely begins with an initial reconnaissance phase to identify potential targets, followed by the exploitation of the authentication bypass to establish a command-and-control channel. From there, a payload is delivered, typically a script or binary designed to download and run the Monero miner.

The implications of achieving root access are profound. Root is the highest level of privilege on a Unix-like operating system, such as macOS. With root access, an attacker can:

  • Install persistent malware that survives reboots.
  • Modify system files and configurations.
  • Access and exfiltrate any data stored on the machine, including sensitive personal information, financial data, and intellectual property.
  • Disable security software and logging mechanisms.
  • Use the system's resources for malicious purposes, such as cryptojacking or participating in botnets.

The active exploitation suggests that reliable proof-of-concept (PoC) exploits are in circulation, likely within underground forums or being used by sophisticated threat actor groups. The NCSC-NL's advisory serves as a crucial early warning, highlighting that this is not a theoretical vulnerability but a present danger.

Diagram illustrating the authentication bypass in macOS Screen Sharing

Active Monero Cryptojacking Campaigns

The primary observed impact of this vulnerability is widespread Monero cryptojacking. Cryptojacking involves the unauthorized use of a victim's computing resources to mine cryptocurrency. Unlike ransomware, which encrypts data and demands payment, cryptojacking operates more stealthily, often going unnoticed by the user as their CPU and GPU are consumed by mining operations. This leads to increased electricity bills, reduced system performance, and accelerated hardware wear.

Monero (XMR) is a popular choice for cryptojackers due to its privacy features. Its use of ring signatures, stealth addresses, and ring confidential transactions makes it difficult to trace the origin and destination of funds, providing a layer of anonymity for illicit activities. Attackers aim to create botnets of compromised machines, aggregating their processing power to generate significant amounts of Monero, which can then be sold on cryptocurrency exchanges.

The fact that this vulnerability is being actively exploited for cryptojacking means that systems are already compromised. Users who notice sudden performance degradation, increased fan activity, or unusually high CPU usage without a clear reason should consider their Mac potentially affected. The persistence of the mining malware, facilitated by root access, means that simply closing the Screen Sharing application will not remove the threat.

Mitigation and Recommendations

Apple has not yet released a public patch for CVE-2026-65400. Until a security update is available, users must take proactive steps to protect themselves. The most immediate and effective measure is to disable the Screen Sharing service if it is not actively needed. This can be done through the System Settings (or System Preferences on older macOS versions) under 'Sharing'. Disabling 'Screen Sharing' will prevent attackers from exploiting this specific vulnerability.

For users who require Screen Sharing functionality, it is imperative to ensure that it is configured securely. This includes:

  • Enabling Strong Passwords: If Screen Sharing is enabled, ensure that a robust, unique password is set for access.
  • Limiting Access: Configure Screen Sharing to only allow specific users or groups to connect.
  • Firewall Configuration: Utilize the macOS built-in firewall or a third-party firewall to restrict incoming connections to the Screen Sharing port (typically TCP 5900) to only trusted IP addresses.
  • Disabling Remote Management: If 'Remote Management' (Apple Remote Desktop) is enabled, ensure it is also configured securely or disabled if unnecessary.

Beyond disabling or securing Screen Sharing, general cybersecurity best practices remain crucial. This includes keeping macOS and all applications updated to the latest versions, as Apple will eventually release a patch for CVE-2026-65400. Users should also be wary of phishing attempts or unsolicited links that could potentially deliver other forms of malware. Regularly monitoring system performance and network activity can also provide early indicators of compromise.

The NCSC-NL and CISA's advisories underscore the urgency of this situation. The ease with which attackers can achieve root access and deploy persistent cryptojackers via this authentication bypass makes it a high-priority threat for all macOS users. Until Apple issues a fix, disabling Screen Sharing is the most prudent course of action for those not actively using the feature.