CVE-2026-41858

Weak Randomness Allows Brute‑Force Recovery of Windows Administrator Password

Published Jun 4, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Weak Randomness / Insecure Cryptographic Primitive (CWE-338) in Get-RandomPassword in BOSH-Ecosystem / windows-utilities-release allows a network attacker to estimate VM boot time and reconstruct a small candidate list to recover the Administrator password. The randomize_password job exists solely to lock the local Administrator account behind an unguessable password as a hardening control. Because the password is derived from a predictable, clock-seeded PRNG, a network attacker who can estimate VM boot time can reconstruct a small candidate list and recover the Administrator password, defeating the hardening control.

Affected versions:
- windows-utilities-release: all versions prior to v0.23.0 (inclusive); fixed in v0.23.0 or later

Analysis

AI-generated

Technical impact

The vulnerability stems from weak randomness in the Get-RandomPassword function delivered by the BOSH-Ecosystem windows-utilities-release. Because the password is seeded from a predictable clock source, an attacker can estimate the VM boot time and produce a small set of candidate passwords. By brute‑forcing this small list the attacker can recover the local Administrator account that the hardening job was intended to protect. The weakness is classified as CWE‑338, a weak random number generator flaw that compromises confidentiality of privileged credentials.

Affected Systems

All versions of the Cloud Foundry Foundation windows‑utilities‑release older than v0.23.0 are affected. The CWEs linked to this release have been updated in v0.23.0 to use a secure randomizer, eliminating the predictable seed.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate to high severity, with the potential to bypass a core hardening control leading to privilege escalation. Because the exploit requires knowledge of VM boot time, a network‑connected attacker with remote visibility can attempt the attack without requiring direct host access. EPSS is not provided, so the current exploitation probability is unclear, and it is not listed in the KEV catalog. Nonetheless, the impact remains significant for environments that rely on this hardening control.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the windows‑utilities‑release to v0.23.0 or newer so that passwords are generated with a secure random source.
  • Enable logging for the randomize_password job and monitor for repeated login attempts on the local Administrator account.
  • If an upgrade cannot be performed immediately, consider discontinuing use of the Administrator account on the VM or replace it with a pass‑through or service account that is not exposed to the local security context.

Generated by OpenCVE AI on June 4, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cloud Foundry Foundation
Cloud Foundry Foundation windows-utilities-release
Vendors & Products Cloud Foundry Foundation
Cloud Foundry Foundation windows-utilities-release
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Weak Randomness Allows Brute‑Force Recovery of Windows Administrator Password
Type Values Removed Values Added
Description Weak Randomness / Insecure Cryptographic Primitive (CWE-338) in Get-RandomPassword in BOSH-Ecosystem / windows-utilities-release allows a network attacker to estimate VM boot time and reconstruct a small candidate list to recover the Administrator password. The randomize_password job exists solely to lock the local Administrator account behind an unguessable password as a hardening control. Because the password is derived from a predictable, clock-seeded PRNG, a network attacker who can estimate VM boot time can reconstruct a small candidate list and recover the Administrator password, defeating the hardening control. Affected versions: - windows-utilities-release: all versions prior to v0.23.0 (inclusive); fixed in v0.23.0 or later
Weaknesses CWE-338
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 4, 2026, 3:07 PM
Reserved
Apr 22, 2026, 6:22 AM
Status
Awaiting Analysis
Published
Jun 4, 2026, 3:16 AM
Modified
Jul 22, 2026, 8:10 PM