Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:A and AC:H for required Wi-Fi proximity and scan-window timing; PR:N as no auth is needed; UI:R because a local operator must actively trigger the scan; C/I/A:H for root code execution.
Primary rating from Vendor (freebsd).
CVSS VectorVendor: freebsd
Lifecycle Timeline
3DescriptionCVE.org
When bsdinstall or bsdconfig are prompted to scan for nearby Wi-Fi networks, they build up a list of network names and use bsddialog(1) to prompt the user to select a network. This is implemented using a shell script, and the code which handled network names was not careful to prevent expansion by the shell. As a result, a suitably crafted network name can be used to execute commands via a subshell.
The problem can be exploited to execute code as root on the system running bsdinstall or bsdconfig. The attacker would need to create an access point with a specially crafted name and be within range of a Wi-Fi scan. Note that bsdinstall and bsdconfig are vulnerable as soon as the user prompts them to scan for nearby networks; they do not need to actually select the malicious network.
AnalysisAI
Command injection in FreeBSD's bsdinstall(8) and bsdconfig(8) utilities allows an adjacent attacker to execute arbitrary code as root by broadcasting a Wi-Fi access point with a maliciously crafted SSID. The vulnerable shell script builds a network-selection menu without quoting network names, so a shell metacharacter-laden SSID is expanded and executed the moment an operator triggers a Wi-Fi scan - no need to select the rogue network. There is no public exploit identified at time of analysis, and the EPSS score is very low (0.03%), consistent with the CISA SSVC assessment of no observed exploitation.
Technical ContextAI
The flaw lives in the FreeBSD base-system shell scripts backing bsdinstall (the OS installer) and bsdconfig (post-install configuration), which use bsddialog(1) to render a menu of scanned Wi-Fi SSIDs. Because the code interpolates attacker-controlled network names into a shell context without proper quoting or sanitization, it is a classic CWE-78 OS Command Injection: unquoted 802.11 SSID strings undergo shell word-splitting and command substitution (e.g. via $(...) or backticks). The affected CPE is cpe:2.3:a:freebsd:freebsd, and since these utilities run with root privileges during install/configuration, injected commands inherit full root authority.
RemediationAI
Apply the vendor patch by updating to the fixed patch levels: FreeBSD 14.3-RELEASE-p14, 14.4-RELEASE-p5, or 15.0-RELEASE-p9 or later, using freebsd-update or a source rebuild as described in FreeBSD-SA-26:23.bsdinstall (https://security.freebsd.org/advisories/FreeBSD-SA-26:23.bsdinstall.asc). Where patching cannot be done immediately, the practical compensating control is to avoid using the Wi-Fi network-scan feature of bsdinstall/bsdconfig in untrusted RF environments - configure networking manually (wired connection or hand-entered SSID) rather than invoking the scan-and-select menu, since the injection triggers on scan alone; the trade-off is loss of the interactive scan convenience. Physically performing installation/configuration in an RF-controlled or shielded location where no rogue access points can be in range also neutralizes the adjacent attack vector.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) wa
The SCTP implementation in FreeBSD 8.2 allows remote attackers to cause a denial of service (NULL pointer dereference an
NFS in a BSD derived codebase, as used in OpenBSD through 7.4 and FreeBSD through 14.0-RELEASE, allows remote attackers
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31263
GHSA-qj4f-cpgw-vqx9