CVE-2025-62511
yt-grabber-tui local arbitrary file overwrite via TOCTOU race in config file creation
Description
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.
INFO
Published Date :
Oct. 17, 2025, 8:15 p.m.
Last Modified :
Oct. 8, 2026, 10:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update yt-grabber-tui to version 1.0.1.
- Ensure configuration files are protected from symbolic links.
- Restrict write permissions to the configuration directory.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-62511.
| URL | Resource |
|---|---|
| https://github.com/zheny-creator/YtGrabber-TUI/commit/bf065e833820bb4253a70a4c1dc6b843c6d8bf21 | |
| https://github.com/zheny-creator/YtGrabber-TUI/security/advisories/GHSA-hwwf-fq6p-rw9q |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-62511 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-62511
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-62511 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-62511 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 08, 2026
Action Type Old Value New Value Added Translation Title: YtGrabber-TUI de zheny-creator, Description: yt-grabber-tui es una aplicación de interfaz de usuario de terminal en C++ para descargar contenido de YouTube. yt-grabber-tui versión 1.0 contiene una condición de carrera de Tiempo de Verificación a Tiempo de Uso (TOCTOU) (CWE-367) en la creación del archivo de configuración predeterminado config.json. En la versión 1.0, load_json_settings en Settings.hpp verifica la existencia de config.json usando boost::filesystem::exists y, si el archivo falta, llama a create_json_settings que escribe la configuración JSON con boost::property_tree::write_json. Un atacante local con acceso de escritura al directorio de configuración de la aplicación (~/.config/yt-grabber-tui en Linux o el directorio de trabajo actual en Windows) puede crear un enlace simbólico entre la verificación de existencia y la escritura subsiguiente para que la operación de escritura siga el enlace simbólico y sobrescriba un archivo elegido por el atacante accesible para el proceso en ejecución. Esto permite la sobrescritura arbitraria de archivos dentro de los privilegios del proceso de la aplicación, lo que puede corromper archivos y causar la pérdida de datos de la aplicación o del usuario. Si la aplicación se ejecuta con privilegios elevados, esto podría extenderse a la corrupción de archivos del sistema. El problema está solucionado en la versión 1.0.1. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'zheny-creator', 'product': 'YtGrabber-TUI', 'versions': [{'status': 'affected', 'version': '< 1.0.1'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-62511', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-10-17T20:22:13.089142Z'} -
New CVE Received by [email protected]
Oct. 17, 2025
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H Added CWE CWE-367 Added Reference https://github.com/zheny-creator/YtGrabber-TUI/commit/bf065e833820bb4253a70a4c1dc6b843c6d8bf21 Added Reference https://github.com/zheny-creator/YtGrabber-TUI/security/advisories/GHSA-hwwf-fq6p-rw9q