Read the docs
TI-2026-44497 Aliases CVE-2026-62325GHSA-rjrw-mjq6-hpmm

goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)

Priority HIGH 80CWE-306Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-306.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00426 37th percentileScored 2026-11-07
Fix Fixed goshs (goshs-labs): 2.1.4github.com/patrickhener/goshs/v2 (Go): 2.1.4+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
goshs-labsgoshs2.1.3 to before 2.1.42.1.4Patch availableCNA
—github.com/patrickhener/goshs/v2 (Go)2.1.3 to before 2.1.42.1.4Patch availableGHSA-rjrw-mjq6-hpmm
—goshs.de/goshs/v2 (Go)2.1.3 to before 2.1.42.1.4Patch availableGHSA-rjrw-mjq6-hpmm
  • goshs Vendorgoshs-labs Affected 2.1.3 to before 2.1.4 Fixed in 2.1.4 Patch available CNA
  • github.com/patrickhener/goshs/v2 (Go) Vendor— Affected 2.1.3 to before 2.1.4 Fixed in 2.1.4 Patch available GHSA-rjrw-mjq6-hpmm
  • goshs.de/goshs/v2 (Go) Vendor— Affected 2.1.3 to before 2.1.4 Fixed in 2.1.4 Patch available GHSA-rjrw-mjq6-hpmm

Remediation

  • Fix · CNA goshs (goshs-labs) Fixed in 2.1.4
  • Fix · GHSA-rjrw-mjq6-hpmm github.com/patrickhener/goshs/v2 (Go) Fixed in 2.1.4 Advisory →
  • Fix · GHSA-rjrw-mjq6-hpmm goshs.de/goshs/v2 (Go) Fixed in 2.1.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-62325
  2. 2026-10-03 Alias added: GHSA-rjrw-mjq6-hpmm

References

  • TI-2026-46372 goshs --no-delete WebDAV MOVE bypass allows file deletion/overwrite CVSS 3.1CRITICAL 9.1
  • TI-2026-39533 Missing authorization in goshs-labs goshs CVSS 3.1HIGH 7.5
  • TI-2026-47040 goshs has a Path Traversal issue CVSS 3.1MEDIUM 6.5
  • TI-2026-47041 goshs has ACL Bypass & Path Traversal CVSS 3.1MEDIUM 5.3

Sources