---
id: CVE-2026-71926
title: >-
  Multiple DrayTek VigorSwitch models contain a command injection vulnerability
  in the setDevice function
summary: >-
  Multiple DrayTek VigorSwitch models contain a command injection vulnerability
  in the setDevice function. The vulnerability is caused by insufficient
  sanitization of the username, password, and location fields before command
  execution. A …
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-08-24'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T22:10:00.247'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71926'
references:
  - url: >-
      https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/draytek-vigorswitch-multiple-models-os-command-injection-via-setdevice
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.02265
epssPercentile: 0.82542
ingestedAt: '2026-10-12T23:07:25.621Z'
---

## Overview

Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the setDevice function. The vulnerability is caused by insufficient sanitization of the username, password, and location fields before command execution. A remote attacker can trigger this vulnerability via crafted input to execute arbitrary commands with root privileges. Exploitation requires valid administrative credentials for the device's web management interface.

## Remediation

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