OS command injection in Cloud Foundry Foundation BOSH
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Cloud Foundry Foundation | BOSH | before 282.1.12 | 282.1.12 | Patch available | CNA |
- BOSH VendorCloud Foundry Foundation Affected before 282.1.12 Fixed in 282.1.12 Patch available CNA
Remediation
- Fix · CNA BOSH (Cloud Foundry Foundation) Fixed in 282.1.12
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41011
- 2026-10-03 Alias added: GHSA-96vc-39m3-22w5
More Cloud Foundry Foundation vulnerabilities
- TI-2026-29616 Information disclosure in Cloud Foundry Foundation uaa_release CVSS 4.0CRITICAL 10.0
- TI-2026-35291 Federated OIDC Users Can Bypass externalGroupsWhitelist to Gain uaa.admin CVSS 4.0CRITICAL 9.2
- TI-2026-29615 Improper authentication in Cloud Foundry Foundation log-cache_release CVSS 3.1HIGH 7.5
- TI-2026-35283 Incorrect Permission Assignment Allows Local Privilege Escalation to SYSTEM via Executable Overwrite CVSS 4.0HIGH 8.5
- TI-2026-35280 CVE-2026-47827 – BOSH CLI Powershell Injection CVSS 3.1HIGH 7.5
- TI-2026-29661 OS command injection in Cloud Foundry Foundation BOSH Director CVSS 4.0HIGH 8.7
Sources
- CVE-2026-41011 · CVE Program
- CVE-2026-41011 · NVD
- FIRST EPSS
- GHSA-96vc-39m3-22w5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences