CVE-2026-49819: UpSnap - Unauthenticated Initial-Superuser Takeover Chains to Root RCE via wake_cmd

Published Aug 12, 2026
·
Updated

UpSnap is a wake on lan web app. Versions 4.4.1 through 5.3.5 are vulnerable to a missing-authentication / privilege-escalation chain in pb.HandlerInitSuperuser (backend/pb/handlers.go:249), reachable as POST /api/upsnap/init-superuser. The vulnerable code lacks any authentication, setup token, IP allow-list, or rate limit and is gated only by a totalSuperusers > 0 count check — a condition that is false on every fresh install — allowing an unauthenticated network-adjacent attacker to register the initial superuser account, receive a long-lived JWT, and pivot to root remote code execution at backend/networking/wake.go:43 (exec.CommandContext(ctx, "/bin/sh", "-c", wakecmd)). Version 5.4.0 fixes the issue.

Affected Software

2 affected components
UpSnap>=4.4.1<=5.3.5
UpSnap=5.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade UpSnap to a version that resolves this vulnerability.

    Fixed in 5.4.0
  2. Compensating control

    Restrict access to the management/initialization endpoint by network controls (e.g., firewall/ACL) so that only trusted clients can reach POST /api/upsnap/init-superuser.

Event History

Aug 12, 2026
CVE Published
via MITRE·11:13 PM
Data Sourced
via MITRE·11:13 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-49819?

CVE-2026-49819 has a critical severity rating of 9.8.

2

How do I fix CVE-2026-49819?

To fix CVE-2026-49819, update UpSnap to version 5.4.0 or later.

3

What are the risks associated with CVE-2026-49819?

CVE-2026-49819 exposes systems to unauthenticated initial-superuser takeover and root remote code execution.

4

Which versions of UpSnap are affected by CVE-2026-49819?

Versions 4.4.1 through 5.3.5 of UpSnap are vulnerable to CVE-2026-49819.

5

What type of vulnerability is CVE-2026-49819?

CVE-2026-49819 is classified as an OS Command Injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203