CVE-2026-141426: lucasrodes whatstk · Incorrect Default Permissions
Affects lucasrodes whatstkSource CVE Database V5
Not known to be exploited · CVSS 2.0 Low : upgrade to 0.9.0 when convenient.
Data as of 1 Dec 2026, 19:29 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 lucasrodes 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.
Description
Incorrect Default Permissions (CWE-276) in gdrive_init() (whatstk/utils/gdrive.py) in whatstk from 0.5.0 before 0.9.0 allows another user of the same machine to read the Google Drive OAuth client secret of the user who ran it. The function creates ~/.config/whatstk/gdrive with os.makedirs and no mode argument, copies the supplied client secret file to client_secrets.json with shutil.copyfile, and writes settings.yaml through a plain open call, so all three take whatever the process umask allows. Under a default umask of 022 the directory is created 0755 and both files 0644. shutil.copyfile does not carry the source file's permissions over, so a client secret the user had restricted to 0600 is written out at 0644. Whether the files end up readable by other local users therefore depends on the umask in force when gdrive_init runs and on the permissions of the directories above them, and not on the permissions of the file the user supplied. The refresh token in credentials.json is written by pydrive2 rather than by whatstk and is observed at 0600. This results in the OAuth client secret and the generated settings being readable in plain text by other users of the machine.
References
- 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)