Skip to main content

bosh-windows-stemcell-builder CVE-2026-47831

| EUVDEUVD-2026-42517 HIGH
2026-07-09 vmware GHSA-4qp9-f9vm-49xq
7.7
CVSS 4.0 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Gain adjacent/network reachability to VM
  2. Delivery
    Locate SSH service on TCP/22
  3. Exploit
    Brute-force predictable weak-PRNG password
  4. Execution
    Authenticate as administrator
  5. Impact
    Full host compromise

Vulnerability Assessment

Exploitation Conditions

Exploitation requires that the target Windows VM was built from a bosh-windows-stemcell-builder stemcell of a version prior to v2019.98 (so its SSH password came from the weak GenerateRandomPassword function) AND that the attacker can reach the VM's SSH service on TCP/22. No authentication or user interaction is needed (PR:N/UI:N). Limiting factors: the vendor rates the vector as AV:A (Adjacent), implying the attacker must be on the same or an adjacent/management network segment rather than the open internet, and AT:P indicates a specific attack requirement - realistically that the credential was generated by the affected code path; VMs whose passwords were subsequently rotated or that were built with v2019.98+ are not exploitable.

Impact

The vendor CVSS 4.0 score is 7.7 (High) with vector AV:A/AC:L/AT:P/PR:N/UI:N and High confidentiality, integrity and availability impact - reflecting unauthenticated, low-complexity access that fully compromises the host once the password is guessed. Note a signal conflict: the vendor's vector uses AV:A (Adjacent) and AT:P (an attack requirement), yet the description characterises a 'remote attacker' brute-forcing 'TCP/22', which reads as network-reachable (AV:N) - this suggests the adjacency rating assumes stemcell VMs sit on segmented management networks rather than the open internet; verify network exposure against your actual BOSH deployment topology. EPSS is not provided, there is no POC and the CVE is not in CISA KEV, so there is no evidence of active or automated exploitation today. Real-world priority is moderate-to-high for organisations running Cloud Foundry Windows workloads because the weakness is systemic (every image from an affected build is weak) and requires no privileges, but exposure hinges on whether TCP/22 of stemcell-derived VMs is reachable by an attacker.

Exploit ScenarioDerived

An attacker with network reachability to a Windows VM deployed from a vulnerable stemcell targets its SSH service on TCP/22 and, knowing the password came from a weak PRNG, iterates the small predictable keyspace instead of a full brute force. Given the low attack complexity, a successful guess yields interactive administrative access to the host. No public exploit code is currently identified, but the weakness is straightforward to weaponise.

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

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

Alert me

AnalysisAIv1 – Jul 09, 2026

Predictable SSH credential generation in Cloud Foundry's bosh-windows-stemcell-builder (versions prior to v2019.98) lets attackers brute-force the SSH login on TCP/22 because the GenerateRandomPassword function relies on a cryptographically weak random number generator, drastically shrinking the effective password keyspace. Any Windows stemcell built with an affected release ships with a guessable administrative password, so an attacker who can reach port 22 of a deployed VM can recover interactive access and full control. No public exploit code has been identified at time of analysis and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade bosh-windows-stemcell-builder to v2019.98 or later, then rebuild all Windows stemcells and redeploy the VMs created from vulnerable stemcells so they receive freshly, securely generated credentials - patching the builder alone does not remediate images or running VMs already produced with weak passwords. As immediate compensating controls until rebuilds complete, rotate/reset the SSH administrative passwords on already-deployed Windows VMs to strong values, and restrict inbound access to TCP/22 on stemcell-derived VMs via security groups/firewall rules so only trusted management jump hosts can reach it (trade-off: may disrupt legitimate automation or operator SSH workflows that assume broad reachability). See the Cloud Foundry advisory for details: https://www.cloudfoundry.org/blog/cve-2026-47831-cryptographically-weak-password-generation-in-bosh-windows-stemcell-builder-allows-remote-ssh-brute-force-attacks/

Affected VersionsENISA

bosh-windows-stemcell-builder 0 <2019.98

Affected Packages

euvd bosh_windows_stemcell_builder fix: 2019.98

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-windows-stemcell-builder is the Cloud Foundry BOSH tooling that produces Windows 'stemcell' base images used to deploy Windows VMs across IaaS providers. During image construction the GenerateRandomPassword routine sets the SSH/administrative password, but instead of a cryptographically secure source (e.g. crypto/rand) it uses a weak, predictable PRNG. This maps to the CWE-338 class (Use of Cryptographically Weak PRNG) - the generator's limited entropy or predictable seeding means output passwords cluster in a small, guessable space rather than the full character-length keyspace they appear to have. The affected component is identified by CPE cpe:2.3:a:cloud_foundry_foundation:bosh-windows-stemcell-builder and the exposed service is the OpenSSH-style listener on TCP/22 baked into the resulting stemcell.

Know when Bosh Windows Stemcell Builder 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 7.7 HIGH
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

SSH is network-reachable (AV:N; vendor chose AV:A assuming segmented mgmt network) and weak PRNG makes guessing feasible (AC:L, PR:N, UI:N); full host access gives C/I/A High.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

2
Patch available
Jul 09, 2026 - 08:01 EUVD
CVE Published
Jul 09, 2026 - 06:26 cve.org
HIGH 7.7

DescriptionCVE.org

Use of a cryptographically weak random number generator in the GenerateRandomPassword function in bosh-windows-stemcell-builder allows a remote attacker to brute-force the resulting SSH login via TCP/22. Affected versions: bosh-windows-stemcell-builder versions prior to v2019.98.

Executive ViewAI

Why It Matters

Cloud Foundry bosh-windows-stemcell-builder versions prior to v2019.98 ship Windows virtual machines with predictable administrative passwords, creating a critical exposure in any organization's Cloud Foundry-deployed Windows infrastructure. Attackers with network access to port 22 can gain full administrative control of affected VMs without valid credentials, enabling data exfiltration, lateral movement, and infrastructure compromise. Although no public exploit code has been identified at time of analysis, this weakness should be considered immediately exploitable given the nature of the weak password generation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation restricting port 22 access to authorized administrative hosts and jump servers; (2) SSH authentication logging and real-time alerting on failed login attempts; (3) Immediate credential rotation on all deployed Windows VMs using cryptographically strong random generation; (4) Temporary operational isolation of affected Windows VMs pending patched stemcell deployment.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche Cloud Foundry BOSH Windows tooling, platform-operator use only
Data Quality
5 sources
Confidence: Medium

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.2%
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
Controlled
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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