Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-70342: erase-install prior to v40.4 commit 2c31239 writes swiftDialog credential output to a hardcoded path /var/tmp/

32
Routine
MEDIUM 6.6UPGRADE

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 score6.6 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionRequired
EPSS exploit chance0.3% (top 84%)
CISA exploited listNo
WeaknessCWE-732
Published2026-03-04
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: grahampugh

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

grahampugh erase-install UPGRADE
Affected: < 41.0
Fixed in: 41.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy erase-install || rpm -q erase-install || erase-install --version
2. UPGRADE to 41.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade erase-install
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade erase-install
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.