# CVE-2026-41010: ReleaseJob#unpack builds jobdir = File.join(@releasedir, 'jobs', name) and jobtgz = File.join(@releasedir, 'jobs', "#{name}.tgz") where nam…

- Severity: High 8.7 (CVSS:4.0, scored by vmware) `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-04T02:27:26.690Z
- Modified: 2026-07-22T20:10:00.127Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: vmware

## 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

(As written by CVE List.)

## Affected

- Cloud Foundry Foundation BOSH Director: before 282.1.12

## Every score

- vmware: CVSS:4.0 8.7 High `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- vmware: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://www.cloudfoundry.org/blog/cve-2026-41010-release-job-name-command-injection-on-bosh-director/>

## Sources

- CVE List: [CVE-2026-41010](https://www.cve.org/CVERecord?id=CVE-2026-41010), CVE Terms of Use, modified 2026-06-04
- NVD: [CVE-2026-41010](https://nvd.nist.gov/vuln/detail/CVE-2026-41010), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-41010 · Whole record: https://cve.day/CVE-2026-41010.json · Rebuilt by cve.day 2026-11-25T22:59:23.679Z
