gdrive_init() (whatstk/utils/gdrive.py) · Incorrect Default Permissions
Source GCVE Database
Not known to be exploited · CVSS 2.0 Low : upgrade to 0.9.0 when convenient.
Data as of 1 Dec 2026, 23:32 UTC
Thin evidence
One scorer or none| CNA (Secur0) | CVSS 4.0 | 2.0 |
|---|
- Patch
- Available – fixed in 0.9.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade whatstk to 0.9.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| lucasrodeswhatstk | Affected
| Fixed in
|
PyPIwhatstkpkg:pypi/whatstkOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in whatstk version 0.9.0 and later. Users should upgrade to version 0.9.0 or newer to ensure proper file permission handling. Until upgraded, users should manually verify and restrict permissions on the ~/.config/whatstk/gdrive directory and its files to prevent unauthorized access. No vendor advisory content was provided to indicate otherwise.
Description
An incorrect default permissions vulnerability (CWE-276) exists in the gdrive_init() function of whatstk versions from 0.5.0 before 0.9.0. The function creates configuration directories and files with permissions influenced by the process umask, which can result in the Google Drive OAuth client secret and settings being readable by other local users on the same machine. This occurs because the client secret file is copied without preserving restrictive permissions, potentially exposing sensitive OAuth credentials in plain text.
References
- nvd.nist.gov/vuln/detail/CVE-2026-141426 (opens in a new tab)
- github.com/lucasrodes/whatstk/pull/183 (opens in a new tab)
- github.com/lucasrodes/whatstk/commit/01d66d8 (opens in a new tab)
- github.com/lucasrodes/whatstk/releases/tag/v0.9.0 (opens in a new tab)
- secur0.com/en/cna/cve-list/cve-2026-141426-whatstk-world-readable-gdrive-client-secret (opens in a new tab)