Skip to main content

FreeBSD CVE-2026-45255

| EUVDEUVD-2026-31263 HIGH
OS Command Injection (CWE-78)
2026-05-21 freebsd GHSA-qj4f-cpgw-vqx9
7.5
CVSS 3.1 · Vendor: freebsd
Share

Severity by source

Vendor (freebsd) PRIMARY
7.5 HIGH
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.1 HIGH

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.

3.1 AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:A/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (freebsd).

CVSS VectorVendor: freebsd

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Generated
Jul 23, 2026 - 17:31 vuln.today
CVE Published
May 21, 2026 - 09:27 nvd
UNKNOWN (no severity yet)
CVE Published
May 21, 2026 - 09:27 cve.org
HIGH 7.5

DescriptionCVE.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.

CVE-2012-0217 HIGH POC
7.2 Jun 12

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

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2013-4854 HIGH POC
7.8 Jul 29

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

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

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

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

CVE-2018-8897 HIGH POC
7.8 May 08

A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) wa

CVE-2012-3549 HIGH POC
7.8 Oct 09

The SCTP implementation in FreeBSD 8.2 allows remote attackers to cause a denial of service (NULL pointer dereference an

CVE-2024-29937 CRITICAL POC
9.8 Apr 11

NFS in a BSD derived codebase, as used in OpenBSD through 7.4 and FreeBSD through 14.0-RELEASE, allows remote attackers

Share

CVE-2026-45255 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy