CVE-2025-61141
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-10-30 20:15:39.263000
Last modified
2026-11-05 22:10:00.203000
View original CVE JSON
{
"id": "CVE-2025-61141",
"sourceIdentifier": "[email protected]",
"published": "2025-10-30T20:15:39.263",
"lastModified": "2026-11-05T22:10:00.203",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "sqls-server/sqls 0.2.28 es vulnerable a inyección de comandos en el comando config porque la función openEditor pasa la variable de entorno EDITOR y la ruta del archivo de configuración a sh -c sin sanitización, permitiendo a los atacantes ejecutar comandos arbitrarios."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-30T21:01:33.407390Z",
"id": "CVE-2025-61141",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-77"
}
]
}
],
"references": [
{
"url": "https://advisory.dw1.io/54/",
"source": "[email protected]"
},
{
"url": "https://github.com/sqls-server/sqls/",
"source": "[email protected]"
},
{
"url": "https://lukmanern.github.io/CVE-2025-61141.html",
"source": "[email protected]"
}
]
}