erase-install Credential Interception Vulnerability on Apple Silicon Macs

Vulnerability

A vulnerability in erase-install versions prior to 40.4 allows for the interception of admin credentials via a named pipe. The issue arises because the application writes swiftDialog credential output to a hardcoded, world-writable path (/var/tmp/dialog.json) on Apple Silicon Macs. An unauthenticated attacker can exploit this by creating a named pipe at the predictable location, intercepting credentials in real time during reinstall or erase operations.

Impact

Exploitation of this vulnerability allows for real-time interception of admin credentials entered during swiftDialog prompts, with the captured data being directed to the attacker's terminal.

Reproduction

To reproduce this vulnerability, an unprivileged user on an Apple Silicon Mac can create a named pipe and a symlink to the predictable dialog output path. When the admin runs the erase-install script with the --erase option, the credentials entered in the swiftDialog prompt will be intercepted through the symlinked path.

Remediation

Users are advised to upgrade erase-install to version 40.4 or later, where this vulnerability has been fixed.

Added: Mar 4, 2026, 3:25 PM
Updated: Mar 4, 2026, 7:11 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
3.8
remediation
0.0
relevance
3.5
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.