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.
https://www.vulncheck.com/advisories/spug-through-3.4.0-remote-code-execution-via-ping-check
https://github.com/openspug/spug/issues/741
https://github.com/openspug/spug/commit/97aebf133e1f9cbb35ccebadab1faedfdfe93f42
https://github.com/openspug/spug/blob/v3.4.0/spug_api/apps/monitor/views.py
https://github.com/openspug/spug/blob/v3.4.0/spug_api/apps/monitor/executors.py
Published: 2026-09-13
Updated: 2026-09-13
Base Score: 9
Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C
Severity: High
Base Score: 8.8
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
Base Score: 8.7
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
Severity: High