{
  "id": "CVE-2026-49819",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49819",
  "published_at": "2026-08-12T23:13:46.298Z",
  "title": "UpSnap - Unauthenticated Initial-Superuser Takeover Chains to Root RCE via wake_cmd",
  "vendor": "seriousm4x",
  "product": "UpSnap",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 \u003e 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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "seriousm4x",
        "product": "UpSnap",
        "ranges": [
          "\u003e= 4.4.1, \u003c 5.4.0"
        ],
        "fixed_in": [
          "5.4.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade UpSnap to 5.4.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/seriousm4x/UpSnap/security/advisories/GHSA-w4jr-728f-5jhq"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/seriousm4x/UpSnap/releases/tag/5.4.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
