SCA: security update for github.com/patrickhener/goshs/v2 (GHSA-7h3j-592v-jcrp)

high Tenable Cloud Security Plugin ID 440382

Description

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

- goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs leaks file-based ACL
credentials through its public collaborator feed when the server is deployed without global basic auth.
Requests to .goshs-protected folders are logged before authorization is enforced, and the collaborator
websocket broadcasts raw request headers, including Authorization. An unauthenticated observer can capture
a victim's folder-specific basic-auth header and replay it to read, upload, overwrite, and delete files
inside the protected subtree. This vulnerability is fixed in 2.0.0-beta.6. (CVE-2026-40885)

Solution

Update the github.com/patrickhener/goshs/v2 library and its related packages to version 2.0.0-beta.6 or later.

See Also

https://github.com/advisories/GHSA-7h3j-592v-jcrp

Plugin Details

Severity: High

ID: 440382

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 4/15/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-40885

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 7.7

Threat Score: 6.8

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/14/2026

Vulnerability Publication Date: 4/14/2026

Reference Information

CVE: CVE-2026-40885

cwe: CWE-200