CVE-2023-38902 in Ruijie Rg-Ew1200R and 191 more products
A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 series switches v.SWITCH_3.0(1)B11P219, RG-EG series business VPN routers v.EG_3.0(1)B11P219, EAP and RAP series wireless access points v.AP_3.0(1)B11P219, and NBC series wireless controllers v.AC_3.0...
Affects 192 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ruijie | Rg-Ew1200R (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew300R (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew1200 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eg105G-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eg210G-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3200-24Gt4Xs-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3200-48Gt4Xs (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3200-48Gt4Xs-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3100-24Gt4Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3100-24Gt4Sfp-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3100-8Gt2Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3100-8Gt2Sfp-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbc256 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbc512 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-S1930-24Gt4Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-S1930-24T4Sfp-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-S1930-8Gt2Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-S1930-8Gt2Sfp-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-S1930-8T2Sfp-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-S1930-24T4Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew1200G Pro (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew1300G (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew1800Gx Pro (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew3000Gx Pro (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew300 Pro (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Ew3200Gx Pro (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nb3200-24Gt4Xs (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs1850Gc (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs1850Gc V2 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs2000 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs2009G-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs200 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs2026G-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs2026G (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs226F (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs228F (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs252F (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3100-24Gt4Sfp-P V2 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3100-48Gt4Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5100-24Gt4Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5100-48Gt4Sfp (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5200-24Gt4X (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5200-48Gt4Xs (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5300-48Mg6Xs (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5528Xg (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5552Xg (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5552Xg V2.0 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5628Xg (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5652Xg (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5710-24Gt4Sfp-E-P (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5710-24Gt4Sfp-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5710-48Gt4Sfp-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5750-28Gt4Xs-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5750V2-24Gt4Xs-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5750V2-24Sfp4Xs-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5750V2-48Gt4Xs-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5816Xs (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs6002 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs6100-20Xs4Vs2Qxs-S (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs7003 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs7006 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eg210G-Pe (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eg210G-E (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eg105G-Pe (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eg105G V2 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap120V2 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap100 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap120 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap101 V2 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap102 V2 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap102 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap101 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap630Ioda (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap630Cd (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap202 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap201 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap602 (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap102(F) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap162(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap212(F) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap212(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap262(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Eap662(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs3200-24Sfp/8Gt4Xs (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Nbs5200-24Sfp/8Gt4Xs (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap1200(E) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap1200(F) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap1260(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap2200(E) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap2200(F) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap2200(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap2260(E) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap2260(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap6260(G) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap6261(Cd) (device and firmware) | 3.0(1)b11p219 |
| Ruijie | Rg-Rap6261(E) (device and firmware) | 3.0(1)b11p219 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 series switches v.SWITCH_3.0(1)B11P219, RG-EG series business VPN routers v.EG_3.0(1)B11P219, EAP and RAP series wireless access points v.AP_3.0(1)B11P219, and NBC series wireless controllers v.AC_3.0(1)B11P219 allows an authorized attacker to execute arbitrary commands on remote devices by sending a POST request to /cgi-bin/luci/api/cmd via the remoteIp field.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-38902 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-227096-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-08-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A command injection vulnerability exists in multiple RG series devices, allowing an authorized attacker to execute arbitrary commands on the remote device.", "attack_vector_detail": "The vulnerability is due to improper validation of user input in the web interface, enabling an attacker to inject malicious commands that are executed with system privileges.", "affected_components": [ "RG-EW series home routers and repeaters v.EW_3.0(1)B11P219", "RG-NBS series switches v.SWITCH_3.0(1)B11P219", "RG-S1930 series switches v.SWITCH_3.0(1)B11P219", "RG-EG series business VPN routers v.EG_3.0(1)B11P219", "EAP and RAP series wireless access points v.AP_3.0(1)B11P219", "NBC series wireless controllers v.AC_3.0(1)B11P219" ], "exploitation_likelihood": "HIGH", "rem
Vulnerability details: A command injection vulnerability in RG-EW series home routers and repeaters v.EW_3.0(1)B11P219, RG-NBS and RG-S1930 series switches v.SWITCH_3.0(1)B11P219, RG-EG series business VPN routers v.EG_3.0(1)B11P219, EAP and RAP series wireless access points v.AP_3.0(1)B11P219, and NBC series wireless controllers v.AC_3.0(1)B11P219 allows an authorized attacker to execute arbitrary commands on remote devices by sending a POST request to /cgi-bin/luci/api/cmd via the remoteIp field. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2023-38902?
{ "executive_summary": "A command injection vulnerability exists in multiple RG series devices, allowing an authorized attacker to execute arbitrary commands on the remote device.", "attack_vector_detail": "The vulnerability is due to improper validation of user input in the web interface, enabling an attacker to inject malicious commands that are executed with system privileges.", "affected_components": [ "RG-EW series home routers and repeaters v.EW_3.0(1)B11P219", "RG-NBS series
What is the CVSS score for CVE-2023-38902?
CVE-2023-38902 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.5%.
Is CVE-2023-38902 actively exploited?
No confirmed active exploitation of CVE-2023-38902 as of 2026-09-25.
How do I remediate CVE-2023-38902?
Priority: MEDIUM.
What systems are affected by CVE-2023-38902?
CVE-2023-38902 affects Ruijie Rg-Ew1200R, Rg-Ew300R, Rg-Ew1200, Rg-Eg105G-E, Rg-Eg210G-P, Rg-Nbs3200-24Gt4Xs-P, Rg-Nbs3200-48Gt4Xs, Rg-Nbs3200-48Gt4Xs-P, Rg-Nbs3100-24Gt4Sfp, Rg-Nbs3100-24Gt4Sfp-P (plus 86 more products).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ruijie","product":"Rg-Ew1200R","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.