Impact
Turso CLI writes the platform JSON Web Token to a settings.json file using Viper with default permissions of 0o644, allowing any local user to read the credential. This exposes a token that grants the holder full access to the Turso platform for their organizations, effectively leaking confidential authentication information.
Affected Systems
The flaw appears in tursodatabase's turso-cli prior to release 1.0.26. Any installation on Linux or macOS that persists the token locally uses the insecure file permissions, and the affected component is the Viper configuration handling within the CLI.
Risk and Exploitability
The CVSS base score of 5.5 indicates moderate severity. The EPSS score of <1% suggests low likelihood of exploitation. Since the token is stored locally, the attack vector is local, requiring an attacker to have a user account on the same host. The token grants full platform access, but the overall impact is limited to systems with the vulnerable CLI installed. The issue is not listed in the CISA KEV catalog.
OpenCVE Enrichment
Github GHSA