CVE-2026-47829: bosh-cli Argument Injection Leading to Local Command Execution
A flaw in bosh-cli versions before 7.10.4 allows an attacker who controls a BOSH Director to execute arbitrary commands on an operator's workstation. When an operator uses bosh-cli to interact with a compromised Director—via commands like `bosh ssh -c` or `bosh logs -f`—the attacker can inject malicious OpenSSH options that get passed to the local SSH process, resulting in command execution on the operator's machine. This is a local attack that requires the operator to actively run bosh-cli commands against a compromised Director, but it directly compromises the operator's workstation security.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.8 HIGH · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-88
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-09 / 2026-07-13
NVD description (verbatim)
Argument Injection in bosh-cli allows a compromised BOSH Director to inject arbitrary OpenSSH options into the locally-spawned ssh process when an operator runs bosh ssh -c, bosh logs -f, or other non-interactive SSH paths, leading to local command execution on the operator's workstation. Affected versions: bosh-cli versions prior to v7.10.4.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-47829 exploits insufficient input validation in bosh-cli's SSH command construction. When bosh-cli spawns SSH for non-interactive operations (remote command execution, log streaming), it does not properly sanitize OpenSSH arguments injected by a malicious BOSH Director. An attacker controlling the Director can craft responses that cause bosh-cli to pass attacker-controlled options to the local SSH binary. OpenSSH supports options like `-oProxyCommand=` and `-oLocalForward=` that enable arbitrary local command execution. The vulnerability exists in the argument-passing layer between bosh-cli and the system SSH process. Root cause is classified as CWE-88 (Argument Injection), indicating insufficient escaping or validation of untrusted input before constructing system commands.
Business impact
Operators managing Cloud Foundry deployments via BOSH are at direct risk of workstation compromise. If an operator's configured BOSH Director is compromised or an attacker gains network access to impersonate the Director, they gain the ability to execute commands with the operator's privileges on their local machine. This can lead to lateral movement within the operator's organization, theft of credentials, access to other infrastructure, and persistence mechanisms. The impact is amplified in environments where operators use shared or privileged credentials, or where workstations have access to sensitive systems (CI/CD, git repositories, production databases). Organizations should assess whether operators have recently connected to any BOSH Directors of unknown provenance.
Affected systems
bosh-cli versions prior to v7.10.4 are vulnerable. Organizations should audit deployments to identify which operator workstations are running affected versions. The vulnerability does not affect the BOSH Director server itself, nor does it require exploitation of the Director—rather, a compromised or untrusted Director becomes a vector for attacking operators' workstations. Any operator using bosh-cli to run remote commands or stream logs from a Director is potentially exposed.
Exploitability
Exploitation requires two conditions: (1) the operator must run a bosh-cli command that spawns SSH (bosh ssh -c, bosh logs -f, or similar non-interactive SSH operations), and (2) the target BOSH Director must be compromised or controlled by an attacker. The operator does not need to take any unusual action beyond normal BOSH operations; the attack is entirely driven by malicious responses from the Director. Once those conditions are met, arbitrary command execution on the operator's workstation follows reliably. No CISA KEV listing currently reflects known active exploitation, but the straightforward injection mechanism and high impact make this a priority target for attackers who gain Director access.
Remediation
Upgrade bosh-cli to version 7.10.4 or later. Organizations should identify all operator workstations running bosh-cli, verify their current versions, and prioritize upgrades in environments where BOSH Directors are accessible from less-trusted networks or where operators connect to multiple Directors. Additionally, apply zero-trust principles to BOSH Director infrastructure—ensure Director endpoints are authenticated and encrypted, and consider network segmentation to limit which workstations can reach Directors.
Patch guidance
Update bosh-cli to v7.10.4 or later. Verify the installed version on operator workstations by running `bosh --version`. Coordinate upgrades across the operator team, as multiple workstations may be affected. Review release notes for v7.10.4 to confirm the argument injection fix and check for any other relevant security improvements. Organizations using CI/CD pipelines or automation that invoke bosh-cli should also audit and upgrade those systems.
Detection guidance
Monitor for unexpected child processes spawned by the local SSH binary (`ssh` or `sshd`) on operator workstations, particularly those with suspicious command-line arguments or environment variables. Review SSH authentication logs for unusual activity or failed authentication attempts that may indicate exploitation attempts. On the BOSH Director side, log and alert on unusual responses or errors returned to bosh-cli clients, though detection is limited without client-side visibility. Endpoint detection and response (EDR) tools can flag suspicious SSH invocations with attacker-controlled options. Network monitoring of BOSH Director communications can identify unusual response patterns that may indicate an ongoing attack.
Why prioritize this
This vulnerability scores CVSS 7.8 (HIGH) due to the combination of high impact (command execution), low attack complexity, and lack of user interaction beyond normal operations. While it requires a compromised Director or network position, that attack surface exists in many enterprises. Operators who use bosh-cli are typically infrastructure personnel with elevated access, making their workstation compromise a high-risk event. Patch deployment should be urgent for any environment where BOSH Directors are accessible from networks with untrusted clients or where Director infrastructure has been under recent threat assessment.
Risk score, explained
CVSS 7.8 reflects: Attack Vector (Local—the operator must run bosh-cli locally), Attack Complexity (Low—straightforward injection), Privileges Required (None—standard operator permissions suffice), User Interaction (Required—operator must execute bosh-cli), Scope (Unchanged—impact is confined to the operator's workstation), and impact on Confidentiality, Integrity, and Availability (all High—arbitrary command execution). The 'Local' vector is slightly misleading in CVSS convention; the attack originates from a remote Directory but executes locally. The HIGH severity is appropriate because command execution on a privileged operator workstation has severe downstream consequences for infrastructure security.
Frequently asked questions
Does this affect the BOSH Director server or only operator workstations?
Only operator workstations running affected versions of bosh-cli are directly vulnerable. A compromised Director is the attack vector, but the vulnerability is in how bosh-cli processes responses from the Director. The Director itself is not directly exploited by this flaw.
If our BOSH Directors are air-gapped or on a private network, are we still at risk?
The risk is significantly reduced in air-gapped environments, but not eliminated. If a Director is compromised internally or if an operator ever connects to a Director on a less-trusted network, the vulnerability becomes exploitable. Additionally, supply-chain or insider threats could result in a malicious Director. Upgrading remains essential as a defense-in-depth measure.
What should we do immediately while we plan upgrades?
Prioritize identifying which workstations run bosh-cli and which versions are in use. If possible, restrict network access to BOSH Directors to a trusted set of operator workstations and networks. Brief operators on the issue and advise them to avoid running bosh-cli commands against unfamiliar or untrusted Directors. Schedule upgrades to v7.10.4 or later within your change management process; this is a high-priority security patch.
Are there any workarounds if we cannot upgrade immediately?
There is no fully safe workaround, but risk can be reduced by: (1) limiting operator network access to BOSH Directors, (2) using VPN or bastion hosts to mediate access, and (3) disabling non-essential bosh-cli features on operator workstations if feasible. However, these are temporary mitigations; upgrading is the definitive fix.
This analysis is provided for informational purposes and based on publicly available vulnerability data current as of the publication date. Organizations should verify all patch version numbers, affected product lists, and remediation steps against official vendor advisories and their own environment configuration. SEC.co makes no warranty regarding the completeness or timeliness of this analysis. Always consult with your internal security team and follow your organization's change management and risk assessment procedures before deploying patches. Exploitation details and proof-of-concept code are not included in this analysis. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2024-52011HIGHCommand Injection in launch-editor via Malicious Filenames on Windows
- CVE-2026-11332HIGHAnsible-Core Arbitrary Code Execution via Role Injection
- CVE-2026-12530HIGHAWS Bedrock AgentCore SDK Command Injection – Exploit Details & Patch Guidance
- CVE-2026-12856HIGHvscode-java JavaDoc Hover Command Injection Vulnerability
- CVE-2026-14459HIGHArgument Injection in pardus-software 1.0.4 – Upgrade to 1.0.5
- CVE-2026-41013HIGHCloud Foundry Diego SMB Mount Input Validation Bypass (CVSS 8.1)
- CVE-2026-44790HIGHn8n Git Node Command Injection – Patching Guidance
- CVE-2026-46529HIGHAtril Remote Code Execution via Malicious PDF Links