Description
garminconnect is a Python 3 API wrapper for Garmin Connect that retrieves statistics and manages activities. Prior to 0.3.5, garminconnect/client.py Client.dump creates the OAuth token directory and garmin_tokens.json without explicit owner-only modes, so a permissive umask such as 022 can leave the directory mode at 0755 and the token file mode at 0644. garmin_tokens.json contains di_refresh_token, and another unprivileged user on a shared Linux or macOS host can read the token and obtain persistent access to the victim's Garmin Connect account, including health, fitness, activity, and device data. The Garmin.login tokenstore path is affected, and a pre-existing loosely permissioned token file remains exposed until rewritten or manually restricted. This issue is fixed in version 0.3.5.
Published: 2026-09-14
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Sensitive Data Exposure
Action: Immediate Patch
AI Analysis

Impact

garminconnect is a Python 3 API wrapper for Garmin Connect that retrieves statistics and manages activities. Prior to version 0.3.5, garmin OAuth token directory and garmin_tokens.json without explicit owner‑only modes, so a permissive umask such as 022 can leave the directory mode at 0755 and the token file mode at 0644. garmin and another Linux or macOS host can read the token and obtain persistent access to the victim’s Garmin Connect account, including health, fitness, activity, and device data. The Garmin.login tokenstore path is affected, and a pre‑existing loosely permissioned token file remains exposed until rewritten or manually restricted. This issue is fixed in version 0.3.5, but legacy installations without the fix still risk token leakage.

Affected Systems

Python‑based applications that use the cyberjunky:python‑garminconnect package with a version older than 0.3.5. The vulnerability is present when Client.dump creates or reads the Garmin.login tokenstore path. Any shared Unix‑style host where users can coexist with the application process is affected.

Risk and Exploitability

The CVSS score of 8.4 indicates a high severity of the vulnerability, and the EPSS score is < 1% indicating a very low likelihood of exploitation based on current data. The attack vector is local: an attacker must be able to run code on the same machine to read the token file. The vulnerability is not listed in CISA’s KEV catalog, but the potential for sensitive data breach is significant. Exploitation requires only reading a file that falls outside of strict permissions, which is trivial once the attacker has local access.

Generated by OpenCVE AI on September 20, 2026 at 22:59 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the python‑garminconnect package to version 0.3.5 or newer, which sets restrictive permissions on the token store
  • If upgrading immediately is not possible, locate any existing garmin_tokens.json files and change their permissions to 600 and the containing directory to 700 to prevent other users from reading the token
  • Verify that older token setting the system umask to 077 before running the application to enforce secure file creation
  • Monitor the application logs for any unauthorized access attempts and enforce file integrity checks on the token store

Generated by OpenCVE AI on September 20, 2026 at 22:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wjhr-76vg-2hvc garminconnect Has Insecure Permission Assignment for Garmin OAuth Token Store
History

Thu, 17 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Cyberjunky
Cyberjunky python-garminconnect
Vendors & Products Cyberjunky
Cyberjunky python-garminconnect

Mon, 14 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Description garminconnect is a Python 3 API wrapper for Garmin Connect that retrieves statistics and manages activities. Prior to 0.3.5, garminconnect/client.py Client.dump creates the OAuth token directory and garmin_tokens.json without explicit owner-only modes, so a permissive umask such as 022 can leave the directory mode at 0755 and the token file mode at 0644. garmin_tokens.json contains di_refresh_token, and another unprivileged user on a shared Linux or macOS host can read the token and obtain persistent access to the victim's Garmin Connect account, including health, fitness, activity, and device data. The Garmin.login tokenstore path is affected, and a pre-existing loosely permissioned token file remains exposed until rewritten or manually restricted. This issue is fixed in version 0.3.5.
Title garminconnect: Insecure Permission Assignment for Garmin OAuth Token Store
Weaknesses CWE-732
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'}


Subscriptions

Cyberjunky Python-garminconnect
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-14T20:10:01.561Z

Reserved: 2026-06-15T15:30:40.317Z

Link: CVE-2026-54447

cve-icon Vulnrichment

Updated: 2026-09-14T20:09:57.860Z

cve-icon NVD

Status : Deferred

Published: 2026-09-14T20:16:46.290

Modified: 2026-09-30T17:51:56.193

Link: CVE-2026-54447

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T23:00:07Z

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource