CVE-2025-61141: sqls · Command Injection
Affects sqlsSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubsqls-server/sqlspkg:github/sqls-server/sqlsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Immediate mitigation should focus on restricting the ability to control or influence the EDITOR environment variable in environments running sqls-server/sqls. Administrators should audit and harden environment variable settings, ensuring they cannot be manipulated by untrusted users or processes. Until an official patch is released, consider isolating sqls-server/sqls instances in secured network segments with strict access controls to limit exposure. Employ application whitelisting and monitoring to detect unusual shell command executions. Review and restrict shell access permissions for the sqls-server/sqls process. Additionally, implement runtime application self-protection (RASP) or intrusion detection systems (IDS) to identify and block suspicious command injection attempts. Once a patch becomes available, prioritize its deployment and verify the removal of the vulnerability through testing. Regularly update incident response plans to include scenarios involving command injection attacks.
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.