Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-49819: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in seriousm4x UpSnap

0
Critical
Published: 08/12/2026 (08/12/2026, 23:13:46 UTC)
Source: CVE Database V5
Vendor/Project: seriousm4x
Product: UpSnap

Description

UpSnap versions 4.4.1 through 5.3.5 contain a critical vulnerability allowing unauthenticated attackers to register the initial superuser account via the POST /api/upsnap/init-superuser endpoint. This occurs due to missing authentication and insufficient access controls in the pb.HandlerInitSuperuser function. Exploitation can lead to privilege escalation and remote code execution on the host system. Version 5.4.0 addresses this issue.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
seriousm4x/UpSnap
pkg:github/seriousm4x/UpSnap
Affected versions
>=4.4.1 <5.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 23:41:06 UTC

Technical Analysis

UpSnap, a wake on LAN web application, suffers from an authentication bypass and privilege escalation vulnerability in versions 4.4.1 through 5.3.5. The vulnerable endpoint POST /api/upsnap/init-superuser in pb.HandlerInitSuperuser lacks authentication, setup tokens, IP allow-listing, and rate limiting, relying solely on a totalSuperusers > 0 check that is false on fresh installs. This allows an unauthenticated attacker to register the initial superuser account, obtain a long-lived JWT, and escalate privileges to root remote code execution via exec.CommandContext executing shell commands. The vulnerability is fixed in version 5.4.0.

Potential Impact

An unauthenticated network-adjacent attacker can create the initial superuser account, gaining full administrative access. This leads to complete system compromise including remote code execution with root privileges. The vulnerability has a CVSS score of 9.8 (critical), indicating high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade to UpSnap version 5.4.0 or later, which fixes the authentication bypass and privilege escalation vulnerability. Until patched, restrict network access to the vulnerable endpoint and monitor for unauthorized superuser registrations. Patch status is not explicitly confirmed in vendor advisories; however, version 5.4.0 is stated as the fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-01T18:50:36.055Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7d0145bf8831d539509f78

Added to database: 08/12/2026, 23:27:01 UTC

Last enriched: 08/12/2026, 23:41:06 UTC

Last updated: 08/13/2026, 02:46:59 UTC

Views: 25

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses