CVE-2025-70342 Details
Description
erase-install prior to v40.4 commit 2c31239 writes swiftDialog credential output to a hardcoded path /var/tmp/dialog.json. This allows an unauthenticated attacker to intercept admin credentials entered during reinstall/erase operations via creating a named pipe.
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.
Users are advised to upgrade erase-install to version 40.4 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/grahampugh/erase-install/commit/2c31239fb8519d87577514b3db9ddb0771232a21 | [email protected] | Patch |
| https://github.com/grahampugh/erase-install/pull/574 | [email protected] | Issue TrackingPatch |
| https://github.com/malvector/CVE-2025-70342 | [email protected] | ExploitMitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| grahampugh erase-install | < 41.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Mar 4, 2026 | CVE Modified | CISA-ADP |
| Mar 4, 2026 | New CVE Received | [email protected] |