---
id: CVE-2026-90770
title: >-
  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
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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: openspug
product: spug
affected:
  - spug <= 3.4.0
published: '2026-09-13'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:44.337'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90770'
references:
  - url: 'https://github.com/openspug/spug'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/openspug/spug/blob/v3.4.0/spug_api/apps/monitor/executors.py
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/openspug/spug/blob/v3.4.0/spug_api/apps/monitor/views.py
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/openspug/spug/commit/97aebf133e1f9cbb35ccebadab1faedfdfe93f42
    label: disclosure@vulncheck.com
  - url: 'https://github.com/openspug/spug/issues/741'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/spug-through-3.4.0-remote-code-execution-via-ping-check
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.01318
epssPercentile: 0.69626
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-18T17:13:24.529975Z'
ingestedAt: '2026-09-14T15:23:07.471Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
