SCA: security update for github.com/patrickhener/goshs/v2 (GHSA-jrq5-hg6x-j6g3)

medium Tenable Cloud Security Plugin ID 440360

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 contains a cross-site
request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already
authenticated browser to trigger destructive actions such as ?delete and ?mkdir because goshs relies on
HTTP basic auth alone and performs no CSRF, Origin, or Referer validation for those routes. This
vulnerability is fixed in 2.0.0-beta.6. (CVE-2026-40883)

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-jrq5-hg6x-j6g3

Plugin Details

Severity: Medium

ID: 440360

Version: Revision 1.8

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.3

Percentile: 53.59

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-40883

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.1

Threat Score: 5.6

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/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-40883

cwe: CWE-352