CVE-2026-41589
Full vulnerability record from the local CVENow database.
Description
Wish is an SSH server with defaults and a collection of middlewares. From version 2.0.0 to before version 2.0.1, the SCP middleware in charm.land/wish/v2 is vulnerable to path traversal attacks. A malicious SCP client can read arbitrary files from the server, write arbitrary files to the server, and create directories outside the configured root directory by sending crafted filenames containing ../ sequences over the SCP protocol. This issue has been patched in version 2.0.1.
Severity
CRITICAL
CVSS score
9.6
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-05-07 14:16:02.853000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
"id": "CVE-2026-41589",
"sourceIdentifier": "[email protected]",
"published": "2026-05-07T14:16:02.853",
"lastModified": "2026-10-26T21:10:00.170",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Wish is an SSH server with defaults and a collection of middlewares. From version 2.0.0 to before version 2.0.1, the SCP middleware in charm.land/wish/v2 is vulnerable to path traversal attacks. A malicious SCP client can read arbitrary files from the server, write arbitrary files to the server, and create directories outside the configured root directory by sending crafted filenames containing ../ sequences over the SCP protocol. This issue has been patched in version 2.0.1."
},
{
"lang": "es",
"value": "Wish es un servidor SSH con valores predeterminados y una colección de middlewares. Desde la versión 2.0.0 hasta antes de la versión 2.0.1, el middleware SCP en charm.land/wish/v2 es vulnerable a ataques de salto de ruta. Un cliente SCP malicioso puede leer archivos arbitrarios del servidor, escribir archivos arbitrarios en el servidor y crear directorios fuera del directorio raíz configurado enviando nombres de archivo manipulados que contengan secuencias .. / a través del protocolo SCP. Este problema ha sido parcheado en la versión 2.0.1."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "charmbracelet",
"product": "wish",
"versions": [
{
"version": ">= 2.0.0, < 2.0.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
"baseScore": 9.6,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.1,
"impactScore": 5.8
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-07T14:38:51.636811Z",
"id": "CVE-2026-41589",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:charm:wish:2.0.0:*:*:*:*:*:*:*",
"matchCriteriaId": "68764D40-A084-40D8-84FA-F5EEFCD72FF2"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/charmbracelet/wish/releases/tag/v2.0.1",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h",
"source": "[email protected]",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
},
{
"url": "https://github.com/charmbracelet/wish/security/advisories/GHSA-xjvp-7243-rg9h",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
}
]
}