Advisory

GHSA-f9f4-5859-29mf

Also known as: CVE-2025-61141, GO-2025-4088

Summary

sqls-server/sqls is vulnerable to command injection in the config command

Details

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 https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-10-30 21:30 UTC
Modified
2025-11-05 22:15 UTC

Affected packages and fixes

github.com/sqls-server/sqls

Go · All systems

Affected

  • Versions: 0.2.28

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences