CVE-2026-49481

UpSnap vulnerable to Remote Code Execution via IP Field Template Injection in wake_cmd/shutdown_cmd

Published Aug 12, 2026 CVSS 3.1 · 9.6 Critical EPSS 1.5% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An OS command injection flaw exists in the wake_cmd and shutdown_cmd templates of the UpSnap web application. User-held values of the ip and mac fields are inserted unsafely into shell command templates, allowing execution of arbitrary operating system commands via /bin/sh -c on Linux or cmd /C on Windows. The flaw is authenticated; a low‑privileged user with permission to create or edit device entries can trigger the injection, resulting in full control over the host running UpSnap. The vulnerability is classified as CWE‑78.

Affected Systems

UpSnap, a wake‑on‑LAN web application from seriousm4x, is affected in all releases prior to version 5.4.0. No specific patch versions are listed beyond the 5.4.0 release that addresses the issue.

Risk and Exploitability

The vulnerability carries a CVSS base score of 9.6, indicating critical severity. Exploitation requires authenticated access with device‑management rights, enabling the attacker to craft device records containing malicious shell commands. An attacker may propagate the flaw once the user logs in or can perform it remotely if they are already authenticated. The EPSS score is not presently available, and the flaw is not listed in the CISA KEV catalog, but its high CVSS score and ease of exploitation via trusted credentials make it a significant risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update UpSnap to version 5.4.0 or later, which removes the vulnerable command template interpolation.
  • Revoke or restrict the device‑management permission for low‑privileged accounts; ensure only trusted users can create or edit devices.
  • If an upgrade is delayed, remove or disable the wake_cmd/shutdown_cmd templates for untrusted users and implement input validation to prevent shell‑command injection.

Generated by OpenCVE AI on August 13, 2026 at 02:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Seriousm4x
Seriousm4x upsnap
Vendors & Products Seriousm4x
Seriousm4x upsnap
Type Values Removed Values Added
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.
Title UpSnap vulnerable to Remote Code Execution via IP Field Template Injection in wake_cmd/shutdown_cmd
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 5:53 PM
Reserved
May 30, 2026, 4:17 AM
Status
Deferred
Published
Aug 12, 2026, 11:17 PM
Modified
Oct 24, 2026, 4:10 PM