CVE-2026-54447

garminconnect: Insecure Permission Assignment for Garmin OAuth Token Store

Published Sep 14, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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
Type Values Removed Values Added
First Time appeared Cyberjunky
Cyberjunky python-garminconnect
Vendors & Products Cyberjunky
Cyberjunky python-garminconnect
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 14, 2026, 8:10 PM
Reserved
Jun 15, 2026, 3:30 PM
Status
Deferred
Published
Sep 14, 2026, 8:16 PM
Modified
Sep 30, 2026, 5:51 PM