{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:grahampugh:erase-install:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "41.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fc19955e314a0840787772dbab089f33581a9d60"
            },
            {
              "fixed": "2c31239fb8519d87577514b3db9ddb0771232a21"
            }
          ],
          "repo": "https://github.com/grahampugh/erase-install",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70342.json"
  },
  "details": "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.",
  "id": "CVE-2025-70342",
  "modified": "2026-08-12T03:51:08.169448623Z",
  "published": "2026-03-04T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70342.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-70342"
    },
    {
      "type": "FIX",
      "url": "https://github.com/grahampugh/erase-install/commit/2c31239fb8519d87577514b3db9ddb0771232a21"
    },
    {
      "type": "FIX",
      "url": "https://github.com/grahampugh/erase-install/pull/574"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/malvector/CVE-2025-70342"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}