{"id":"CVE-2025-70342","details":"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.","modified":"2026-08-12T03:51:08.169448623Z","published":"2026-03-04T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70342.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70342.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-70342"},{"type":"FIX","url":"https://github.com/grahampugh/erase-install/commit/2c31239fb8519d87577514b3db9ddb0771232a21"},{"type":"FIX","url":"https://github.com/grahampugh/erase-install/pull/574"},{"type":"PACKAGE","url":"https://github.com/malvector/CVE-2025-70342"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/grahampugh/erase-install","events":[{"introduced":"0"},{"fixed":"fc19955e314a0840787772dbab089f33581a9d60"},{"fixed":"2c31239fb8519d87577514b3db9ddb0771232a21"}],"database_specific":{"cpe":"cpe:2.3:a:grahampugh:erase-install:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"41.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v40.4","v39.1","v39.0","v37.0","v36.1","v36.0","v35.0","v33.1","v33.0","v32.1","v31.0","v30.2","v30.1","v30.0","v29.2","v29.1","v29.0","v28.1","v26.1","v25.0","v24.1","v0.19.2","v0.19.1","v0.18.0","v0.17.4","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.6","v0.15.5","v0.15.4","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.0","v0.13.0","v0.12.1","v0.12.0","v0.11.1","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.8.0","v0.7.1","v0.7.0","v0.5.0","v0.4.0","v0.3.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-70342.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"}]}