goshs is a feature-rich single-binary file server for red teamers and developers. From 2.1.3 until 2.1.4, the sftpserver/sftpserver.go password handler used Username != "" && Password != "", so running goshs with -b 'admin:' -sftp and no -fkf left both SFTP authentication handlers unset and allowed unauthenticated file access. This issue is fixed in version 2.1.4.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-306"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62325.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.1.3"
},
{
"fixed": "2.1.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "32f4a0e1790a709f722d0f3b2341f139d003180a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.1.4",
"range": [
{
"fixed": "d4e775d5a84d662d426bc19a95d9b990a97d60e4"
}
],
"source": "REFERENCES_TAG"
}
]
}