ghsa-f9f4-5859-29mf
Vulnerability from github
Published
2025-10-30 21:30
Modified
2025-11-05 22:15
Severity ?
VLAI Severity ?
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.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/sqls-server/sqls"
},
"versions": [
"0.2.28"
]
}
],
"aliases": [
"CVE-2025-61141"
],
"database_specific": {
"cwe_ids": [
"CWE-77"
],
"github_reviewed": true,
"github_reviewed_at": "2025-10-31T17:55:40Z",
"nvd_published_at": "2025-10-30T20:15:39Z",
"severity": "HIGH"
},
"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.\n\nThis issue has been patched via commit https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797.",
"id": "GHSA-f9f4-5859-29mf",
"modified": "2025-11-05T22:15:57Z",
"published": "2025-10-30T21:30:46Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61141"
},
{
"type": "WEB",
"url": "https://github.com/sqls-server/sqls/commit/468a23fc89af89f632cc023a10c031e4bc781797"
},
{
"type": "WEB",
"url": "https://advisory.dw1.io/54"
},
{
"type": "PACKAGE",
"url": "https://github.com/sqls-server/sqls"
},
{
"type": "WEB",
"url": "https://lukmanern.github.io/CVE-2025-61141.html"
},
{
"type": "WEB",
"url": "https://pkg.go.dev/vuln/GO-2025-4088"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "sqls-server/sqls is vulnerable to command injection in the config command "
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…