---
id: CVE-2021-43161
title: >-
  A Remote Code Execution (RCE) vulnerability exists in Ruijie Networks Ruijie
  RG-EW Series Routers up to ReyeeOS 1.55.1915 / EW_3.0(1)B11P55 via the
  doSwitchApi function in /cgi-bin/luci/api/switch.
summary: >-
  A Remote Code Execution (RCE) vulnerability exists in Ruijie Networks Ruijie
  RG-EW Series Routers up to ReyeeOS 1.55.1915 / EW_3.0(1)B11P55 via the
  doSwitchApi function in /cgi-bin/luci/api/switch.
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-77
vendor: ruijienetworks
product: reyeeos
affected:
  - reyeeos <= 1.55.1915_ew_3.0\(1\)b11p55
published: '2022-05-04'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-43161'
references:
  - url: 'https://seclists.org/fulldisclosure/2022/May/0'
    label: cve@mitre.org
  - url: 'http://ruijie.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://seclists.org/fulldisclosure/2022/May/0'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01786
epssPercentile: 0.77349
ingestedAt: '2026-07-06T17:03:24.356Z'
---

## Overview

A Remote Code Execution (RCE) vulnerability exists in Ruijie Networks Ruijie RG-EW Series Routers up to ReyeeOS 1.55.1915 / EW_3.0(1)B11P55 via the doSwitchApi function in /cgi-bin/luci/api/switch.

## Affected

- `reyeeos <= 1.55.1915_ew_3.0\(1\)b11p55`

## Remediation

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