Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/patrickhener/goshs
  4. ›
  5. GHSA-c29w-qq4m-2gcv

GHSA-c29w-qq4m-2gcv: Empty-username SFTP password authentication bypass in goshs

April 14, 2026

goshs contains an SFTP authentication bypass when the documented empty-username basic-auth syntax is used. If the server is started with -b ':pass' together with -sftp, goshs accepts that configuration but does not install any SFTP password handler. As a result, an unauthenticated network attacker can connect to the SFTP service and access files without a password. I reproduced this on the latest release v2.0.0-beta.5.

References

  • github.com/advisories/GHSA-c29w-qq4m-2gcv
  • github.com/patrickhener/goshs
  • github.com/patrickhener/goshs/security/advisories/GHSA-c29w-qq4m-2gcv

Code Behaviors & Features

Detect and mitigate GHSA-c29w-qq4m-2gcv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.1.4

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function

Source file

go/github.com/patrickhener/goshs/GHSA-c29w-qq4m-2gcv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.