Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-48790 EUVD-2026-56787GHSA-57f6-pvx8-hwj6GO-2026-5811

turso-cli persists Turso platform JWT with world-readable (0o644) file permissions

Published Aug 11, 2026 · Updated Aug 12, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
tursodatabase turso-cli < 1.0.26 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/tursodatabase/turso-cli < 1.0.26 1.0.26 GHSA-57f6-pvx8-hwj6

Advisories 1

References