RCE in Cloud Foundry Foundation Bosh
CVE-2026-41011
PackagePersister.validate_tgz builds "tar -tf #{tgz} 2>&1" where tgz = File.join(release_dir, 'packages', "#{name}.tgz") and name = package_meta['name'] comes directly from release.MF inside the uploaded tarball. The string is passed to Bosh::Common::Exec.sh, which executes via %x{} — i.e., /bin/sh -c. No Shellwords.escape is applied. The Models::Package Sequel validation (VALID_ID = /^[-0-9A-Za-z_+.]+$/i) would reject the name, but in create_package (lines 74–79) the shell-out in save_package_source_blob runs before package.save, so validation fires too late. Affected versions: - BOSH: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.001 (1.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Cloud Foundry Foundation Bosh — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-41011?
- CVE-2026-41011 is a high-severity vulnerability in Cloud Foundry Foundation Bosh, classified under OS Command Injection. CVSS score: 8.2/10. Published 2026-06-04.
- How severe is CVE-2026-41011?
- High severity. CVSS v3 base score is 8.2 out of 10.