Skip to content
OpenAdvisories
High · 7.5 CVE-2025-61141 EUVD-2025-37196GHSA-f9f4-5859-29mfGO-2025-4088

sqls-server/sqls is vulnerable to command injection in the config command

Published Oct 30, 2025 · Updated Oct 30, 2025 · Assigned by mitre

Description

sqls-server/sqls 0.2.28 is vulnerable to command injection in the config command because the openEditor function passes the EDITOR environment variable and config file path to sh -c without sanitization, allowing attackers to execute arbitrary commands.

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 Tumbleweed govulncheck-vulndb 0.0.20251105T184115-1.1 openSUSE-SU-2025:15710-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/sqls-server/sqls 0.2.28 — GHSA-f9f4-5859-29mf
Go github.com/sqls-server/sqls all versions — GO-2025-4088

Advisories 2

References