CVE-2026-48790
MEDIUM 5.5CVSS 3.1turso-cli persists Turso platform JWT with world-readable (0o644) file permissions
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.
- Published
- 11 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-276CWE-732
- Also known as
- GHSA-57f6-pvx8-hwj6GO-2026-5811
- Sources
- NVDJSONOSV GHSA-57f6-pvx8-hwj6JSONOSV GO-2026-5811JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/tursodatabase/turso-cli | < 1.0.26 | 1.0.26 |
References
- 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
- https://github.com/tursodatabase/turso-cli/security/advisories/GHSA-57f6-pvx8-hwj6 · WEB, ADVISORY
- https://github.com/tursodatabase/turso-cli · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Jun 2026)