CVE-2025-70342: erase-install · Incorrect Permissions
Affects erase-installSource CVE Database V5
Not known to be exploited · CVSS 6.6 Medium : upgrade to 40.4 when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 40.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade grahampugh/erase-install to 40.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubgrahampugh/erase-installpkg:github/grahampugh/erase-installOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-70342, organizations should immediately update erase-install to version v40.4 or later that includes commit 2c31239 or subsequent patches addressing this vulnerability. If immediate patching is not feasible, implement strict file system permissions on /var/tmp to prevent unauthorized creation of named pipes or symbolic links, especially restricting write access to trusted administrators only. Employ monitoring and alerting for suspicious named pipe creation or unusual file system activity in /var/tmp. Consider running erase-install operations in isolated or sandboxed environments to limit exposure. Additionally, review and harden deployment workflows to minimize credential exposure during reinstall or erase processes. Educate system administrators about the risks of insecure temporary file handling and encourage regular audits of deployment tools. Finally, integrate credential rotation policies to limit the impact of any potential credential leakage.
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.