CVE-2025-61141
sqls-server/sqls 0.2.28 is vulnerable to command injection in the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2025-61141
- advisory.dw1.io/54
- github.com/sqls-server/sqls
- lukmanern.github.io/CVE-2025-61141.html
- github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797
- pkg.go.dev/vuln/GO-2025-4088
- github.com/advisories/GHSA-f9f4-5859-29mf
- advisory.dw1.io/54/
- nvd.nist.gov/vuln/detail/CVE-2025-61141
- cve.org/CVERecord?id=CVE-2025-61141
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.