Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain BOSH release-upload credentials
-
DeliveryCraft tarball with shell metacharacters in release.MF package name
-
ExploitUpload release to Director API
-
ExecutionPackagePersister.validate_tgz interpolates name into tar command
-
Persist/bin/sh -c executes injected payload as Director account
-
ImpactHarvest deployment credentials and pivot to managed VMs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must possess BOSH credentials with authority to upload a release to the Director (a privileged operator role, reflected by CVSS PR:H), and must be able to deliver a tarball whose internal release.MF contains a |
| Impact | The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:H/UI:N) describes a local, high-complexity attack requiring high privileges and a present attack requirement, yielding 8.7 driven by high VC/VI/VA and scope-changed SC/SI/SA impacts - consistent with code execution on the BOSH Director, which then controls every deployment it manages. The PR:H rating is meaningful: an attacker already needs the ability to upload a BOSH release (typically a privileged operator role), so this is a privilege-escalation / tenant-isolation break rather than a perimeter RCE. No EPSS score, KEV listing, or POC was supplied, and the only reference is the vendor's own disclosure blog, so real-world exploitation pressure appears low today; however, the trust model of BOSH - where the Director is effectively root of the deployed estate - means a successful exploit is high-impact. AV:L conflicts somewhat with the typical remote-API upload path used to submit releases; defenders should verify with the Cloud Foundry advisory whether the vendor classifies the API channel as local. |
| Exploit ScenarioDerived | A malicious or compromised operator with release-upload privileges crafts a BOSH release tarball whose release.MF lists a package with a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 04, 2026
Command injection in Cloud Foundry BOSH versions prior to v282.1.12 allows an attacker who can upload a release tarball to execute arbitrary shell commands on the BOSH Director host by embedding shell metacharacters in the package name field of the release.MF manifest. The flaw stems from PackagePersister.validate_tgz interpolating the unsanitized name into a tar -tf invocation executed through /bin/sh -c, with model-level validation occurring only after the shell-out. No public exploit identified at time of analysis, and the bug is not listed in CISA KEV.
Earlier versions of this analysis (2)
OS command injection in Cloud Foundry BOSH (all versions prior to v282.1.12) allows an authenticated release uploader to execute arbitrary shell commands on the BOSH Director by embedding shell metacharacters in the package name field of release.MF. Because the unescaped name is interpolated into a tar -tf command run via /bin/sh -c before Sequel model validation rejects the malformed identifier, the injection fires during release upload. No public exploit identified at time of analysis, and the issue is not on the CISA KEV list.
Command injection in Cloud Foundry BOSH director (versions prior to v282.1.12) allows an authenticated user uploading a release tarball to execute arbitrary shell commands on the BOSH director host via a malicious package name in release.MF. The flaw stems from unescaped interpolation of attacker-controlled input into a shell command executed before Sequel model validation runs. No public exploit identified at time of analysis, but the bug is well-documented by the upstream Cloud Foundry advisory and the root cause is straightforward to reproduce.
RemediationAI
Vendor-released patch: BOSH v282.1.12 - upgrade the BOSH Director to v282.1.12 or later as the primary fix, per the Cloud Foundry advisory at https://www.cloudfoundry.org/blog/cve-2026-41011-package-name-command-injection/. Until upgrade is possible, restrict who can upload BOSH releases by tightening UAA scopes and team membership so only fully trusted operators hold bosh.releases.upload / admin authority, and gate uploads through an out-of-band review that inspects release.MF for shell metacharacters in package name fields before the tarball reaches the Director; both controls slow legitimate release workflows and are not a substitute for patching. Monitor Director audit logs for unexpected child processes spawned under the tar -tf code path as a detective control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
BOSH is the Cloud Foundry Foundation's release engineering, deployment, and lifecycle management tool used to deploy and manage distributed systems such as Cloud Foundry itself. The defect is a classic CWE-78 (OS Command Injection): the Ruby helper Bosh::Common::Exec.sh wraps %x{...}, which spawns /bin/sh -c, and PackagePersister.validate_tgz constructs the command string with raw interpolation of package_meta['name'] taken straight from the user-supplied release.MF inside the uploaded tarball. Although Models::Package defines VALID_ID = /^[-0-9A-Za-z_+.]+$/i to reject dangerous names, create_package (lines 74-79) invokes save_package_source_blob - which triggers the shell-out - before package.save runs validation, so Sequel's check never fires in time to block injection. Shellwords.escape is also not applied.
Know when Bosh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (vmware) · only source for this CVE.
CVSS VectorVendor: vmware
Lifecycle Timeline
4DescriptionCVE.org
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
Executive ViewAI
Cloud Foundry BOSH versions before v282.1.12 contain a command injection vulnerability in release package validation that permits remote code execution on the BOSH Director host; no public exploit has been identified to date. Organizations using BOSH face direct risk of infrastructure platform compromise if release tarballs can be uploaded by insufficiently trusted parties.
No vendor-released patch identified at time of analysis. Restrict release tarball uploads to authenticated administrative personnel only; mandate code review and validation of release manifest files, particularly the package name field, before processing; monitor BOSH Director logs for unexpected shell command invocations; consider network isolation of BOSH Directors from untrusted networks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Related Vulnerabilities in BOSH Ecosystem Cryptographic and Injection Flaws
View all 4An issue was discovered in Cloud Foundry Foundation BOSH Release 261.x versions prior to 261.3 and all 260.x versions. R
Cloud Foundry BOSH, versions v264 prior to v264.14.0 and v265 prior to v265.7.0 and v266 prior to v266.8.0 and v267 prio
Cloud Foundry BOSH 270.x versions prior to v270.1.1, contain a BOSH Director that does not properly redact credentials w
Arbitrary blobstore deletion in BOSH Director allows a compromised, high-privileged BOSH-managed VM to delete any object
Path traversal in BOSH Director allows a compromised BOSH agent to cause the Director to read and delete arbitrary files
EUVD-2026-34197
GHSA-96vc-39m3-22w5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB