CVE-2026-48790
turso-cli persists Turso platform JWT with world-readable (0o644) file permissions
Auswirkung
Turso CLI is the command line interface (CLI) to the open-source database Turso. Versions prior to 1.0.26 persist the user's Turso platform JWT to `settings.json` using Viper's default `configPermissions` of `0o644`, leaving the credential file world-readable on standard Linux and macOS systems. Any other local UID on the host can read the file and recover the platform JWT, which grants full Turso platform access scoped to the user's organizations. Version 1.0.26 patches the issue.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/tursodatabase/turso-cli | <= 1.0.25 | 1.0.26 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-57f6-pvx8-hwj6
- https://github.com/tursodatabase/turso-cli/security/advisories/GHSA-57f6-pvx8-hwj6
- https://github.com/spf13/viper/blob/v1.21.0/viper.go#L1688
- https://github.com/spf13/viper/blob/v1.21.0/viper.go#L198
- https://github.com/tursodatabase/turso-cli/commit/ffb914849216ef5a86353b3fa6cee66f33af3b66