CVE-2026-49481 UpSnap vulnerable to Remote Code Execution via IP Field Template Injection in wake_cmd/shutdown_cmd
Authenticated attackers can execute arbitrary OS commands on the server by injecting malicious input into device IP or MAC fields.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-49481?
CVE-2026-49481 is a critical command injection vulnerability in seriousm4x UpSnap, published on 12 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-49481?
How do I fix CVE-2026-49481?
No fix has been published for CVE-2026-49481 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-49481 being exploited?
There is no known exploitation of CVE-2026-49481 in the wild and no public exploit code.
Sources
Also known as GHSA-6mc7-6948-w5h4.