{"schemaVersion":3,"id":"CVE-2025-61141","aliases":["GHSA-f9f4-5859-29mf","GO-2025-4088"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-10-30T00:00:00.000Z","modified":"2025-10-30T21:02:01.794Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","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","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01086,"percentile":0.6495,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.028000000000000073,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01114},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01086,"percentile":0.6495}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01114,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01086,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01086,"percentile":0.6495}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"github.com/sqls-server","product":"sqls","name":"github.com/sqls-server/sqls","label":"sqls","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/sqls-server/sqls","purlType":"golang","versions":[{"text":"0.2.28","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"0.2.28 | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/sqls-server/sqls/","label":"github.com/sqls-server/sqls/","hostname":"github.com","tags":[]},{"url":"https://advisory.dw1.io/54/","label":"advisory.dw1.io/54/","hostname":"advisory.dw1.io","tags":[]},{"url":"https://lukmanern.github.io/CVE-2025-61141.html","label":"lukmanern.github.io/CVE-2025-61141.html","hostname":"lukmanern.github.io","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61141","label":"nvd.nist.gov/vuln/detail/CVE-2025-61141","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797","label":"github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://advisory.dw1.io/54","label":"advisory.dw1.io/54","hostname":"advisory.dw1.io","tags":["WEB"]},{"url":"https://github.com/sqls-server/sqls","label":"github.com/sqls-server/sqls","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2025-4088","label":"pkg.go.dev/vuln/GO-2025-4088","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-f9f4-5859-29mf","label":"github.com/advisories/GHSA-f9f4-5859-29mf","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15710-1","OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15710-1","OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2025-10-30T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-10-30T21:02:01.794Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:22:48.195Z","stale":false,"partial":false}}