ZeroHour

CVE-2026-90770

moderate

Authenticated Shell Command Injection (RCE) in Spug Monitoring ping_check Through 3.4.0

CVSS 4.0
8.7 high
EPSS
Published
()
Modified
AI analysis

Spug, an open-source self-hosted operations and monitoring platform, contains an OS command injection flaw (CWE-78) through version 3.4.0 in the ping_check function of its monitoring module, where user-supplied monitor addresses are interpolated directly into shell commands without any validation. An authenticated attacker with monitor permissions can trigger the flaw by sending shell metacharacters in a monitor address to the /monitor/run_test/ endpoint, causing arbitrary commands to execute as the Spug process user. Because Spug consoles typically store SSH keys, deployment credentials, and API tokens for managed infrastructure, successful exploitation gives an attacker a foothold that extends well beyond the application itself. Any self-hosted deployment running Spug 3.4.0 or earlier with semi-trusted users holding monitor permissions is affected. No public proof of concept is known and the issue is not on CISA's KEV list, so exploitation is currently assessed as none known.

What to do: Check the official Spug repository for a release newer than 3.4.0 that fixes the ping_check flaw and upgrade as soon as one is available; no fixed version is identified in the advisory itself. In the meantime, restrict monitor permissions to fully trusted accounts and keep the Spug web console off the public internet (VPN or authenticated reverse proxy). Review logs for requests to /monitor/run_test/ containing shell metacharacters such as ; | $ ( ` and rotate any SSH keys or credentials stored in Spug if suspicious activity is found.

Affected
openspug Spugthrough 3.4.0 (all versions up to and including 3.4.0)
Estimated exposure
moderate≈ low thousands of internet-exposed self-hosted instances (order of 1,000–10,000), plus an unknown number on internal networks — Spug is a niche self-hosted open-source ops platform with roughly 10k GitHub stars, and public internet scan engines typically show low-thousands of reachable Spug consoles, with most deployments expected to sit on internal or…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Spug through 3.4.0 contains a remote code execution vulnerability in the ping_check function that interpolates user-supplied monitor addresses directly into shell commands without validation. Authenticated users with monitor permissions can inject shell metacharacters via the /monitor/run_test/ endpoint to execute arbitrary commands as the Spug process user.

Weakness
CWE-78
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.