Vulnerability · Published Sep 14, 2026 · Assigned by GitHub_M
CVE-2026-54447garminconnect: Insecure Permission Assignment for Garmin OAuth Token Store
High 8.4
In plain English
A high-severity incorrect permission assignment in python-garminconnect from cyberjunky. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | garminconnect | 0.3.5 | GHSA-wjhr-76vg-2hvc |
| PyPI | garminconnect | 0.3.5 | PYSEC-2026-3467 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cyberjunky | python-garminconnect | < 0.3.5 |
Weakness: CWE-732 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
References
- https://github.com/cyberjunky/python-garminconnect/security/advisories/GHSA-wjhr-76vg-2hvc x_refsource_CONFIRM
- https://github.com/cyberjunky/python-garminconnect/commit/8256b577190b446e279c81b845d8e27d0ea1fbf5 x_refsource_MISC
- https://github.com/cyberjunky/python-garminconnect/releases/tag/0.3.5 x_refsource_MISC