{"id":"CVE-2026-48790","title":"Turso CLI is the command line interface (CLI) to the open-source database Turso","summary":"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 credenti…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-276","CWE-732"],"vendor":"tursodatabase","product":"github.com/tursodatabase/turso-cli","affected":["github.com/tursodatabase/turso-cli <= 1.0.25"],"patched":["github.com/tursodatabase/turso-cli 1.0.26"],"published":"2026-08-11","updated":"2026-09-09","sourceUpdated":"2026-09-09T20:46:02.457","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-48790","references":[{"url":"https://github.com/spf13/viper/blob/v1.21.0/viper.go#L1688","label":"security-advisories@github.com"},{"url":"https://github.com/spf13/viper/blob/v1.21.0/viper.go#L198","label":"security-advisories@github.com"},{"url":"https://github.com/tursodatabase/turso-cli/commit/ffb914849216ef5a86353b3fa6cee66f33af3b66","label":"security-advisories@github.com"},{"url":"https://github.com/tursodatabase/turso-cli/security/advisories/GHSA-57f6-pvx8-hwj6","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-57f6-pvx8-hwj6"}],"tags":["nvd","ghsa","go"],"epss":0.00105,"epssPercentile":0.01207,"ecosystem":"go","ingestedAt":"2026-06-29T13:24:35.268Z","slug":"CVE-2026-48790","body":"## Overview\n\nTurso 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-48790)\n\nAffected packages:\n\n- `github.com/tursodatabase/turso-cli <= 1.0.25`\n\nPatched in:\n\n- `github.com/tursodatabase/turso-cli 1.0.26`\n\nSource: https://github.com/advisories/GHSA-57f6-pvx8-hwj6","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}