CVE-2026-49819
published critical CVSS 3.1 · 9.8UpSnap - Unauthenticated Initial-Superuser Takeover Chains to Root RCE via wake_cmd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| seriousm4x | — | UpSnap>= 4.4.1, < 5.4.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| seriousm4x | UpSnap | >= 4.4.1, < 5.4.0 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-269 CWE-269: Improper Privilege Management
- CWE-306 CWE-306: Missing Authentication for Critical Function
- CWE-862 CWE-862: Missing Authorization
References
2Provider assertions
2GitHub_M · cna
UpSnap - Unauthenticated Initial-Superuser Takeover Chains to Root RCE via wake_cmd
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 13f329121e21a0189118a3d17891f22eb3a598db6102cc3b4e9dfc9433cf2217
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record