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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position within Wi-Fi range of target
  2. Delivery
    Broadcast AP with malicious SSID
  3. Exploit
    Operator initiates Wi-Fi scan in bsdinstall/bsdconfig
  4. Execution
    Unquoted SSID expanded by shell
  5. Persist
    Injected commands run as root
  6. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeBSD 14.4-RELEASE <p5
FreeBSD 15.0-RELEASE <p9
FreeBSD 14.3-RELEASE <p14

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

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

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

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Medium
FreeBSD common in servers/appliances, but Wi-Fi install-scan path is niche
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

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-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

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-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

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

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