CVE-2026-107240: OS Command Injection
The Node.js web service on VOS (previously Versa FlexVNF) is used for URL-based Zero Touch Provisioning (ZTP) of the VOS appliance and is not required after provisioning is complete. The /authenticate endpoint of this service passes user-supplied username and password values to childprocess.exec() through a sanitizer (escapeRegExp) that removes regular expression metacharacters but not newline characters. An unauthenticated attacker can inject a newline character into the username field to execute arbitrary shell commands as the versa OS service user. No credentials are required; the attacker needs only a CSRF token, which can be obtained from an unauthenticated page load.
Versa’s security hardening guide for Hubs, Branches, and Controllers recommends disabling the Node.js web service after the initial provisioning of the VOS device. This vulnerability is not exploitable on VOS devices where the Node.js web service has been disabled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable the Node.js web service after initial provisioning of the VOS device.
VOS (previously Versa FlexVNF) Node.js web service = disabled
Event History
Frequently Asked Questions
Which VOS deployments are exposed to this issue?
Only VOS devices with the Node.js web service enabled are exposed. The service is used for URL-based Zero Touch Provisioning and is not required after provisioning is complete.
What does an attacker need to exploit the vulnerability?
The attacker does not need credentials. They need network access to the affected service and can obtain the required CSRF token from an unauthenticated page load, then inject a newline character through the username field.
What can be done if patching is not immediately possible?
Disable the Node.js web service after initial provisioning, as recommended in Versa’s security hardening guidance. Devices where this service is disabled are not exploitable through this vulnerability.