Vulnerability in Zheny-Creator Ytgrabber-Tui
CVE-2025-62511
yt-grabber-tui is a C++ terminal user interface application for downloading YouTube content. yt-grabber-tui version 1.0 contains a Time-of-Check to Time-of-Use (TOCTOU) race condition (CWE-367) in the creation of the default configuration file config.json. In version 1.0, load_json_settings in Settings.hpp checks for the existence of config.json using boost::filesystem::exists and, if the file is missing, calls create_json_settings which writes the JSON configuration with boost::property_tree::write_json. A local attacker with write access to the application’s configuration directory (~/.config/yt-grabber-tui on Linux or the current working directory on Windows) can create a symbolic link between the existence check and the subsequent write so that the write operation follows the symlink and overwrites an attacker-chosen file accessible to the running process. This enables arbitrary file overwrite within the privileges of the application process, which can corrupt files and cause loss of application or user data. If the application is executed with elevated privileges, this could extend to system file corruption. The issue is fixed in version 1.0.1.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
EPSS: 0.001 (1.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H.
Affected products
- Zheny-creator Ytgrabber-tui — versions < 1.0.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-62511?
- CVE-2025-62511 is a medium-severity vulnerability in Zheny-Creator Ytgrabber-Tui, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 6.3/10. Published 2025-10-17.
- How severe is CVE-2025-62511?
- Medium severity. CVSS v3 base score is 6.3 out of 10.