{"id":"CVE-2025-61141","aliases":["GO-2025-4088"],"url":"https://o3.security/vulnerability/CVE-2025-61141","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.","published":"2025-10-30T21:30:46Z","modified":"2025-11-05T22:15:57Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/sqls-server/sqls","fixedVersion":null}],"fix":{"url":"https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797","label":"sqls-server/sqls@468a23f"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2025-11-05T22:15:57Z"}}