CVE-2025-61141
HIGH 7.5CVSS 3.1sqls-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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/sqls-server/sqls | = 0.2.28 | |
| OSV | Go | github.com/sqls-server/sqls | all versions |
References
- https://advisory.dw1.io/54/ · WEB
- https://github.com/sqls-server/sqls/ · PACKAGE
- https://lukmanern.github.io/CVE-2025-61141.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-61141 · ADVISORY
- https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797 · WEB, FIX
- https://pkg.go.dev/vuln/GO-2025-4088 · WEB
- https://github.com/advisories/GHSA-f9f4-5859-29mf · ADVISORY
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)