CVE-2026-41010 Command injection in BOSH Director
Attacker can execute arbitrary commands via shell metacharacters in job names within uploaded release tarballs in BOSH Director.
- 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-2026-41010?
CVE-2026-41010 is a high-severity command injection vulnerability in Cloud Foundry Foundation BOSH Director, published on 4 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
ReleaseJob#unpack builds job_dir = File.join(@release_dir, 'jobs', name) and job_tgz = File.join(@release_dir, 'jobs', "#{name}.tgz") where name returns @job_meta['name'], a value taken verbatim from the jobs: array of the attacker-supplied release.MF inside the uploaded tarball. These paths are then interpolated into a shell string: Bosh::Common::Exec.sh("tar -C #{job_dir} -xf #{job_tgz} 2>&1", :on_error => :return). Bosh::Common::Exec.sh executes via %x{#{command}} (bosh-common/lib/bosh/common/exec.rb:53), i.e. /bin/sh -c, so any shell metacharacters in name are interpreted. FileUtils.mkdir_p(job_dir) on line 49 creates the literal directory (no shell) and succeeds even when the name contains $()/;, so execution reaches the sh call.
Affected versions: - BOSH Director: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later
Weakness: CWE-78
Which versions are affected by CVE-2026-41010?
How do I fix CVE-2026-41010?
No fix has been published for CVE-2026-41010 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-41010 being exploited?
There is no known exploitation of CVE-2026-41010 in the wild and no public exploit code.
Sources
Also known as GHSA-gmvv-r68v-m7x9.