Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

CVE-2026-41010: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Cloud Foundry Foundation BOSH Director

0
High
VulnerabilityCVE-2026-41010cvecve-2026-41010cwe-78
Published: 06/04/2026 (06/04/2026, 02:27:26 UTC)
Source: CVE Database V5
Vendor/Project: Cloud Foundry Foundation
Product: BOSH Director

Description

ReleaseJob#unpack builds job_dir = File.join(@release_dir, 'jobs', name) and job_tgz = File.join(@release_dir, 'jobs', "#{name}.tgz") where name returns @job_meta['name'], a value taken verbatim from the jobs: array of the attacker-supplied release.MF inside the uploaded tarball. These paths are then interpolated into a shell string: Bosh::Common::Exec.sh("tar -C #{job_dir} -xf #{job_tgz} 2>&1", :on_error => :return). Bosh::Common::Exec.sh executes via %x{#{command}} (bosh-common/lib/bosh/common/exec.rb:53), i.e. /bin/sh -c, so any shell metacharacters in name are interpreted. FileUtils.mkdir_p(job_dir) on line 49 creates the literal directory (no shell) and succeeds even when the name contains $()/;, so execution reaches the sh call. Affected versions: - BOSH Director: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later

CVSS v4.0

Score 8.7high

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
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

Affected software

GitHub Actionsmore threats →ai
cloudfoundry/bosh
pkg:github/cloudfoundry/bosh
Affected versions
<282.1.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/11/2026, 08:46:20 UTC

Technical Analysis

The vulnerability occurs in the ReleaseJob#unpack method of BOSH Director, where the job directory and tarball paths are constructed using the job name extracted verbatim from the attacker-supplied release.MF file inside an uploaded tarball. These paths are then interpolated into a shell command executed via /bin/sh -c, enabling shell metacharacter interpretation and potential command injection. The directory creation step uses FileUtils.mkdir_p, which does not invoke a shell and succeeds even with malicious characters, allowing the exploit to reach the shell execution step. Versions prior to v282.1.12 are affected, with the issue fixed in v282.1.12 and later.

Potential Impact

An attacker with the ability to upload a release tarball containing a crafted release.MF file can execute arbitrary OS commands with the privileges of the BOSH Director process. This can lead to unauthorized command execution, potentially compromising the host system and affecting the integrity and availability of the BOSH Director environment.

Mitigation Recommendations

A fix is available in BOSH Director version v282.1.12 and later. Users should upgrade to v282.1.12 or a more recent version to remediate this vulnerability. No additional mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-04-16T02:19:16.427Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a20f595e29bf47b505f23c7

Added to database: 06/04/2026, 03:48:37 UTC

Last enriched: 06/11/2026, 08:46:20 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 80

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses