CVE-2026-47831

Cryptographically Weak Password Generation in bosh-windows-stemcell-builder Allows Remote SSH Brute-Force Attacks

Published Jul 9, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability stems from a cryptographically weak random number generator used in the GenerateRandomPassword function of the bosh‑windows‑stemcell‑builder. This flaw produces low‑entropy SSH passwords, enabling an attacker to brute‑force SSH login attempts over TCP/22. The impact is the potential to gain unrestricted access to the virtual machine that hosts the stem cell, compromising confidentiality, integrity, and availability of the platform.

Affected Systems

Cloud Foundry Foundation’s bosh‑windows‑stemcell‑builder versions earlier than v2019.98 are affected. Versions v2019.98 and later incorporate a cryptographically secure random number generator, eliminating the low‑entropy password issue.

Risk and Exploitability

With a CVSS score of 7.7, the vulnerability is classified as High severity. The EPSS score of < 1% indicates that exploitation probability is currently low, yet the potential for success remains if an attacker chooses to target the exposed SSH service. The vulnerability is not listed in CISA KEV. An attacker would likely exploit the weakness by conducting an automated brute‑force attack against port 22, taking advantage of the limited password entropy generated by the weak RNG. The description does not mention any privileges beyond the compromised SSH session.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade bosh‑windows‑stemcell‑builder to version v2019.98 or newer to replace the weak random generator with a cryptographically secure source.
  • If an upgrade cannot be performed immediately, block or disable SSH on newly created stem cells, and enforce strong, cryptographically secure passwords for any existing weak passwords, requiring re‑generation with a secure random generator.
  • Monitor port 22 for repeated failed login attempts and implement rate‑limiting or lockout policies to mitigate brute‑force attacks.

Generated by OpenCVE AI on August 3, 2026 at 04:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-330
CWE-794
Type Values Removed Values Added
Weaknesses CWE-330
CWE-794
Type Values Removed Values Added
Weaknesses CWE-330
CWE-794
Type Values Removed Values Added
Weaknesses CWE-330
Type Values Removed Values Added
Weaknesses CWE-330
Type Values Removed Values Added
Weaknesses CWE-118
CWE-330
Type Values Removed Values Added
Weaknesses CWE-118
CWE-330
Type Values Removed Values Added
Weaknesses CWE-330
Type Values Removed Values Added
First Time appeared Cloudfoundry
Cloudfoundry bosh-windows-stemcell-builder
Vendors & Products Cloudfoundry
Cloudfoundry bosh-windows-stemcell-builder
Type Values Removed Values Added
Weaknesses CWE-330
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Cryptographically Weak Password Generation in bosh-windows-stemcell-builder Allows Remote SSH Brute-Force Attacks
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': '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'}

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-794

    Incomplete Filtering of Multiple Instances of Special Elements

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jul 9, 2026, 12:50 PM
Reserved
May 20, 2026, 10:00 AM
Status
Awaiting Analysis
Published
Jul 9, 2026, 7:16 AM
Modified
Oct 25, 2026, 5:10 PM