CVE Professor
/
All CVEs
CVE-2026-141426

CVE-2026-141426 — Lucasrodes Whatstk — CWE-276

LOW CVSS 2 Shodan

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.

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.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Local AV:L
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. Low PR:L
User Interaction None UI:N
Vuln. Conf. Low VC:L
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141426
CVSS 2/10 · LOW · 01.12.2026
CWE: CWE-276
Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: 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, a…
Affected: lucasrodes whatstk

⚡ ATTACK VECTOR
Local/physical access (AV:L) · low-privilege account (PR:L) · no user interaction (UI:N) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L).

🛡️ REMEDIATION
→ Apply vendor security update for lucasrodes whatstk.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📌 Low priority — routine update sufficient.

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="lucasrodes whatstk"
CVSS Score
2 / 10 · CVSS LOW
Weakness Types (CWE)
CWE-276
Affected Products (1)
lucasrodes:whatstk
References & Advisories (4)
Related CVEs
6.8
CVE-2026-144606
Arq Backup for Windows before 7.50.0.0 contains an insecure permissions vulnerability that allows local non-ad
6.3
CVE-2026-52895
On affected platforms running Arista EOS with Streaming Telemetry Agent (TerminAttr), user credentials can be
8.3
CVE-2026-118434
Trusted Firmware-M (TF-M) contains an incorrect DMA security configuration in the Arm MPS2 AN519 and AN521 pla
5.5
CVE-2026-144226
Incorrect default permissions in the local data stores in Kiro Crew before 0.9.0 on macOS and Linux might allo
6.3
CVE-2026-144592
PrivateBin through 2.1.1 contains a race condition vulnerability in Paste::get() that allows a burn-after-read
6.3
CVE-2026-145357
Metorial Platform through commit 1b5ff9b contains an egress policy bypass vulnerability in the MCP runtime OAu
5.1
CVE-2026-144610
Fuint through commit 567e2c8 contains an insecure direct object reference vulnerability that allows authentica