Time-of-check Time-of-use (TOCTOU) Race Condition Affecting pbatard/rufus package, versions [,4.12-beta)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.19% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PBATARDRUFUS-15067755
  • published23 Jan 2026
  • disclosed22 Jan 2026
  • creditUnknown

Introduced: 22 Jan 2026

CVE-2026-23988  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade pbatard/rufus to version 4.12-beta or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition via the process of creating, validating, and executing of the PowerShell script in DownloadISOThread() function. An attacker can execute arbitrary code with elevated privileges by replacing the legitimate script with a malicious one between the file write and execution steps.

CVSS Base Scores

version 4.0
version 3.1