Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent/network reachability to VM
-
DeliveryLocate SSH service on TCP/22
-
ExploitBrute-force predictable weak-PRNG password
-
ExecutionAuthenticate as administrator
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-42517
GHSA-4qp9-f9vm-49xq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB