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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.08% (percentile 65, 2026-11-26)
- **CWE:** CWE-78, CWE-269, CWE-306, CWE-862
- **Published:** 2026-08-12T23:13:46.298Z
- **Modified:** 2026-10-24T16:10:00.153Z

## Who should check

- Anyone running seriousm4x UpSnap \>= 4.4.1, \< 5.4.0

## 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.

## Affected and fixed versions

- seriousm4x UpSnap: \>= 4.4.1, \< 5.4.0 (cvelist)

## Mitigation

- Upgrade UpSnap to 5.4.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-49819. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49819.md
Affected: seriousm4x UpSnap >= 4.4.1, < 5.4.0
Fixed in: seriousm4x UpSnap 5.4.0

Steps:
1. Search this machine and project for seriousm4x UpSnap: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-49819 being exploited?

There is no confirmed exploitation: CVE-2026-49819 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-49819?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-49819?

seriousm4x UpSnap \>= 4.4.1, \< 5.4.0.

### Is there a fix for CVE-2026-49819?

Yes. Fixed in seriousm4x UpSnap 5.4.0. Upgrade UpSnap to 5.4.0 or later.

### How do I check if I'm affected by CVE-2026-49819?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-49819>

HTML: <https://flawdb.com/CVE-2026-49819> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-49819>
