{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:electerm_project:electerm:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.3.8"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e7a888eec57c5a95e1dbb78b1076a76eaa46c42b"
            },
            {
              "fixed": "59708b38c8a52f5db59d7d4eff98e31d573128ee"
            }
          ],
          "repo": "https://github.com/electerm/electerm",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8x35-hph8-37hq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-77"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41501.json"
  },
  "details": "electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to version 3.3.8, a command injection vulnerability exists in github.com/elcterm/electerm/npm/install.js:130. The runLinux() function appends attacker-controlled remote version strings directly into an exec(\"rm -rf ...\") command without validation. This issue has been patched in version 3.3.8.",
  "id": "CVE-2026-41501",
  "modified": "2026-07-15T01:48:59.448653812Z",
  "published": "2026-05-08T02:51:10.144Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/electerm/electerm/releases/tag/v3.3.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41501.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41501"
    },
    {
      "type": "FIX",
      "url": "https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "electerm has Command Injection Vulnerability via runLinux function"
}