CVE-2026-62325GO-2026-6132GHSA-RJRW-MJQ6-HPMM
goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.1.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: poc
- Automatable: yes
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- goshs-labs goshs
From 2.1.3 · fixed in 2.1.4
- goshs.de/goshsGo
All versions
- goshs.de/goshs/v2Go
From 2.1.3 · fixed in 2.1.4
- github.com/patrickhener/goshs/v2Go
From 2.1.3 · fixed in 2.1.4
- goshs.de/goshs/v2Go
From 2.1.3 · fixed in 2.1.4