← Back to CVE Explorer

CVE-2026-49481

Full vulnerability record from the local CVENow database.

Description

UpSnap is a wake on lan web app. Versions prior to 5.4.0 have an OS command injection vulnerability in the UpSnap’s device management functionality due to the presence of unsafe shell command template interpolation using the ip and the mac fields. User-controlled values can be inserted into the wake_cmd and shutdown_cmd templates and executed via /bin/sh -c (Linux) or cmd /C (Windows) without sanitization, resulting in an authenticated Remote Code Execution (RCE). A low-privileged user with permission to create or edit devices can execute arbitrary operating system commands on the UpSnap hosted server. Version 5.4.0 patches the issue.

Severity
CRITICAL
CVSS score
9.6 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-12 23:17:21.363000
Last modified
2026-10-24 16:10:00.153000
View original CVE JSON
{
  "id": "CVE-2026-49481",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-12T23:17:21.363",
  "lastModified": "2026-10-24T16:10:00.153",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "UpSnap is a wake on lan web app. Versions prior to 5.4.0 have an OS command injection vulnerability in the UpSnap’s device management functionality due to the presence of unsafe shell command template interpolation using the ip and the mac fields. User-controlled values can be inserted into the wake_cmd and shutdown_cmd templates and executed via /bin/sh -c (Linux) or cmd /C (Windows) without sanitization, resulting in an authenticated Remote Code Execution (RCE). A low-privileged user with permission to create or edit devices can execute arbitrary operating system commands on the UpSnap hosted server. Version 5.4.0 patches the issue."
    },
    {
      "lang": "es",
      "value": "UpSnap es una aplicación web de wake on lan. Las versiones anteriores a la 5.4.0 tienen una vulnerabilidad de inyección de comandos del sistema operativo en la funcionalidad de gestión de dispositivos de UpSnap debido a la presencia de interpolación insegura de plantillas de comandos de shell utilizando los campos ip y mac. Valores controlados por el usuario pueden insertarse en las plantillas wake_cmd y shutdown_cmd y ejecutarse a través de /bin/sh -c (Linux) o cmd /C (Windows) sin sanitización, lo que resulta en una Ejecución Remota de Código (RCE) autenticada. Un usuario con privilegios bajos con permiso para crear o editar dispositivos puede ejecutar comandos arbitrarios del sistema operativo en el servidor que aloja UpSnap. La versión 5.4.0 corrige el problema."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "seriousm4x",
          "product": "UpSnap",
          "versions": [
            {
              "version": "< 5.4.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
          "baseScore": 9.6,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.1,
        "impactScore": 5.8
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-13T17:50:36.206615Z",
          "id": "CVE-2026-49481",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-78"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/seriousm4x/UpSnap/releases/tag/5.4.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/seriousm4x/UpSnap/security/advisories/GHSA-6mc7-6948-w5h4",
      "source": "[email protected]"
    }
  ]
}