BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-38034 in Ui Unifi Switch Firmware and 46 more products

Critical 9.8

A command injection vulnerability in the DHCP Client function of all UniFi Access Points and Switches, excluding the Switch Flex Mini, could allow a Remote Code Execution (RCE). Affected Products: All UniFi Access Points (Version 6.5.53 and earlier) All UniFi Switches (Version 6.5.32 and earlier) -USW Flex Mini ...

Affects 47 products from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS2.0%
EPSS percentile82th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Ui Unifi Switch Firmware ≤ 6.5.32
Ui Unifi Uap Firmware ≤ 6.5.53

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Ui U6-Enterprise, Ui U6-Enterprise-Iw, Ui U6-Extender, Ui U6-Iw, Ui U6-Lite, Ui U6-Lr, Ui U6-Mesh, Ui U6-Pro, Ui Uap-Ac-Iw, Ui Uap-Ac-Lite, Ui Uap-Ac-Lr, Ui Uap-Ac-M, Ui Uap-Ac-M-Pro, Ui Uap-Ac-Pro, Ui Ubb, Ui Ubb-Xg, Ui Uwb-Xg, Ui Us-16-150W, Ui Us-24-250W, Ui Us-48-500W, Ui Us-8-150W, Ui Us-8-60W, Ui Us-Xg-6Poe, Ui Usw-16-Poe, Ui Usw-24, Ui Usw-24-Poe, Ui Usw-48, Ui Usw-48-Poe, Ui Usw-Aggregation, Ui Usw-Enterprise-24-Poe, Ui Usw-Enterprise-48-Poe, Ui Usw-Enterprise-8-Poe, Ui Usw-Enterprisexg-24, Ui Usw-Flex, Ui Usw-Flex-Xg, Ui Usw-Industrial, Ui Usw-Lite-16-Poe, Ui Usw-Lite-8-Poe, Ui Usw-Mission-Critical, Ui Usw-Pro-24, Ui Usw-Pro-24-Poe, Ui Usw-Pro-48, Ui Usw-Pro-48-Poe, Ui Usw-Pro-Aggregation, Ui U6+

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

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A command injection vulnerability in the DHCP Client function of all UniFi Access Points and Switches, excluding the Switch Flex Mini, could allow a Remote Code Execution (RCE). Affected Products: All UniFi Access Points (Version 6.5.53 and earlier) All UniFi Switches (Version 6.5.32 and earlier) -USW Flex Mini excluded. Mitigation: Update UniFi Access Points to Version 6.5.62 or later. Update UniFi Switches to Version 6.5.59 or later.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-38034
BreachSpider IDBS-2023-GLOBAL-005990-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-08-10
Last modified2026-11-10
Weakness (CWE)
SourceNVD

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

A critical command injection vulnerability in the DHCP Client function of UniFi Access Points and Switches could lead to Remote Code Execution (RCE). This affects all versions prior to 6.5.62 for Access Points and 6.5.32 for Switches, excluding the USW Flex Mini.

An attacker could exploit this vulnerability by injecting malicious commands into the DHCP Client function, potentially leading to full control of the affected devices.

Questions

What is CVE-2023-38034?

A critical command injection vulnerability in the DHCP Client function of UniFi Access Points and Switches could lead to Remote Code Execution (RCE). This affects all versions prior to 6.5.62 for Access Points and 6.5.32 for Switches, excluding the USW Flex Mini.

What is the CVSS score for CVE-2023-38034?

CVE-2023-38034 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.0%.

Is CVE-2023-38034 actively exploited?

No confirmed active exploitation of CVE-2023-38034 as of 2026-11-11.

How do I remediate CVE-2023-38034?

Priority: IMMEDIATE. Advisory: https://community.ui.com/releases/Security-Advisory-Bulletin-035-035/91107858-9884-44df-b1c6-63c6499f6e56 PSIRT: [email protected]

What systems are affected by CVE-2023-38034?

CVE-2023-38034 affects Ui Unifi Switch, Unifi Uap.

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":"Ui","product":"Unifi Switch Firmware","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-10.