The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45255

CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw

CVE-2026-45255 is a remote code execution vulnerability in FreeBSD bsdinstall and bsdconfig tools that allows attackers to execute commands as root via malicious Wi-Fi network names. This article covers technical details, impact, and mitigation.

Published: May 21, 2026

CVE-2026-45255 Overview

CVE-2026-45255 is a command injection vulnerability [CWE-78] in the FreeBSD bsdinstall and bsdconfig utilities. The flaw resides in the shell script that processes Wi-Fi network names returned by a wireless scan. The script passes scanned SSID strings to bsddialog(1) without preventing shell expansion. An attacker within Wi-Fi range can broadcast an access point with a specially crafted SSID to execute arbitrary commands as root on the scanning host. The target system becomes vulnerable the moment a user initiates a Wi-Fi scan, even if the malicious network is never selected.

Critical Impact

A nearby attacker broadcasting a malicious SSID can achieve root code execution on any FreeBSD system running bsdinstall or bsdconfig during a Wi-Fi scan.

Affected Products

  • FreeBSD bsdinstall utility
  • FreeBSD bsdconfig utility
  • FreeBSD operating system distributions shipping the vulnerable installer scripts

Discovery Timeline

  • 2026-05-21 - CVE-2026-45255 published to NVD
  • 2026-05-21 - Last updated in NVD database

Technical Details for CVE-2026-45255

Vulnerability Analysis

The vulnerability lives in shell script logic that builds a network selection menu after a Wi-Fi scan. The script collects SSIDs from the wireless interface and concatenates them into command arguments passed to bsddialog(1). Because the script does not quote or sanitize these values, the shell evaluates metacharacters within the SSID. An SSID containing a command substitution sequence such as backticks or $(...) triggers a subshell that runs attacker-controlled commands. The scanning process executes as root during installation or system configuration, so injected commands inherit full privileges.

Exploitation requires no user interaction beyond initiating the network scan. The vulnerable code path runs before any network is selected, meaning passive enumeration is sufficient to trigger execution. This pre-authentication, pre-association attack model removes the usual barriers that protect Wi-Fi clients.

Root Cause

The root cause is improper neutralization of special elements in an OS command [CWE-78]. SSID strings flow from untrusted radio input into a shell context without being quoted or filtered. Shell word splitting and command substitution then transform attacker data into executable code.

Attack Vector

An attacker configures a rogue access point with an SSID that embeds shell metacharacters and a payload. The attacker positions the access point within radio range of a FreeBSD host. When an administrator launches bsdinstall or bsdconfig and selects the Wi-Fi scan option, the malicious SSID is read, expanded by the shell, and the payload runs as root.

No verified exploit code is published. The mechanism is described in the FreeBSD Security Advisory.

Detection Methods for CVE-2026-45255

Indicators of Compromise

  • Unexpected child processes spawned by bsdinstall or bsdconfig during or immediately after a Wi-Fi scan.
  • Shell processes executing with root privileges that originate from installer or configuration utilities.
  • Outbound network connections, new user accounts, or modified system files appearing shortly after a wireless scan on a FreeBSD host.

Detection Strategies

  • Monitor process ancestry for sh or other interpreter children launched by bsdinstall, bsdconfig, or bsddialog outside expected workflows.
  • Audit shell command history and /var/log entries on FreeBSD hosts that recently performed wireless scans during installation or configuration.
  • Inspect nearby Wi-Fi environments for SSIDs containing shell metacharacters such as backticks, $(, ;, or |.

Monitoring Recommendations

  • Enable verbose process auditing on FreeBSD systems using auditd with rules covering installer utilities.
  • Forward installer and shell execution events to a centralized logging platform for correlation across hosts.
  • Alert on any execution of bsdinstall or bsdconfig on production systems, where these tools should rarely run.

How to Mitigate CVE-2026-45255

Immediate Actions Required

  • Apply the patched bsdinstall and bsdconfig scripts from the FreeBSD Security Advisory on all FreeBSD systems.
  • Avoid initiating Wi-Fi scans from bsdinstall or bsdconfig on unpatched systems, particularly in untrusted radio environments.
  • Perform FreeBSD installations using wired connections until the patch is applied.

Patch Information

FreeBSD has issued advisory FreeBSD-SA-26:23.bsdinstall with corrected shell scripts that properly quote SSID values before passing them to bsddialog(1). Administrators should apply the binary patch using freebsd-update or rebuild affected components from the patched source tree.

Workarounds

  • Disable or remove the Wi-Fi scan option in installer workflows until patches are deployed.
  • Use a wired Ethernet connection during installation and initial configuration to bypass the vulnerable code path.
  • Operate FreeBSD installation media in physically controlled environments away from untrusted wireless networks.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFreebsd

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-78
  • Technical References
  • FreeBSD Security Advisory
  • Related CVEs
  • CVE-2026-4747: FreeBSD RPCSEC_GSS RCE Vulnerability

  • CVE-2024-29937: FreeBSD NFS RCE Vulnerability

  • CVE-2022-23088: FreeBSD Wi-Fi RCE Vulnerability

  • CVE-2024-7589: FreeBSD OpenSSH RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English