macOS Logic Bug Chain Enabled Root, SIP Bypass, and Kernel Code Execution
Attack Tradecraft · 5 sources · Updated 4mo ago · First seen Jan 1, 2026

A researcher disclosed a three-bug macOS local privilege escalation chain that let an unprivileged user escalate to root, bypass System Integrity Protection (SIP), and ultimately achieve kernel code execution on systems before macOS 10.15.5. The first flaw was in authd, where Authorization Services trusted entitlement data returned by SecCodeCopySigningInformation without first validating the caller’s code signature, allowing forged entitlements such as com.apple.private.AuthorizationServices to unlock privileged authorization rights.
The chain then abused Apple-signed package installation through PackageKit and a vulnerable post-install script in macOSPublicBetaAccessUtility.pkg to execute code as root under system_installd, inheriting the com.apple.rootless.install.heritable entitlement and bypassing SIP. A third flaw in kextutil used a race condition to swap a verified Apple-signed kernel extension staged in /Library/StagedExtensions/private before loading; use of the -interactive flag made the race reliable enough to load malicious kernel code. The bugs were reported to Apple in 2020, and Apple addressed the issues in macOS 10.15.6 and tvOS 13.4.5, including a change so SecCodeCopySigningInformation verifies signatures directly.
Why it matters
Impact assessment
This story describes a patched but high-impact local exploit chain affecting macOS systems prior to 10.15.5/10.15.6, enabling an unprivileged local user to gain root, bypass System Integrity Protection, and execute code in the kernel. The primary risk is to enterprises, developers, and shared-user macOS environments where local code execution is possible, because the chain converts a standard user foothold into full device compromise.
The impact is severe on affected hosts: attackers could disable core platform protections, install privileged software, modify protected areas indirectly, and load malicious kernel code for persistence or stealth. The exposure is broad across older macOS deployments rather than targeted to a single industry, but exploitation requires local access or prior code execution; the content does not cite in-the-wild exploitation.
Supporting facts
- Affected population: macOS users running versions earlier than 10.15.5, with fixes released in macOS 10.15.6 and tvOS 13.4.5.
- Impacted products/components: authd, Authorization Services, PackageKit/system_installd, kextutil, SIP-protected execution paths.
- Security outcome: user-to-root escalation, SIP bypass, and kernel code execution.
- Operational risk: full host takeover, persistence opportunities, tampering with security controls, and potential data theft or destructive actions after privilege escalation.
- Scope: broadly relevant to legacy macOS fleets and unmanaged endpoints that remained on vulnerable versions.
- Exploitation status: public researcher disclosure; no explicit report of active exploitation in the wild in the provided references.


