Missing Authorization Affecting goshs.de/goshs/v2/httpserver package, versions <2.0.0-beta.4


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.65% (47th 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 Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOSHSDEGOSHSV2HTTPSERVER-16304803
  • published29 Apr 2026
  • disclosed10 Apr 2026
  • creditR1ZZG0D

Introduced: 10 Apr 2026

CVE-2026-40189  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Missing Authorization due to missing authorization checks in state-changing routes. An attacker can upload or delete files, create directories, and remove access control policies by sending unauthenticated requests to endpoints such as PUT, multipart POST to /upload, or using ?mkdir and ?delete parameters.

CVSS Base Scores

version 4.0
version 3.1