CVE-2026-49481: UpSnap vulnerable to Remote Code Execution via IP Field Template Injection in wake_cmd/shutdown_cmd
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.
Security readout for executives and security teams
Plain-English summary
A signed-in UpSnap user allowed to create or edit devices can make the server run unauthorized operating-system commands. Successful abuse could expose sensitive data or alter systems beyond UpSnap. UpSnap versions before 5.4.0 are affected; version 5.4.0 fixes the flaw.
Executive priority
Prioritize remediation immediately for affected instances, especially those reachable by less-trusted users or networks. Although authentication is required and active exploitation is unconfirmed, the low privilege requirement and server-level command execution create substantial confidentiality and integrity risk.
Technical view
UpSnap unsafely interpolates user-controlled IP and MAC fields into wake_cmd and shutdown_cmd shell templates. Execution through /bin/sh -c on Linux or cmd /C on Windows enables authenticated command injection. The issue is CWE-78 and carries CVSS 3.1 score 9.6 with low privileges, no user interaction, and changed scope.
Likely exposure
Exposure is limited to UpSnap installations below 5.4.0 where an account can create or edit devices. Internet reachability may increase opportunity, but authentication and device-management permission are required. The supplied sources do not quantify deployed or exposed instances.
Exploitation context
The vulnerability supports authenticated remote code execution by a low-privileged device-management user. It is not listed as KEV in the supplied bundle, and no cited source establishes active exploitation. Treat credible abuse as possible without claiming exploitation in the wild.
Researcher notes
The vulnerable data flow is user-controlled IP or MAC input into wake_cmd or shutdown_cmd templates, followed by platform shell execution. The CVSS vector is AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N. Public evidence supplied here identifies 5.4.0 as patched but provides no confirmed exploitation telemetry.
Mitigation direction
Upgrade UpSnap to version 5.4.0 or later.
Until upgraded, restrict device creation and editing to trusted administrators.
Limit network access to UpSnap according to operational need.
Review vendor advisory and release guidance before returning normal permissions.
Validation and detection
Confirm every UpSnap instance reports version 5.4.0 or later.
Inventory accounts permitted to create or edit devices.
Review device IP and MAC values for unexpected shell-like content.
Review relevant application and operating-system logs for unexplained command execution.
Test authorized wake and shutdown operations after upgrading.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.