Insertion of Sensitive Information into Log File Affecting goshs.de/goshs/v2/httpserver package, versions >=2.0.0-beta.4 <2.0.0-beta.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOSHSDEGOSHSV2HTTPSERVER-16316093
  • published29 Apr 2026
  • disclosed22 Apr 2026
  • creditR1ZZG0D

Introduced: 22 Apr 2026

CVE-2026-40885  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade goshs.de/goshs/v2/httpserver to version 2.0.0-beta.6 or higher.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the collaborator websocket feed, which broadcasts raw request headers, including sensitive authorization data, before access control is enforced. An attacker can gain unauthorized access to protected resources by capturing and replaying basic authentication headers from observed requests.

CVSS Base Scores

version 4.0
version 3.1