Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition within Wi-Fi range of target
-
DeliveryBroadcast AP with malicious SSID
-
ExploitOperator initiates Wi-Fi scan in bsdinstall/bsdconfig
-
ExecutionUnquoted SSID expanded by shell
-
PersistInjected commands run as root
-
ImpactFull system compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to be within 802.11 range of the target and to operate a rogue access point whose SSID contains shell metacharacters; the injection fires when an operator invokes the 'scan for nearby Wi-Fi networks' function of bsdinstall or bsdconfig on an unpatched FreeBSD 14.3/14.4/15.0 system. Limiting factors: the vector is Adjacent (AV:A), not remote over the internet; a legitimate user must actively initiate the Wi-Fi scan (effective user interaction, even though the CVSS vector lists UI:N); attack complexity is High due to the proximity and timing requirements; and only the interactive network-scan code path is affected. Notably, the victim does NOT need to select the malicious network - merely scanning is sufficient. |
| Impact | The signals are consistent and point to a serious-but-narrow threat. The CVSS 3.1 vector (AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, 7.5) reflects unauthenticated adjacent access with high attack complexity and total CIA impact, matching the SSVC read of Technical Impact = total but Automatable = no and Exploitation = none. EPSS is negligible (0.03%, 8th percentile), it is not on CISA KEV, and no POC is referenced - so this is a real code-execution bug but a low-likelihood, opportunistic one rather than a mass-exploitation priority. One tension worth flagging: the official vector uses UI:N, yet the description makes clear a victim must actively invoke a Wi-Fi scan, which is genuine required user interaction (UI:R) and further limits real-world exploitability; the AC:H rating captures the need for physical proximity and precise timing during that scan window. |
| Exploit ScenarioDerived | An attacker within Wi-Fi range of a machine being installed or reconfigured stands up a rogue access point whose SSID embeds shell command-substitution syntax. When the operator opens bsdinstall or bsdconfig and asks it to scan for nearby networks, the crafted SSID is parsed by the vulnerable shell script and the embedded commands execute as root - the operator never has to select the malicious network. No public exploit code is currently known, and the AV:A/AC:H profile means the attacker needs proximity and correct timing during the scan. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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.
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.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Freebsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
2DescriptionCVE.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.
Executive ViewAI
A command injection vulnerability in FreeBSD's bsdinstall and bsdconfig utilities enables adjacent network attackers to seize root-level control during system deployment through a rogue Wi-Fi access point. Organizations purchasing or deploying FreeBSD servers face a window of vulnerability if system administrators conduct installations on networks accessible to attackers who can broadcast malicious wireless signals.
No vendor-released patch identified at time of analysis. Interim mitigations include: disabling Wi-Fi and network scanning during bsdinstall execution, air-gapping installation systems from adjacent networks, restricting physical proximity during deployments, using hardwired Ethernet connections exclusively, and transitioning post-installation configuration to configuration management tools rather than interactive bsdconfig use.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
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
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
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
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
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
EUVD-2026-31263
GHSA-qj4f-cpgw-vqx9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB