---
title: "CVE-2026-62325: goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)"
url: https://erroneo.us/security/cve/CVE-2026-62325/
description: "CVE-2026-62325 (github.com/patrickhener/goshs/v2 (Go)): goshs is a feature-rich single-binary file server for red teamers and developers. From 2.1.3 until…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-07-28
date_modified: 2026-07-29
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-62325"
kev: false
cvss: 9.1
epss: 0.00589
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.6% , percentile 47: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 47% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/patrickhener/goshs/v2 (Go) = 2.1.3, fixed in 2.1.4 ; goshs.de/goshs/v2 (Go) = 2.1.3, fixed in 2.1.4 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Go `github.com/patrickhener/goshs/v2` = 2.1.3 → fixed: 2.1.4
- Go `goshs.de/goshs/v2` = 2.1.3 → fixed: 2.1.4

## Affected products (CVE record)

- goshs-labs goshs: >= 2.1.3, < 2.1.4

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.59% probability of exploitation activity in the next 30 days; percentile 47.

## Sources

- [GitHub Advisory GHSA-rjrw-mjq6-hpmm](https://github.com/advisories/GHSA-rjrw-mjq6-hpmm)
- [CVE.org record CVE-2026-62325](https://www.cve.org/CVERecord?id=CVE-2026-62325)
- [NVD entry CVE-2026-62325](https://nvd.nist.gov/vuln/detail/CVE-2026-62325)
- [github.com](https://github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm)
- [github.com](https://github.com/goshs-labs/goshs/commit/32f4a0e1790a709f722d0f3b2341f139d003180a)
- [github.com](https://github.com/goshs-labs/goshs/releases/tag/v2.1.4)

---
Source page: https://erroneo.us/security/cve/CVE-2026-62325/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
