SCA: security update for github.com/patrickhener/goshs/v2, goshs.de/goshs/v2 (GHSA-rjrw-mjq6-hpmm)

critical Tenable Self-Hosted Container Security Plugin ID 445429

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-62325)

Solution

Update the github.com/patrickhener/goshs/v2 library and its related packages to version 2.1.4 or later.

See Also

https://github.com/advisories/GHSA-rjrw-mjq6-hpmm

Plugin Details

Severity: Critical

ID: 445429

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 7/29/2026

Updated: 7/29/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.63

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2026-62325

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/28/2026

Vulnerability Publication Date: 7/28/2026

Reference Information

CVE: CVE-2026-62325

cwe: CWE-306