Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-70342

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-70342
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 20:13 UTC · Revision 1

Source evidence

CVE-2025-70342

core-osv · Original source

Published 4 Mar 2026, 00:00 UTC

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.

osv:CVE-2025-70342
Complete source record
{
  "id": "54481dde75c8b67be0dfe0d08ebf1c99bb7b9f0a10c1051e72a3e739fd2812eb",
  "url": "https://osv.dev/vulnerability/CVE-2025-70342",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-70342",
    "summary": "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.",
    "evidence": "osv:CVE-2025-70342",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-70342",
      "aliases": [
        "CVE-2025-70342"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/grahampugh/erase-install",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fc19955e314a0840787772dbab089f33581a9d60"
                },
                {
                  "fixed": "2c31239fb8519d87577514b3db9ddb0771232a21"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:grahampugh:erase-install:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "41.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2c31239fb8519d87577514b3db9ddb0771232a21"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.251955316Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70342.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-70342",
        "https://github.com/grahampugh/erase-install/commit/2c31239fb8519d87577514b3db9ddb0771232a21",
        "https://github.com/grahampugh/erase-install/pull/574",
        "https://github.com/malvector/CVE-2025-70342"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70342.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-70342",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506558,
  "published_at": "2026-03-04T00:00:00+00:00"
}