CVE-2025-61141 Details
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.
A command injection vulnerability has been identified in SQLS version 0.2.28. The issue arises in the openEditor function, which improperly sanitizes the EDITOR environment variable and config file path before passing them to the shell. This flaw allows authenticated users to execute arbitrary commands with the same privileges as the SQLS process.
Users are advised to update to SQLS version 0.2.29 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2025CISA-ADP
Assessed Oct 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://advisory.dw1.io/54/ | [email protected] | AdvisoryExploit |
| https://github.com/sqls-server/sqls/ | [email protected] | ProductSource CodeVendor |
| https://lukmanern.github.io/CVE-2025-61141.html | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| sqls-server/sqls | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2025 | CVE Modified | CISA-ADP |
| Oct 30, 2025 | New CVE Received | [email protected] |
Volerion