garminconnect: Insecure Permission Assignment for Garmin OAuth Token Store
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cyberjunky | python-garminconnect | before 0.3.5 | 0.3.5 | Patch available | CNA |
| — | garminconnect (PyPI) | before 0.3.5 | 0.3.5 | Patch available | GHSA-wjhr-76vg-2hvc |
- python-garminconnect Vendorcyberjunky Affected before 0.3.5 Fixed in 0.3.5 Patch available CNA
- garminconnect (PyPI) Vendor— Affected before 0.3.5 Fixed in 0.3.5 Patch available GHSA-wjhr-76vg-2hvc
Remediation
- Fix · CNA python-garminconnect (cyberjunky) Fixed in 0.3.5
- Fix · GHSA-wjhr-76vg-2hvc garminconnect (PyPI) Fixed in 0.3.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54447
- 2026-10-03 Alias added: GHSA-wjhr-76vg-2hvc
References
Other 6
- https://github.com/cyberjunky/python-garminconnect/security/advisories/GHSA-wjhr-76vg-2hvc
- https://github.com/cyberjunky/python-garminconnect/commit/8256b577190b446e279c81b845d8e27d0ea1fbf5
- https://github.com/cyberjunky/python-garminconnect/releases/tag/0.3.5
- https://github.com/cyberjunky/python-garminconnect/commit/77a3837f1f79d486663c9646438e70e8319e1a48
- https://github.com/cyberjunky/python-garminconnect/commit/f74174a5647e1af78eca1f8f3a0aa5dc5a899947
- https://github.com/cyberjunky/python-garminconnect
Sources
- CVE-2026-54447 · CVE Program
- CVE-2026-54447 · NVD
- FIRST EPSS
- GHSA-wjhr-76vg-2hvc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences