Incorrect Permission Assignment for Critical Resource Affecting github.com/tursodatabase/turso-cli/internal/settings package, versions <1.0.26


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Permission Assignment for Critical Resource vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMTURSODATABASETURSOCLIINTERNALSETTINGS-17750703
  • published1 Jul 2026
  • disclosed26 Jun 2026
  • creditUnknown

Introduced: 26 Jun 2026

CVE-2026-48790  (opens in a new tab)
CWE-276  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade github.com/tursodatabase/turso-cli/internal/settings to version 1.0.26 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource due to improper file permission settings on the settings.json file, which stores sensitive credentials in plaintext. An attacker can gain unauthorized access to confidential platform tokens by reading the file from another local user account on the same system.

Workaround

This vulnerability can be mitigated by manually setting restrictive permissions on the affected files and directories using 'chmod 600' for the file and 'chmod 700' for the directory. This process must be repeated after any operation that recreates the file.

CVSS Base Scores

version 4.0
version 3.1