Apple Screen Sharing Vulnerability Exploited to Execute Command as Root
A flaw in Apple's screen sharing feature allowed attackers to gain full control of affected Mac computers.
Overview
A logic flaw in macOS Screen Sharing allows a remote viewer to execute commands with rootThe highest administrator permission level on a system, with unrestricted control over all files and programs privilegesThe level of authority an account or process has to change settings, read files, or run commands. The issue, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-43760, affects systems where the legacy VNC password option is enabled. When users connect via this older method, the file-copy helpers run as root instead of under a specific user account. This allows an attacker to read protected files and write new files to critical system directories. Researchers demonstrated that this flaw grants passwordless sudo access to a non-admin account. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend enables full remote command executionA flaw that lets an attacker run their own code on someone else's computer over a network without memory corruptionA class of software bugs where a program accidentally overwrites or misreads its own working memory or buffer overflowsA bug where a program writes more data into a fixed memory block than it can hold.
Terms in this story
- Root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- privileges
- The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- Vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- remote command execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- memory corruption
- A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. Security+ objective 2.3 lists the term
- buffer overflow
- A bug where a program writes more data into a fixed memory block than it can hold. When extra input spills past the end of a memory buffer, a buffer overflow can overwrite nearby instructions and let an attacker run their own code. Security+ objective 2.3 lists the term
- Exploited
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- authentication
- Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
- permissions
- The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
- shell
- The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
- authenticated
- A person or account that has already signed in with valid credentials. Some vulnerabilities cannot be triggered by a stranger on the internet and instead require an authenticated user who already holds at least a basic account on the system.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"A newly disclosed logic flaw in macOS Screen Sharing..." Found by reading the article; these exact words are in it - Who is affected: "...macOS systems where Screen Sharing or Remote Management is enabled..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"Apple Screen Sharing Vulnerability Exploited to Execute Command as Root..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Apple Screen Sharing Vulnerability Exploited to Execute Command as Root..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"......root command execution. The issue, tracked as CVE-2026-43760, affects the screensharingd service and its..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Apple Screen Sharing Vulnerability Exploited to Execute Command as Root..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"A newly disclosed logic flaw in macOS Screen Sharing shows how a feature meant..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Skill in exploiting system vulnerabilities to escalate privileges.
"Execute Command as Root..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role