Skip to content
Access control Write-up Advanced

CVE-2026-28910: Breaking macOS App Sandbox Data Containers and Hijacking Apps

Archive Utility on macOS could be made to copy files out of protected app data containers and TCC-protected folders, and to overwrite executables inside third-party app bundles. An attacker who got a user to run a script and drag one disguised file could read private app data and hijack trusted apps.

mysk.blog

Published on mysk.blog

Through Archive Utility, the default compression utility in macOS, an attacker can:

The author, on mysk.blog

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely Archive Utility ran with nearly unrestricted filesystem access and honoured user-writable preferences for its output folder, so once its preferences file was made accessible via drag and drop it could archive protected files and extract them elsewhere.

Impact

An attacker could read data from app containers and TCC-protected folders even when the user chose Don't Allow, and could replace executables in third-party app bundles; hijacked apps launch normally, though keychain or TCC access still prompts the user.

What the attacker needed

User runs attacker's shell script; user drags one disguised file; no sudo or Full Disk Access needed

The fix

It was fixed in macOS 26.4, which removed Archive Utility's broad filesystem access.

How it was found

  1. Run the attacker's install shell script in Terminal without sudo.
  2. The script mounts a disk image and creates a disguised symlink to Archive Utility's preferences file plus an alias to Terminal.
  3. The user drags the disguised file onto what looks like the Applications folder, which is really Terminal.
  4. The script detects it now has access to the preferences file and rewrites Archive Utility's output folder settings.
  5. Archive Utility is used to compress the target file and extract it into an attacker-chosen folder.
  6. The copied data is exfiltrated, or an app bundle executable is replaced.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

macOS keeps each app's private files in its own locked folder, and asks your permission before apps touch places like Desktop or Documents. The built-in zip tool, Archive Utility, could be pointed at those locked places and made to copy files out, because it was allowed to read almost anything. By getting someone to run a small script and drag one file, an attacker could then read private data and even swap out the program inside apps you already trust.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.