CVE-2026-62325
Received Received - Intake

Authentication Bypass in goshs via Empty Password

Vulnerability report for CVE-2026-62325, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-28

Last updated on: 2026-07-28

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-28
Last Modified
2026-07-28
Generated
2026-07-29
AI Q&A
2026-07-29
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in goshs versions 2.1.3 to 2.1.4 allows unauthenticated file access via SFTP due to improper authentication handling. The password handler incorrectly checked for non-empty username and password, but when run with -b 'admin:' -sftp and no -fkf, both SFTP authentication handlers were bypassed.

Detection Guidance

Check if goshs version 2.1.3 or 2.1.4 is running. Verify if SFTP authentication is enabled without proper password checks by inspecting command-line arguments like -b 'admin:' -sftp without -fkf.

Impact Analysis

An attacker could exploit this to access files without authentication, potentially stealing sensitive data or modifying files. The high CVSS score (9.1) indicates a critical risk with network exposure and no user interaction required.

Compliance Impact

This vulnerability could lead to unauthorized data access, violating GDPR (data protection) and HIPAA (health data privacy) requirements for access controls and data security.

Mitigation Strategies

Upgrade goshs to version 2.1.4 or later to fix the authentication bypass issue. Ensure SFTP authentication requires valid credentials by using proper command-line arguments.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-62325. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart