Skip to content

Security Reports disagree6 publishers 3 min read Published Updated

macOS Screen Sharing bug exploited in the wild: if port 5900 was open, assume root was taken

The Dutch NCSC says CVE-2026-65400 was abused within two weeks of Apple's fix, with root access and Monero miners in every reported case. Patching closes the door; it does not evict anyone.

The Watch · Security desk

Send a correction

What happened

  • The Dutch National Cyber Security Centre (NCSC-NL) confirmed active exploitation of a critical macOS authentication flaw tracked as CVE-2026-65400, with a CVSS score of 9.8, less than two weeks after Apple shipped the fix.
  • NCSC-NL advisory: in all observed cases of exploitation, root access was obtained on the affected system and a Monero crypto miner was placed.
  • Apple's advisory reads: "An attacker on the network may be able to authenticate to Screen Sharing without valid credentials."
  • NCSC-NL describes the flaw as an authentication issue in Screen Sharing enabled by insufficient state management during the authentication process, allowing unauthorized individuals to perform authentication attempts that would normally not be accepted.
  • Apple's fix improved how the system manages authentication state, closing a gap that let attackers on the network authenticate to Screen Sharing without valid credentials.

Why it matters

The Dutch National Cyber Security Centre has confirmed active exploitation of CVE-2026-65400, a CVSS 9.8 authentication bypass in macOS Screen Sharing, less than two weeks after Apple shipped the fix [15]. In every case NCSC-NL has documented so far, the attacker obtained root on the affected system and dropped a Monero cryptocurrency miner [1], which moves the operational question from whether your Macs are patched to whether port 5900 was reachable from the internet while they were not.

Apple's advisory states the impact without decoration: "An attacker on the network may be able to authenticate to Screen Sharing without valid credentials" [2]. NCSC-NL is more specific about the mechanism, describing insufficient state management during the authentication process, which allows unauthorized parties to perform authentication attempts that would normally not be accepted [3]. Apple's fix improved how the system manages authentication state and shipped in macOS Tahoe 26.6.1, macOS Sequoia 15.7.9 and macOS Sonoma 14.8.9, crediting Alfredo Pesoli of Bynario Atlas [4][5]. Screen Sharing is the remote desktop tool built into every Mac [7], and it listens on port 5900 [8]. NCSC-NL says the abuse reports it received involved multiple systems where 5900 was accessible directly from the internet [6].

None of this required sophistication. Security firm Calif, which analyzed the flaw alongside two other Screen Sharing bugs Apple patched a month earlier in macOS 26.6, found no memory corruption, no exploitation trickery and no race condition to win, just logic errors that let a couple of correctly ordered packets walk past authentication [10]. CVE-2026-65400 sits in the same source code file as those earlier bugs [16]. One of them was genuinely pre-authentication, and a researcher using the handle @osxreverser described needing nothing but the target's IP address to exploit it, with no username and no password [11]. That researcher also reported finding roughly 40,000 exposed Screen Sharing hosts during an internet scan, nearly half of them in the US, spanning residential connections, university networks and at least a few corporate servers [12]. That is on the order of 20,000 exposed hosts in the US alone [13].

The detail defenders should carry forward is not the miner. Calif says it built working exploits for both vulnerabilities in about four hours using an AI coding agent [14]. A coordinated vendor fix followed by public patch notes now buys days, not weeks, and the cost of turning an advisory into a functioning exploit is approaching the cost of reading it.

Which is why "unpatched" is the wrong status for an exposed host. An update repairs the authentication logic; it does not remove root-level access that was already obtained, and every documented intrusion here ended in root [1]. A cryptominer is the cheapest thing an opportunist can do with that access, and SecurityAffairs reads the payload as evidence of opportunistic scanning rather than a targeted campaign, for now [17]. The same access would support quieter outcomes, and the reported cases are only the ones that were noticed.

If you cannot update immediately, SecurityAffairs advises turning Screen Sharing off entirely under General, Sharing, until you can [9].

Watch whether the payload mix shifts away from mining, which would indicate someone other than commodity scanners has picked up the exploit. Watch the exposed-host count: if the 40,000 figure [12] does not fall materially, the residential and university tail will keep this alive for months. And watch that same source code file for a fourth bug.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence60
Adoption
Not scored
Hype gap+20
Incentives40
Confidence62

Perspective Coverage

6 publishers
Builder
Builder 22%
Operator
Operator 72%
Investor
Investor 6%
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    NCSC-NL advisory: in all observed cases of exploitation, root access was obtained on the affected system and a Monero crypto miner was placed.

    Reported Supported Source: NCSC-NL advisoryView cited source
  2. [2]

    Apple's advisory reads: "An attacker on the network may be able to authenticate to Screen Sharing without valid credentials."

    Reported Supported Source: Apple advisoryView cited source
  3. [3]

    NCSC-NL describes the flaw as an authentication issue in Screen Sharing enabled by insufficient state management during the authentication process, allowing unauthorized individuals to perform authentication attempts that would normally not be accepted.

    Reported Supported Source: NCSC-NL advisoryView cited source
  4. [4]

    Apple's fix improved how the system manages authentication state, closing a gap that let attackers on the network authenticate to Screen Sharing without valid credentials.

    Reported SupportedView cited source
  5. [5]

    Apple patched the issue in macOS Tahoe 26.6.1, macOS Sequoia 15.7.9 and macOS Sonoma 14.8.9, crediting researcher Alfredo Pesoli (@__rev) at Bynario Atlas (bynar.io).

    Reported SupportedView cited source
  6. [6]

    NCSC-NL says it received reports of active abuse hitting multiple systems where port 5900 was reachable directly from the internet.

    Reported Supported Source: NCSC-NLView cited source
  7. [7]

    The bug sits in macOS's built-in Screen Sharing feature, the remote desktop tool included in every Mac.

    Reported SupportedView cited source
  8. [8]

    Port 5900 is the port Screen Sharing runs on.

    Reported SupportedView cited source
  9. [9]

    SecurityAffairs advises updating immediately, and if updating is not possible, turning Screen Sharing off entirely under General, Sharing, rather than leaving port 5900 open to the internet.

    Reported Supported Source: SecurityAffairsView cited source
  10. [10]

    Security firm Calif, which analyzed the flaws, found no memory corruption, no exploitation trickery and no race condition to win, just logic errors that let a couple of correctly ordered packets walk straight past authentication.

    Reported Supported Source: CalifView cited source
  11. [11]

    One of the two earlier Screen Sharing bugs was a pre-authentication flaw that a researcher going by @osxreverser described as needing nothing but the target's IP address to exploit: no password, no username.

    Reported Supported Source: researcher @osxreverserView cited source
  12. [12]

    The researcher @osxreverser claimed to have found around 40,000 exposed Screen Sharing hosts on the internet during a scan, nearly half of them in the US, spanning residential connections, university networks and at least a few corporate servers.

    Reported Supported Source: researcher @osxreverserView cited source
  13. [13]

    Nearly half of roughly 40,000 exposed Screen Sharing hosts implies on the order of 20,000 exposed hosts located in the US.

    Derived Supported
  14. [14]

    Calif said it built a working exploit for both Screen Sharing vulnerabilities in about four hours using an AI coding agent.

    Reported Supported Source: CalifView cited source
  15. [15]

    The Dutch National Cyber Security Centre (NCSC-NL) confirmed active exploitation of a critical macOS authentication flaw tracked as CVE-2026-65400, with a CVSS score of 9.8, less than two weeks after Apple shipped the fix.

    Reported Contested Source: NCSC-NL, via SecurityAffairsView cited source
  16. [16]

    CVE-2026-65400 sits in the same source code file as two other Screen Sharing bugs Apple patched a month earlier in macOS 26.6.

    Reported ContestedView cited source
  17. [17]

    SecurityAffairs assesses that cryptomining is a relatively boring payload compared with what root access on a Mac could enable, which makes the activity look more like opportunistic scanning than a targeted campaign, for now.

    Reported Insufficient Source: SecurityAffairsView cited source

Sources

6 independent publishers whose own reporting we read for this story.

  1. bleepingcomputer.com

    2 articles · August 16, 2026

    Hackers exploit macOS Screen Sharing flaw to deploy Monero miner
  2. helpnetsecurity.com

    1 article · August 17, 2026

    Attackers exploit patched macOS Screen Sharing flaw to deploy cryptominer
  3. malwarebytes.com

    1 article · August 17, 2026

    Update your Mac: Screen Sharing vulnerability exploited in the wild
  4. scworld.com

    1 article · August 14, 2026

    MacOS screen sharing vulnerability actively exploited for crypto mining
  5. securityaffairs.com

    1 article · August 15, 2026

    macOS Screen Sharing Flaw Exploited to Deploy Monero Miners
  6. securityweek.com

    2 articles · August 17, 2026

    Recent macOS Screen Sharing Vulnerability Exploited in Attacks

Topics and entities

Topics