---
id: CVE-2025-56120
title: >-
  OS Command Injection vulnerability in Ruijie X60 PRO X60_10212014RG-X60 PRO
  V1.00/V2.00 allowing attackers to execute arbitrary commands via a crafted
  POST request to the module_set in file
  /usr/local/lua/dev_config/config_retain.lua.
summary: >-
  OS Command Injection vulnerability in Ruijie X60 PRO X60_10212014RG-X60 PRO
  V1.00/V2.00 allowing attackers to execute arbitrary commands via a crafted
  POST request to the module_set in file
  /usr/local/lua/dev_config/config_retain.lua.
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: ruijie
product: rg-x60_pro_firmware
affected:
  - rg-x60_pro_firmware = 1.021.2014
  - rg-ew1200_firmware = 3.0(1)b11p301
published: '2025-12-11'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-56120'
references:
  - url: >-
      https://1drv.ms/f/c/12406a392c92914b/EqOEJce7qVtBlzpFonUkSfYBz09eegk6KowUdpDNexgUvw?e=qfwDKh
    label: cve@mitre.org
  - url: >-
      https://1drv.ms/t/c/12406a392c92914b/EZf6v9BXDpFAs09oCidKJ8oBXclUWtjyMcQv3DgMfISkJg?e=MyjOdI
    label: cve@mitre.org
  - url: >-
      https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56120.md
    label: cve@mitre.org
tags:
  - nvd
epss: 0.02643
epssPercentile: 0.85301
ingestedAt: '2026-10-14T20:53:12.282Z'
---

## Overview

OS Command Injection vulnerability in Ruijie X60 PRO X60_10212014RG-X60 PRO V1.00/V2.00 allowing attackers to execute arbitrary commands via a crafted POST request to the module_set in file /usr/local/lua/dev_config/config_retain.lua.

## Affected

- `rg-x60_pro_firmware = 1.021.2014`
- `rg-ew1200_firmware = 3.0(1)b11p301`

## Remediation

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