Skip to content

Device lock PIN can be predicted if lock time is known

Moderate
lukeheath published GHSA-ppwx-5jq7-px2w Feb 26, 2026

Package

gomod github.com/fleetdm/fleet (Go)

Affected versions

< 4.80.1

Patched versions

>= 4.80.1

Description

Summary

Fleet generated device lock and wipe PINs using a predictable algorithm based solely on the current Unix timestamp. Because no secret key or additional entropy was used, the resulting PIN could potentially be derived if the approximate time the device was locked is known.

Impact

Fleet’s device lock and wipe commands generate a 6-digit PIN that is displayed to administrators for unlocking a device. In affected versions, this PIN was deterministically derived from the current timestamp.

An attacker with physical possession of a locked device and knowledge of the approximate time the lock command was issued could theoretically predict the correct PIN within a limited search window.

However, successful exploitation is constrained by multiple factors:

  • Physical access to the device is required.
  • The approximate lock time must be known.
  • The operating system enforces rate limiting on PIN entry attempts.
  • Attempts would need to be spread over multiple days.
  • Device wipe operations would typically complete before sufficient attempts could be made.

As a result, this issue does not allow remote exploitation, fleet-wide compromise, or bypass of Fleet authentication controls.

Workarounds

There are no known workarounds for this issue. Customers should upgrade to a patched version.

For more information

If you have any questions or comments about this advisory:

Email us at security@fleetdm.com
Join #fleet in osquery Slack

Credits

We thank @secfox-ai for responsibly reporting this issue.

Severity

Moderate

CVE ID

CVE-2026-23999

Weaknesses

No CWEs

Credits