Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-49819

UpSnap - Unauthenticated Initial-Superuser Takeover Chains to Root RCE via wake_cmd
Back to all
CVE

CVE-2026-49819

UpSnap - Unauthenticated Initial-Superuser Takeover Chains to Root RCE via wake_cmd

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/seriousm4x/UpSnap/releases/tag/5.4.0, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49819.json, https://github.com/seriousm4x/UpSnap/security/advisories/GHSA-w4jr-728f-5jhq, https://nvd.nist.gov/vuln/detail/CVE-2026-49819

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00615%
EPSS Percentile
0.46863%
Introduced Version
47b81553befa785b73ddc8aff2c6774975791ff2
Fix Available
92f9e295d5f761d874a6701245b2e38dc42cb85a

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading