CVE-2026-62325

Critical

Description

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductGithub.com/patrickhener/goshs/v2
PublishedJul 28, 2026
First seenJul 28, 2026

How to fix

Update
  • github.com/patrickhener/goshs/v22.1.4 or later
  • goshs.de/goshs/v22.1.4 or later

Affected products

ProductAffected versionsFixed in
github.com/patrickhener/goshs/v2Go2.1.3 ≤ v < 2.1.42.1.4
goshs.de/goshs/v2Go2.1.3 ≤ v < 2.1.42.1.4
goshs.de/goshsGoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-62325 · Github.com/patrickhener/goshs/v2 · Dark Radar