Time-of-check Time-of-use (TOCTOU) Race Condition Affecting sbabic/swupdate package, versions [,2026.05)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (2nd 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-SBABICSWUPDATE-17428173
  • published23 Jun 2026
  • disclosed3 Jun 2026
  • creditReinhard Kugler

Introduced: 3 Jun 2026

CVE-2025-41259  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade sbabic/swupdate to version 2026.05 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition due to a race condition in the update process. An attacker can gain root privileges or install unauthorized content by exploiting the timing between the verification and execution of signed updates.

CVSS Base Scores

version 4.0
version 3.1