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.
References
| Link | Resource |
|---|---|
| https://github.com/grahampugh/erase-install/commit/2c31239fb8519d87577514b3db9ddb0771232a21 | Patch |
| https://github.com/grahampugh/erase-install/pull/574 | Issue Tracking Patch |
| https://github.com/malvector/CVE-2025-70342 | Third Party Advisory Exploit Mitigation |
Configurations
History
09 Mar 2026, 17:41
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/grahampugh/erase-install/commit/2c31239fb8519d87577514b3db9ddb0771232a21 - Patch | |
| References | () https://github.com/grahampugh/erase-install/pull/574 - Issue Tracking, Patch | |
| References | () https://github.com/malvector/CVE-2025-70342 - Third Party Advisory, Exploit, Mitigation | |
| CPE | cpe:2.3:a:grahampugh:erase-install:*:*:*:*:*:*:*:* | |
| First Time |
Grahampugh
Grahampugh erase-install |
04 Mar 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.6 |
| CWE | CWE-732 |
04 Mar 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-04 15:16
Updated : 2026-03-09 17:41
NVD link : CVE-2025-70342
Mitre link : CVE-2025-70342
CVE.ORG link : CVE-2025-70342
JSON object : View
Products Affected
grahampugh
- erase-install
CWE
CWE-732
Incorrect Permission Assignment for Critical Resource
