CVE-2026-41857 BOSH CLI Shell Injection

High 7.1 Published Updated

A malicious BOSH Director can execute arbitrary shell commands on an operator's workstation when they run standard CLI commands like ssh or logs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-41857?

CVE-2026-41857 is a high-severity command injection vulnerability in CloudFoundry BOSH BOSH CLI, published on 9 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A compromised or malicious BOSH Director can execute arbitrary shell commands on the operator's workstation when the operator runs bosh ssh (or bosh scp/bosh logs -f) with default flags. Affected versions: BOSH CLI versions prior to 7.10.5.

Weakness: CWE-78

Which versions are affected by CVE-2026-41857?

It affects 1 product.

Products include Cloudfoundry Bosh Cli.

How do I fix CVE-2026-41857?

No fix has been published for CVE-2026-41857 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-2026-41857 being exploited?

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

Sources

Also known as GHSA-xf9x-r7gm-j3j6.

Is CVE-2026-41857 in your software?

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

Check your SBOMs for free