CVE-2026-6158

Totolink N300RH upgrade.so setUpgradeUboot os command injection

Published Apr 13, 2026 CVSS 4.0 · 6.9 Medium EPSS 1.6% KEV · Not listed
Description
A flaw has been found in Totolink N300RH 6.1c.1353_B20190305. Affected is the function setUpgradeUboot of the file upgrade.so. This manipulation of the argument FileName causes os command injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.

Analysis

AI-generated

Technical impact

A flaw in the setUpgradeUboot function of Totolink N300RH firmware 6.1c.1353_B20190305 allows an attacker to manipulate the FileName argument and inject arbitrary operating system commands. This vulnerability falls under command injection, as defined by CWE-77 and CWE-78, and could enable an adversary to execute commands with the privileges of the device process, compromising confidentiality, integrity, and availability of the router and any connected network.

Affected Systems

The Totolink N300RH router is affected. The firmware version 6.1c.1353_B20190305 contains the flaw. No other firmware versions or product families are listed in the data.

Risk and Exploitability

The CVSS base score of 6.9 indicates moderate severity, and the EPSS score is 1%. The vulnerability is not listed in CISA's KEV catalog. A proof‑of‑concept exploit is publicly available, and the attack vector is likely remote, inferred from the description that the flaw can be leveraged remotely. These factors increase the risk that the flaw could be exploited in the wild against exposed devices.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check the Totolink website or vendor support portal for a firmware update that addresses the setUpgradeUboot command injection flaw.
  • If a firmware update is available, apply it promptly to the N300RH router.
  • If no patch is released, restrict remote access to the router’s management interfaces, or block traffic to the upgrade.so endpoint using firewall or ACLs.
  • Disable or remove the remote firmware upgrade feature if it is not required.

Generated by OpenCVE AI on May 22, 2026 at 15:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Totolink n300rh
Vendors & Products Totolink n300rh
Type Values Removed Values Added
Description A flaw has been found in Totolink N300RH 6.1c.1353_B20190305. Affected is the function setUpgradeUboot of the file upgrade.so. This manipulation of the argument FileName causes os command injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.
Title Totolink N300RH upgrade.so setUpgradeUboot os command injection
First Time appeared Totolink
Totolink n300rh Firmware
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:o:totolink:n300rh_firmware:*:*:*:*:*:*:*:*
Vendors & Products Totolink
Totolink n300rh Firmware
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 16, 2026, 1:36 PM
Reserved
Apr 12, 2026, 6:06 PM
Status
Deferred
Published
Apr 13, 2026, 5:16 AM
Modified
Oct 26, 2026, 9:10 PM