{"id":"GHSA-f9f4-5859-29mf","summary":"sqls-server/sqls is vulnerable to command injection in the config command ","details":"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.\n\nThis issue has been patched via commit https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797.","aliases":["CVE-2025-61141","GO-2025-4088"],"modified":"2025-11-05T22:15:57Z","published":"2025-10-30T21:30:46Z","database_specific":{"nvd_published_at":"2025-10-30T20:15:39Z","cwe_ids":["CWE-77"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-10-31T17:55:40Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61141"},{"type":"WEB","url":"https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797"},{"type":"WEB","url":"https://advisory.dw1.io/54"},{"type":"PACKAGE","url":"https://github.com/sqls-server/sqls"},{"type":"WEB","url":"https://lukmanern.github.io/CVE-2025-61141.html"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-4088"}],"affected":[{"package":{"name":"github.com/sqls-server/sqls","ecosystem":"Go","purl":"pkg:golang/github.com/sqls-server/sqls"},"versions":["0.2.28"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-f9f4-5859-29mf/GHSA-f9f4-5859-29mf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}