Time-of-check Time-of-use (TOCTOU) Race Condition Affecting zheny-creator/YtGrabber-TUI package, versions [,1.0.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (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-ZHENYCREATORYTGRABBERTUI-13638663
  • published20 Oct 2025
  • disclosed17 Oct 2025
  • creditUnknown

Introduced: 17 Oct 2025

NewCVE-2025-62511  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade zheny-creator/YtGrabber-TUI to version 1.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition via a race condition in the creation of the config.json file. An attacker can overwrite arbitrary files within the privileges of the application process by creating a symbolic link between the existence check and the subsequent write operation.

References

CVSS Base Scores

version 4.0
version 3.1