Security mailing lists by PureSourceCode

CVE-2025-61141

HIGH 7.5CVSS 3.1

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

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.

Published
30 Oct 2025
Last modified
5 Nov 2026
Assigned by
cve@mitre.org
NVD status
Deferred
Weakness
CWE-77
Also known as
GHSA-f9f4-5859-29mfGO-2025-4088
Sources
NVDJSONOSV GHSA-f9f4-5859-29mfJSONOSV GO-2025-4088JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/sqls-server/sqls = 0.2.28
OSV Go github.com/sqls-server/sqls all versions

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Oct 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.