CVE-2025-23170 Command injection in Director

Medium 6.7 Published Updated

Attackers can execute arbitrary commands on Versa Director via command injection in the Shell-In-A-Box feature, requiring an upgrade to remediate.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-23170?

CVE-2025-23170 is a medium-severity command injection vulnerability in Versa Director, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The Versa Director SD-WAN orchestration platform includes functionality to initiate SSH sessions to remote CPEs and the Director shell via Shell-In-A-Box. The underlying Python script, shell-connect.py, is vulnerable to command injection through the user argument. This allows an attacker to execute arbitrary commands on the system. Exploitation Status: Versa Networks is not aware of any reported instance where this vulnerability was exploited. Proof of concept for this vulnerability has been disclosed by third party security researchers. Workarounds or Mitigation: There are no workarounds to disable the GUI option. Versa recommends that Director be upgraded to one of the remediated software versions.

Weakness: CWE-77

Which versions are affected by CVE-2025-23170?

It affects 1 product.

Products include Versa-Networks Versa Director.

How do I fix CVE-2025-23170?

No fix has been published for CVE-2025-23170 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-23170 being exploited?

There is no known exploitation of CVE-2025-23170 in the wild and no public exploit code.

Sources

Also known as GHSA-6hw8-whvq-hmwp.

Is CVE-2025-23170 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free