sqls-server/sqls is vulnerable to command injection in the config command
High severity
GitHub Reviewed
Published
Oct 30, 2025
to the GitHub Advisory Database
•
Updated Nov 5, 2025
Description
Published by the National Vulnerability Database
Oct 30, 2025
Published to the GitHub Advisory Database
Oct 30, 2025
Reviewed
Oct 31, 2025
Last updated
Nov 5, 2025
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.
This issue has been patched via commit sqls-server/sqls@468a23f.
References