Live threats

All CVEs / goshs-labs

CVE-2026-62325goshs-labs goshs

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for goshs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.