---
id: CVE-2025-71284
title: >-
  Synway SMG Gateway Management Software contains an OS command injection
  vulnerability in the RADIUS configuration endpoint at /en/9-2radius.php where
  the radius_address POST parameter is split and interpolated directly into a
  sed command…
summary: >-
  Synway SMG Gateway Management Software contains an OS command injection
  vulnerability in the RADIUS configuration endpoint at /en/9-2radius.php where
  the radius_address POST parameter is split and interpolated directly into a
  sed command…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: synway
product: smg_gateway_management_software
affected:
  - smg_gateway_management_software
published: '2026-04-30'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T22:10:00.273'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71284'
references:
  - url: >-
      https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/synway/synwaysmg-radius-rce.yaml
    label: disclosure@vulncheck.com
  - url: 'https://mp.weixin.qq.com/s/PyepoFSuQ63E3RnpQa9nsA'
    label: disclosure@vulncheck.com
  - url: 'https://mrxn.net/jswz/synway-9-2radius-rce.html'
    label: disclosure@vulncheck.com
  - url: 'https://www.synway.net/'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/synway-smg-gateway-management-software-os-command-injection-via-radius-address
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.05727
epssPercentile: 0.92798
ingestedAt: '2026-09-30T22:27:27.773Z'
---

## Overview

Synway SMG Gateway Management Software contains an OS command injection vulnerability in the RADIUS configuration endpoint at /en/9-2radius.php where the radius_address POST parameter is split and interpolated directly into a sed command without sanitization. An unauthenticated remote attacker can inject arbitrary shell commands by submitting a POST request with crafted radius_address, radius_address2, shared_secret2, source_ip, timeout, or retry parameters along with save=1 and enable_radius=1 to achieve remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2025-07-11 (UTC).

## Affected

- `smg_gateway_management_software`

## Remediation

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