Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-70342: n/a

0
Medium
VulnerabilityCVE-2025-70342cvecve-2025-70342
Published: Wed Mar 04 2026 (03/04/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

AILast updated: 03/04/2026, 15:17:38 UTC

Technical Analysis

CVE-2025-70342 is a security vulnerability identified in the erase-install utility, specifically in versions prior to v40.4 commit 2c31239. The issue stems from the swiftDialog component writing administrator credential output to a hardcoded file path: /var/tmp/dialog.json. Because this path is predictable and not securely protected, an unauthenticated attacker can exploit this by creating a named pipe (FIFO) at that location before the erase-install process runs. When the utility writes credentials to this named pipe, the attacker can intercept and capture sensitive administrator credentials entered during system reinstall or erase operations. This vulnerability does not require authentication or user interaction, making it easier to exploit in environments where erase-install is used for macOS deployment or system recovery. The flaw is due to insecure handling of output files and lack of validation or protection against symbolic links or named pipes at the target path. Although no known exploits have been reported in the wild, the potential for credential compromise is significant. The vulnerability affects organizations using erase-install with swiftDialog prior to the fixed commit 2c31239, typically in macOS system administration contexts. No CVSS score has been assigned yet, but the vulnerability's characteristics indicate a high severity level. Mitigation involves applying the patch that removes or secures the hardcoded output path and prevents named pipe exploitation. Additionally, system administrators should enforce strict file system permissions and monitor /var/tmp for suspicious named pipe creation. This vulnerability highlights the risks of insecure temporary file handling in privileged system utilities.

Potential Impact

The primary impact of CVE-2025-70342 is the compromise of administrator credentials during critical system reinstall or erase operations. If exploited, an attacker can gain unauthorized access to administrative credentials without authentication, leading to potential full system compromise. This threatens confidentiality and integrity of systems managed via erase-install, especially in environments where macOS devices are frequently reimaged or erased. The vulnerability could facilitate lateral movement, privilege escalation, or persistent access if credentials are harvested. Organizations relying on erase-install for mass deployment or recovery operations face increased risk of insider or remote attackers intercepting sensitive credentials. The ease of exploitation and lack of required authentication amplify the threat, potentially impacting IT infrastructure security and operational continuity. Although availability impact is limited, the breach of admin credentials can indirectly lead to denial of service or data loss through malicious administrative actions. The scope includes all systems using vulnerable erase-install versions with swiftDialog prior to the fixed commit, particularly in enterprise macOS environments.

Mitigation Recommendations

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.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-01-09T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69a849bdd1a09e29cb42f6ca

Added to database: 3/4/2026, 3:03:25 PM

Last enriched: 3/4/2026, 3:17:38 PM

Last updated: 3/4/2026, 5:06:16 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses