CVE-2026-62325goshs-labs goshs
Critical 9.1 No auth needed
Follow: this CVE · goshs-labs · goshs-labs goshs We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 28, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-306
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for goshs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/patrickhener/goshs/v2 |
≥ 2.1.3 < 2.1.4 |
2.1.4 |
go get github.com/patrickhener/goshs/v2@v2.1.4 |
| Go | goshs.de/goshs |
all |
no fixed version | — |
| Go | goshs.de/goshs/v2 |
≥ 2.1.3 < 2.1.4 |
2.1.4 |
go get goshs.de/goshs/v2@v2.1.4 |
| Go | goshs.de/goshs/v2 |
≥ 2.1.3 < 2.1.4 |
2.1.4 |
go get goshs.de/goshs/v2@v2.1.4 |
Per OSV / GitHub Advisories (GHSA-rjrw-mjq6-hpmm, GO-2026-6132). Check the version in your lockfile before upgrading.
Affected products
- goshs-labs · goshs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23625-1 · Sep 4, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21761-1 · Sep 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.