---
id: CVE-2026-41857
title: >-
  A compromised or malicious BOSH Director can execute arbitrary shell commands
  on the operator's workstation when the operator runs bosh ssh (or bosh
  scp/bosh logs -f) with default flags.

  Affected versions: BOSH CLI versions prior to 7.10.5.
summary: >-
  A compromised or malicious BOSH Director can execute arbitrary shell commands
  on the operator's workstation when the operator runs bosh ssh (or bosh
  scp/bosh logs -f) with default flags.

  Affected versions: BOSH CLI versions prior to 7.10.5.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: cloudfoundry
product: bosh_cli
affected:
  - bosh_cli < 7.10.5
patched:
  - bosh_cli 7.10.5
published: '2026-07-09'
updated: '2026-07-13'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41857'
references:
  - url: 'https://www.cloudfoundry.org/blog/cve-2026-41857-bosh-cli-shell-injection/'
    label: security@vmware.com
tags:
  - nvd
epss: 0.00226
epssPercentile: 0.11858
ingestedAt: '2026-07-13T14:27:26.949Z'
---

## Overview

A compromised or malicious BOSH Director can execute arbitrary shell commands on the operator's workstation when the operator runs bosh ssh (or bosh scp/bosh logs -f) with default flags.
Affected versions: BOSH CLI versions prior to 7.10.5.

## Affected

- `bosh_cli < 7.10.5`

## Remediation

Upgrade past the affected range:

- `bosh_cli 7.10.5`
