CVE-2025-70342: erase-install prior to v40.4 commit 2c31239 writes swiftDialog credential output to a hardcoded path /var/tmp/
CVE-2025-70342 is a medium-severity flaw (CVSS 6.6) affecting erase-install. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.6 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 84%) |
| CISA exploited list | No |
| Weakness | CWE-732 |
| Published | 2026-03-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-70342?
erase-install: upgrade to 41.0. Exact commands for each OS are on this page.
Is CVE-2025-70342 being exploited?
CVE-2025-70342 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-70342 affect?
CVE-2025-70342 affects erase-install. Severity is medium (CVSS 6.6). 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
How urgent is CVE-2025-70342?
Priority 32/100. Public exploit reference