Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-141426

Score2 Low
CVSS 4.0
CategoryAccess control & privilege
Published1 December 2026
Last modified: 1 December 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

Impact is limited: reading confidential data.

Weakness type: Incorrect default permissions.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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.

CVSS: 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

Weakness: CWE-276 – Incorrect default permissions

Sources

Latest in the same category

  • CVE-2026-139820 High 7.1
    Relative path traversal in the foreign table file name validation in the AWS postgresql-logfdw (log_fdw) extension before version 1.5 allows an authenticated non-superuser user who has been granted log_fdw privileges…
    Access control & privilege · 1 December 2026
  • CVE-2026-137935 High 8.5
    Improper link resolution in the workspace boundary check in Language Servers for AWS 1.69.0 through 1.73.0 might allow context-dependent threat actors to create files outside the workspace trust boundary without the…
    Access control & privilege · 1 December 2026
  • CVE-2026-137934 Medium 6.7
    Improper link resolution in the workspace boundary check of the shell command tool in Language Servers for AWS before 1.81.0 might allow context-dependent threat actors to read files outside the workspace without the…
    Access control & privilege · 1 December 2026
  • CVE-2026-137932 High 7.3
    Use of an incorrect operator in the MCP server consent check in Language Servers for AWS 1.65.0 before 1.71.0 might allow an actor to execute arbitrary code on a developer's workstation without a new consent prompt via…
    Access control & privilege · 1 December 2026
  • CVE-2026-125130 High 8.8
    An unauthenticated attacker could delete stored objects from a read-only storage area and insert different objects in their place.
    Access control & privilege · 1 December 2026
  • CVE-2026-66023 Low 2.3
    GLPI 11.0.0 through 12.0.2 contains an authorization bypass vulnerability in form destination entity resolution that allows authenticated users with access to a form to create tickets in entities outside their scope.…
    Access control & privilege · 1 December 2026