Katalog CVE

CVE-2026-54447

WysokieCVSS 8.4
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.15%

Percentyl 4 - wyżej niż 4% wszystkich znanych CVE

Streszczenie

W garminconnect przed wersją 0.3.5 funkcja Client.dump w client.py tworzy katalog tokenów OAuth oraz plik garmin_tokens.json bez jawnych uprawnień właściciela, przez co przy umask 022 katalog ma tryb 0755, a plik 0644. Plik garmin_tokens.json zawiera di_refresh_token, który inny nieuprzywilejowany użytkownik na współdzielonym hoście Linux/macOS może odczytać i uzyskać trwały dostęp do konta Garmin Connect ofiary.

Ocena ryzyka

Ujawnienie tokenu odświeżania pozwala na trwały dostęp do danych zdrowotnych, aktywności i urządzeń ofiary w Garmin Connect. Problem dotyczy również istniejących plików tokenów z błędnymi uprawnieniami.

Rekomendacja

Zaktualizuj garminconnect do wersji 0.3.5 lub nowszej oraz ręcznie ogranicz uprawnienia istniejących plików i katalogów tokenów (np. chmod 600/700).

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS