CVE-2026-112480

One Screen Sharing login, two Mac desktops

A viewer logged in as a standard user, then reached an administrator’s already-active desktop through the same connection—without authenticating as that administrator.

Share

Share this article

X LinkedIn Email

The same authenticated Screen Sharing viewer moves from the standard user’s desktop to another user’s already-active desktop after an unauthorized agent transition.
The same authenticated Screen Sharing viewer moves from the standard user’s desktop to another user’s already-active desktop after an unauthorized agent transition.
On this page

The password worked. It just wasn't the other user's password.

In our test, a remote viewer authenticated to a Mac as a standard user. That user could see their own desktop, as expected. Then a request to the root Screen Sharing daemon changed which logged-in user's desktop the same viewer was attached to. It landed on an administrator's active desktop without a second login, the administrator's password, or Touch ID.

Apple tracked the issue as CVE-2026-112480 and fixed it in the October 2026 macOS updates. This is the story of the authorization boundary that failed and the evidence that made the result more than a screen-switching illusion.

Key findings

  • The attacker needed valid Screen Sharing access to a standard account. A separate target user had to be already logged in through Fast User Switching. This was not an unauthenticated network attack.
  • Root screensharingd exposed an internal login-transition request. It accepted a caller-selected target user ID from attacker-controlled code running inside Apple-signed /usr/bin/ruby.
  • The daemon checked that the calling executable was Apple-signed, but did not bind the request to loginwindow, the authenticated viewer, or authority to switch to the target user. It moved the viewer to the target user's agent.
  • The remote viewer then showed the target desktop. Terminal inside that desktop reported the target account, and the viewer could issue commands with that account's authority.

At a glance

Detail Finding
Affected service Root screensharingd / Remote Management
Tested build macOS 27.0 beta 5, 26A5406e, Apple silicon, SIP enabled
Starting access Credentials for a Screen Sharing-enabled standard account
Required state Source and target graphical sessions both active
Boundary crossed Authenticated standard-user viewer to another user's existing session
Demonstrated impact Cross-user screen disclosure and interactive control of an administrator desktop
Published severity CISA ADP CVSS 3.1 7.5 High; see the scope caveat below
Fixed in macOS Golden Gate 27.2, Tahoe 26.7.2, Sequoia 15.8.2

A connection is not a user

Screen Sharing has to keep several identities straight: the account that authenticated over the network, the graphical session on the Mac, and the agent currently serving that desktop to the viewer. Switching a viewer between agents is a legitimate operation during an authorized login transition. The security question is who may ask for that switch.

The relevant internal request was MIG message 0x6798 on com.apple.screensharing.server. It carried a source session ID and a target UID. The daemon's caller check relied on the code signature of the process sending the message. The accepted requirement was anchor apple.

That sounds selective until the caller is /usr/bin/ruby: Apple's signed interpreter was running a script chosen by the standard user. The check authenticated the interpreter, not the script author's authority to move a viewer into someone else's session. In the vulnerable path, no further check bound the chosen target UID to the authenticated remote account or verified that loginwindow had initiated a real transition.

The daemon then looked up the target user's active Screen Sharing agent and replaced the existing viewer's agent port. No second network authentication was part of that transition.

text
Before: one authenticated viewer -> standard user's agent
After:  same authenticated viewer -> administrator's agent

The arrow changed. The network login did not.

What we observed

We reproduced this with two Macs on the same network. On the target, an administrator remained logged in while Fast User Switching brought a separate standard account to the console. The second Mac connected through Screen Sharing using only the standard account's credentials.

The recorded run contains one successful network authentication for that account. About 35 seconds later, attacker-controlled Ruby code in its remote session sent the internal request with the source session ID and the administrator's UID. The daemon logged that the sender passed its check, resolved the administrator's agent, and switched the viewer from the source agent port to the target agent port.

The visible control is as important as the daemon log:

Moment What the same remote viewer showed
Before the request Standard user's desktop; whoami identified the source account
After the request Administrator's already-active desktop; Terminal whoami identified the target account

The video shows the change in the existing viewer, without a target-account password prompt. The log shows which daemon performed the rebind. Together, they rule out a mere local desktop change or a new login under the target credentials.

Apple's public advisory describes the impact as viewing another user's screen. Our submitted proof showed the viewer could also interact with that desktop and run commands as that user. The demonstrated authority was the target user's desktop session, not a root shell.

What the score measures

The CVE record includes a CISA ADP CVSS 3.1 score of 7.5 (High). Its published vector scores a network confidentiality impact. That number is not evidence that our path worked without credentials. Our demonstrated scenario required prior Screen Sharing access to one standard account and another user's live session. The observed desktop input control is also broader than Apple's short public impact description. Both distinctions matter.

The research lesson is not that Apple-signed code is untrustworthy. It is that a valid code signature does not authorize every action taken through a scriptable signed program. A session-transition request needs to be tied to the caller's role and the viewer's authenticated principal, not just to the signature of the executable that carried it.

The two-Mac experiment made the distinction visible. The same viewer kept the same authenticated network connection while screensharingd changed the agent behind it. One valid login was enough to put that viewer on the wrong desktop.

Disclosure notes

After validation, we submitted the one-file proof, daemon evidence and end-to-end video to Apple. Apple credits ruitong (@abstract) and Andrey Chernykh (BypassLabs.AI). The target user was already logged in; the demonstrated authority was that user’s session, not a root shell.

Remediation

Install a fixed release for your macOS branch, or a later security update:

Use Software Update to install the update. The tested vulnerable builds are documented above; the fixed versions come from Apple’s CVE record.

Disclosure timeline

  1. Two-Mac session switch recorded

    One standard-account login was followed by an accepted transition request and the administrator’s desktop in the same viewer.

  2. Apple ships the fix

    macOS Golden Gate 27.2, macOS Tahoe 26.7.2, macOS Sequoia 15.8.2 are released and the CVE record is published.

Sources & references

  1. Apple security content: macOS Golden Gate 27.2support.apple.com
  2. Apple security content: macOS Tahoe 26.7.2support.apple.com
  3. Apple security content: macOS Sequoia 15.8.2support.apple.com
  4. CVE-2026-112480 — official recordcve.org
  5. CVE record data — dates and CISA ADP severity assessmentcveawg.mitre.org
  6. Apple Support — update macOSsupport.apple.com
All researchBack to top