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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-12T23:13:46.298Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-78, CWE-269, CWE-306, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- seriousm4x UpSnap: >= 4.4.1, < 5.4.0

## References

- <https://github.com/seriousm4x/UpSnap/security/advisories/GHSA-w4jr-728f-5jhq> (exploit)
- <https://github.com/seriousm4x/UpSnap/releases/tag/5.4.0>

## Sources

- CVE List: [CVE-2026-49819](https://www.cve.org/CVERecord?id=CVE-2026-49819), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-49819](https://nvd.nist.gov/vuln/detail/CVE-2026-49819), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-49819 · Whole record: https://cve.day/CVE-2026-49819.json · Rebuilt by cve.day 2026-11-25T22:59:32.679Z
