CVE-2026-107240 is a critical OS command injection flaw in the Node.js Zero Touch Provisioning web service on Versa VOS. An unauthenticated attacker can use it to run shell commands as the versa OS service user.
What Is It
VOS, formerly Versa FlexVNF, includes a Node.js web service for URL-based Zero Touch Provisioning (ZTP). The service is not needed once provisioning is complete. Its /authenticate endpoint passes the username and password a user submits to child_process.exec(). Before that, the values go through a sanitizer (escapeRegExp) that removes regular expression metacharacters but leaves newline characters in place.
An attacker can put a newline in the username field to run arbitrary shell commands as the versa OS service user. No credentials are needed. The attacker only needs a CSRF token, and an unauthenticated page load provides one. The weakness is classified as CWE-78 (OS Command Injection).
Why It Matters
NVD scores this flaw 9.6 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H): network attack vector, low complexity, no privileges required, user interaction required, changed scope, and high impact to confidentiality, integrity and availability. The CNA (HackerOne) gives a lower score of 7.6 HIGH under CVSS 3.0, rating attack complexity as high and privileges required as high.
This CVE is not in the CISA Known Exploited Vulnerabilities catalog, so KEV does not confirm active exploitation. The CISA Coordinator SSVC assessment lists exploitation as "none", automatable as "no", and technical impact as "total".
What's Vulnerable
According to the CNA data, these Versa VOS versions are affected:
- 21.1.1 through 21.2.3
- 22.1.2, 22.1.3 and 22.1.4 without the July-2-2026 Hotfix
- 23.1.2 without the Aug-3-2026 Hotfix
The flaw cannot be exploited on VOS devices where the Node.js web service has been disabled.
Patch Status
Versa lists these hotfixed builds as unaffected:
- 22.1.2 July-2-2026-Hotfix
- 22.1.3 July-2-2026-Hotfix
- 22.1.4 July-2-2026-Hotfix
- 23.1.2 Aug-3-2026-Hotfix
The source data does not list a hotfix for the 21.1.1–21.2.3 range.
Versa's security hardening guide for Hubs, Branches and Controllers recommends disabling the Node.js web service after a VOS device's initial provisioning. That setting also prevents this attack. Administrators should apply the relevant hotfix and confirm the ZTP web service is disabled on devices that are already provisioned. Full remediation guidance is in Versa's advisory.