SecurityContext

CVE-2025-62511: yt-grabber-tui - Race Condition

  • Cve: CVE-2025-62511
  • Name: yt-grabber-tui - Race Condition
  • 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.
  • Impact: Local attackers can overwrite arbitrary files with application privileges, potentially causing data loss or system file corruption if run with elevated rights.
  • Remediation: Upgrade to version 1.0.1 or later.
  • Vulnerability type: race_condition
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs write access to the application's configuration directory
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
  • Epss score: 0.00114
  • Epss percentile: 0.01494
  • Assignee: [email protected]
  • Published at: 2025-10-17T20:15:42Z
  • Age in days: 403
  • Modified at: 2026-10-08T22:10:00Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-62511
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition

References

UrlSourceTags
https://github.com/zheny-creator/YtGrabber-TUI/commit/bf065e833820bb4253a70a4c1dc6b843c6d8bf21nvd
https://github.com/zheny-creator/YtGrabber-TUI/security/advisories/GHSA-hwwf-fq6p-rw9qnvd

Projects

RepositoryLink kindsIndexedUrl
zheny-creator/YtGrabber-TUIcommit, fix, security_advisoryyes/v1/repositories/zheny-creator/YtGrabber-TUI

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts