Skip to main content
Vulnerability Database/CVE-2026-103244

CVE-2026-103244: ground-station Auth Bypass Vulnerability

CVE-2026-103244 is an authentication bypass flaw in ground-station that lets attackers plant admin users and session tokens during setup mode. This post explains its technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-103244 Overview

CVE-2026-103244 is an authentication bypass vulnerability in ground-station versions prior to 0.8.0. The flaw resides in the setup.restore command exposed during first-run setup mode. Unauthenticated attackers can invoke setup.restore over Socket.IO to execute arbitrary SQL against the application database. Exploitation allows adversaries to plant administrator accounts and forge valid session tokens. Attackers then authenticate as administrator without supplying credentials, resulting in complete application takeover. The weakness is tracked under CWE-306: Missing Authentication for Critical Function.

Critical Impact

Unauthenticated attackers can achieve full administrative takeover of ground-station instances by invoking an unauthenticated setup command that executes arbitrary SQL.

Affected Products

  • ground-station versions earlier than 0.8.0
  • Deployments exposing the Socket.IO interface during first-run setup mode
  • Instances where the setup allow-list includes setup.restore

Discovery Timeline

  • 2026-10-01 - CVE-2026-103244 published to NVD
  • 2026-10-01 - Last updated in NVD database

Technical Details for CVE-2026-103244

Vulnerability Analysis

The vulnerability exists in the Socket.IO command dispatcher that governs commands available before an administrator exists. Setup mode intentionally exposes a small allow-list of commands so operators can complete initial configuration. The setup.restore command was included in that allow-list, but it accepts a database restore payload and streams it directly into the backend database. Because setup mode runs before authentication is enforced, any network-reachable attacker can issue setup.restore and run arbitrary SQL. Attackers use the primitive to insert administrator records and forge session tokens that the application subsequently accepts.

Root Cause

The root cause is a missing authentication check on a privileged database operation [CWE-306]. The setup allow-list in backend/common/auth.py placed setup.restore alongside benign commands such as setup.status and setup.finalize. The restore handler trusts the caller to supply legitimate backup data and does not isolate the restore operation from the live application database.

Attack Vector

Exploitation requires network access to the Socket.IO endpoint while the instance is in first-run setup mode. No credentials, user interaction, or elevated privileges are required. The attacker sends a crafted setup.restore event with SQL payloads that create an administrator user and matching session row. The attacker then connects with the forged session token and operates as administrator.

python
# Patch excerpt: backend/common/auth.py
 setup_allowed_commands = {
     "get-locations",
     # Setup mode exposes only setup-scoped commands until the first admin exists.
-    "setup.restore",
     "setup.finalize",
     "setup.status",
 }
# Source: https://github.com/sgoudelis/ground-station/commit/940df2128e57fa779d0ddee2d9726bd829fc61e1

The patch removes setup.restore from the setup-mode allow-list and refactors the restore path to use full_restore_file with a streamed SQL file, as shown in the upstream commit.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-103244

Indicators of Compromise

  • Unexpected administrator accounts created in the ground-station user table shortly after service start or restart.
  • Socket.IO traffic containing the setup.restore command issued from unauthenticated clients.
  • Session records whose creation timestamps precede any legitimate administrator login.
  • Database write operations originating from the restore handler outside of a planned migration window.

Detection Strategies

  • Inspect application and reverse-proxy logs for Socket.IO events matching setup.restore prior to upgrade to 0.8.0.
  • Compare the current user and session tables against known-good backups taken before exposure.
  • Audit Git deployment history to confirm whether the running binary includes commit 940df2128e57fa779d0ddee2d9726bd829fc61e1.
  • Alert on any invocation of restore-related endpoints from clients that have not completed authentication.

Monitoring Recommendations

  • Monitor the Socket.IO command stream and emit alerts whenever setup-scoped commands fire after first-run completion.
  • Record administrator account creation events to a centralized log pipeline and review them daily.
  • Track network connections to the ground-station service from untrusted segments and flag anomalies.

How to Mitigate CVE-2026-103244

Immediate Actions Required

  • Upgrade ground-station to version 0.8.0 or later, which removes setup.restore from the setup allow-list.
  • Restrict network access to the Socket.IO interface until the patched version is deployed.
  • Review user and session tables for unauthorized administrator entries and revoke suspicious sessions.
  • Rotate credentials and API tokens issued by any instance that may have been exposed in setup mode.

Patch Information

The fix is delivered in commit 940df2128e57fa779d0ddee2d9726bd829fc61e1 and documented in GHSA-3mqj-q84c-crjq. Additional context is available in the VulnCheck advisory. The patch removes setup.restore from setup_allowed_commands and replaces the in-process restore routine with full_restore_file, which reads from a staged file path instead of accepting arbitrary payloads from Socket.IO callers.

Workarounds

  • Place ground-station behind a reverse proxy that blocks Socket.IO traffic from untrusted networks until patched.
  • Complete the first-run setup workflow immediately after installation to exit setup mode and shrink the exposure window.
  • Apply host firewall rules that permit Socket.IO connections only from administrator workstations during initial deployment.
bash
# Configuration example: restrict Socket.IO exposure with nftables until upgrade
nft add table inet ground_station
nft add chain inet ground_station input { type filter hook input priority 0 \; policy drop \; }
nft add rule inet ground_station input ip saddr 10.0.0.0/24 tcp dport 3000 accept
nft add rule inet ground_station input ct state established,related accept

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.