CVE-2026-90770
8.7
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| openspug | spug | 0 <= 3.4.0 | affected |
Weaknesses
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://github.com/openspug/spug/issues/741
- https://github.com/openspug/spug
- https://github.com/openspug/spug/blob/v3.4.0/spug_api/apps/monitor/executors.py
- https://github.com/openspug/spug/blob/v3.4.0/spug_api/apps/monitor/views.py
- https://github.com/openspug/spug/commit/97aebf133e1f9cbb35ccebadab1faedfdfe93f42
- https://www.vulncheck.com/advisories/spug-through-3.4.0-remote-code-execution-via-ping-check
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.