CVE-2026-49819CWE-269CWE-306CWE-78CWE-862broken-access-controlcommand-injectionprivilege-escalation

CVE-2026-49819

Critical · published August 13, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
64.8
In the wild
Unconfirmed
What it is

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", wake_cmd)`). Version 5.4.0 fixes the issue.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01080 · 64.8th percentile
Weaknesses
CWE-269 · Improper Privilege Management; CWE-306 · Missing Authentication for Critical Function; CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-862 · Missing Authorization
Published
2026-08-13T04:17Z
References (3)
EPSS history
Timeline
  • 12 AUG 23:13Z
    UpSnap - Unauthenticated Initial-Superuser Takeover Chains to Root RCE via wake_cmd
    cvelistv5