OS command injection in the FluxionNetwork Fluxion target scanner enables root command execution

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-125399?

CVE-2026-125399 is a vulnerability classified as Improper Neutralization of Special Elements used in an OS Command, affecting fluxion (affected versions: < 6.39). This vulnerability is rated High, with a CVSS score of 8.6. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Fluxion before 6.39 contains an OS command injection vulnerability in the fluxion.sh target scanner, which decodes access point ESSIDs with eval after escaping only single quotes. Attackers within Wi-Fi range can broadcast an access point with a crafted SSID to execute commands as root when the operator scans or selects it.

Affected products and scope

  • FluxionNetwork Fluxion: versions 0 through less than 6.39 are affected.
  • The vendor's 6.39 release contains the relevant fix for ESSID decoding and unsafe SSID use sites.
  • The status of versions after 6.39 or parallel branches has not been independently verified from the supplied evidence; exposure should not be inferred beyond the stated boundaries.

Technical details

This is a CWE-78 vulnerability in the fluxion.sh target scanner. The scanner parses access-point records produced by airodump-ng to obtain ESSIDs. Before the fix, it escaped only pre-existing single quotes and then passed the ESSID through eval with Bash ANSI-C quoting, allowing an attacker-controlled SSID to break out of the quoting context and inject shell syntax. Exploitation requires a nearby access point to broadcast a crafted SSID while Fluxion is scanning targets, and the program is operated with root privileges. The fix replaces the eval-based decoding in fluxion_get_target() with non-evaluating decoding using printf -v %b, and also handles control bytes and SSID normalization more safely. The same patch hardens additional ESSID sinks in the Captive Portal, but the available evidence does not establish whether every additional sink is separately within this record's scope.

Exploitability

The attacker must be within Wi-Fi range to broadcast an access point with a crafted SSID, but does not need authentication or prior privileges on the target host. The supplied record describes the attack as requiring no additional condition beyond proximity and the crafted wireless identifier. In practical terms, an operator must run Fluxion's target-scanning workflow; the vendor fix states that command execution could occur during a routine scan before a target was selected. The supplied record does not mark a public exploit, and confirmed exploitation status is not established. No specific exploit code, campaign, victim, or IOC is identified in the available evidence.

Technical impact

The direct technical outcome is execution of attacker-controlled commands on the host running Fluxion, with root privileges as described by the record. This could allow local data to be read, modified, or deleted; configuration and tooling to be changed; persistence mechanisms to be installed; or services on that host to be disrupted. The established scope is the system running Fluxion, and the evidence does not show automatic spread to other systems. Exploitation still depends on Fluxion performing target scanning, although the fix indicates that the operator does not necessarily need to select a particular target first.

Business impact

An attacker who can influence nearby Wi-Fi beacons may be able to control the machine running Fluxion with the scanner's effective authority, which the record identifies as root. Possible consequences include exposure of local data or credentials, modification of assessment tooling or system configuration, and disruption of the host. These are possible consequences of root command execution, not confirmed incidents. The evidence establishes impact to the Fluxion host but does not establish compromise of other systems or a particular breach.

Remediation

  1. Upgrade Fluxion to 6.39, the vendor release associated with the fix.
  2. If deploying from a source checkout, apply the vendor patch rather than copying only part of the change. Confirm that fluxion_get_target() no longer decodes ESSIDs through eval and that the related SSID sinks are hardened.
  3. If patching is not immediately possible, treat hosts running affected versions as exposed and, where operationally feasible, avoid using the target scanner on untrusted nearby networks. This is a temporary risk-reduction measure, not a vendor-confirmed workaround.
  4. After updating, restart or redeploy the exact checkout used by operators, then recheck the installation path and version to ensure an older copy is not still being executed.
  5. Do not assume that every unverified branch or release is safe merely because one specific release contains the fix.

Detection

  1. Inventory hosts, source checkouts, and installations running Fluxion, with particular attention to systems used for wireless target scanning.
  2. Inspect fluxion.sh, fluxion_get_target(), and the ESSID processing path for data passed to eval after only single-quote escaping. The fixed implementation should decode ESSIDs without re-evaluating them as shell input.
  3. Review audit logs or process telemetry around scan activity for unexpected shell processes or child commands created by a root-running Fluxion process. This is precautionary monitoring, not a confirmed IOC.
  4. Review shell history, privileged-execution logs, and unexpected changes to system configuration, assessment tooling, or Fluxion workspace data occurring during or shortly after scans.
  5. Do not treat the absence of suspicious logs or processes as proof of safety; the available evidence does not define a required log event or complete IOC set.
Sources (15)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.