External risk intelligence

Versa OS ZTP Service Command Injection

CVE advisorySeverity: CRITICAL (CVSS 9.6)

CVE-2026-107240

The vulnerability exists in a web service used for Zero Touch Provisioning on network appliances. While intended for initial setup and recommended to be disabled post-provisioning, such management and provisioning services are often exposed or reachable on edge devices and gateways, making them a common target for remote, network-based access in many real-world infrastructure deployments.

OS Command Injection

Versa Networks Versa Operating System

21.1.1 to 21.2.323.1.0 to before 23.1.222.1.222.1.322.1.423.1.2

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability in the Node.js web service of Versa Operating System could allow an unauthenticated attacker to execute arbitrary shell commands. This service is used for initial device provisioning and is recommended to be disabled after setup. If the service remains active, an attacker could potentially compromise the device.

  • An unauthenticated attacker can run commands on the device.
  • This affects devices where the provisioning service is still active.
  • Confirm if the provisioning service is disabled on your appliances.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by first obtaining a CSRF token through an unauthenticated page load, which provides them with the necessary access to interact with the Node.js web service. This service, used for initial device provisioning, exposes an /authenticate endpoint. By injecting a newline character into the username field, the attacker can bypass a sanitizer and trick the system into executing arbitrary shell commands as the operating system's service user, potentially leading to a complete compromise of the device.

  • Entry condition: Attacker obtains CSRF token.
  • Trigger point: Inject newline into username at /authenticate.
  • Resulting risk: Arbitrary command execution.

Live Threat

Current exploitation, exposure, and threat context

The Node.js web service, used for initial device provisioning, could allow an attacker to execute arbitrary shell commands on the VOS appliance. This is possible when the service is enabled and the attacker can obtain a CSRF token, which may be accessible from an unauthenticated page load.

  • System commands on VOS appliance.
  • Injecting newline into username field.
  • Unauthorized command execution as service user.

Operational Fix

Recommended remediation, mitigation, and detection steps

The Node.js web service on VOS appliances, used for initial Zero Touch Provisioning, presents a critical risk if not disabled post-setup. System and infrastructure owners must identify these services, confirm their reachability and business criticality, and then plan remediation.

  • Identify VOS appliances with active ZTP services.
  • Verify if Node.js web service is disabled.
  • Remediate or disable Node.js service risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the Versa Operating System ZTP service?

The Versa Operating System (VOS), formerly known as Versa FlexVNF, is software running on network appliances. It includes a Node.js web service specifically designed for Zero Touch Provisioning (ZTP). This utility streamlines the initial deployment and setup of new hardware in a network. Crucially, this service is intended for temporary use during the provisioning phase and is not required for normal device operations once initial configuration is complete.

What is the weakness in CVE-2026-107240?

This vulnerability is classified as CWE-78, which refers to OS Command Injection. In this instance, the software fails to properly filter input at the /authenticate endpoint. Although the system uses a sanitizer to block certain characters, it does not account for newline characters. An attacker can use these characters to break out of the intended input field and append their own system commands, which the VOS appliance then executes with the permissions of the service user.

How does an attacker trigger this command injection?

An attacker needs two preconditions to trigger the flaw. First, they must obtain a CSRF token, which is accessible via an unauthenticated page load on the device. Once they have this token, they can send a request to the /authenticate endpoint with a specially crafted username field containing a newline character. The issue does not occur if the Node.js web service is already disabled, as the vulnerable code path would be inactive and unreachable.

Is my device at risk based on Halo Surface Signal?

According to Halo Surface Signal, this vulnerability is classified as 'Likely' to be reachable. While the service is meant for initial setup, management and provisioning tools on edge devices or gateways are frequently exposed to network access in many infrastructure environments. If your VOS appliance is reachable over the network and the ZTP service remains enabled post-provisioning, the device is considered exposed to potential remote interaction.

How should I respond to CVE-2026-107240?

The primary response is to verify the status of the Node.js web service on your VOS appliances. Consult your security hardening documentation to confirm whether the service is enabled. If it is still running, you should follow the recommended procedure to disable it, as it is unnecessary once provisioning is finished. Prioritize identifying and securing any devices that have this service active and reachable from the network.

References