CVE-2026-141426
Last modified
CVE-2026-141426 is a low-severity vulnerability rated 2/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-141426?
How severe is CVE-2026-141426?
How do I fix CVE-2026-141426?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1414A vulnerability was determined in Sangfor Operation and Main…9.8
- CVE-2026-14140Insufficient validation of untrusted input in Input in Googl…4.3
- CVE-2026-141402Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2026-14141Incorrect security UI in Document Picture-in-Picture in Goog…4.3
- CVE-2026-141416Bootstrap is the most popular HTML, CSS, and JavaScript fram…6.1
- CVE-2026-14142Inappropriate implementation in Extensions in Google Chrome …5.4
- CVE-2026-14143Incorrect security UI in Passwords in Google Chrome on iOS p…4.3
- CVE-2026-14144Incorrect security UI in Views in Google Chrome prior to 150…4.2
- CVE-2026-141441Path traversal in the Synchronizer entry configuration in De…5.4
- CVE-2026-141442Insecure direct object reference in the connection entry dup…6.5
- CVE-2026-141443Path traversal in the backup job configuration in Devolution…5.9
- CVE-2026-141444Improper input validation in the document entry feature in D…3.5
Are you affected by CVE-2026-141426?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
