What’s Vulnerable › Vulnerabilities
CVE-2026-48790: turso-cli persists Turso platform JWT with world-readable (0o644) file permissions
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-11 · updated 2026-10-23
- Weakness: CWE-276
Description
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.
Affected products
- tursodatabase turso-cli: before 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
Get alerted when CVE-2026-48790 or the next vulnerability affects your stack