Use of GET Request Method With Sensitive Query Strings Affecting github.com/portainer/portainer/api/http/handler/websocket package, versions <2.33.8>=2.39.0 <2.39.2>=2.40.0 <2.41.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (37th 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 IDSNYK-GOLANG-GITHUBCOMPORTAINERPORTAINERAPIHTTPHANDLERWEBSOCKET-17710335
  • published30 Jun 2026
  • disclosed14 May 2026
  • creditUnknown

Introduced: 14 May 2026

CVE-2026-44883  (opens in a new tab)
CWE-598  (opens in a new tab)

How to fix?

Upgrade github.com/portainer/portainer/api/http/handler/websocket to version 2.33.8, 2.39.2, 2.41.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of GET Request Method With Sensitive Query Strings in the extractBearerToken process. An attacker can gain unauthorized access to user accounts and perform actions with the privileges of the compromised user by obtaining a JWT token from logs, browser history, or HTTP referer headers where the token was exposed in the URL query parameter. This is only exploitable if an attacker is able to access logs, browser history, or referer headers containing the leaked token.

Workaround

This vulnerability can be mitigated by stripping the token query parameter at the reverse proxy, auditing logs for exposed tokens, and avoiding sharing URLs containing the token parameter.

CVSS Base Scores

version 4.0
version 3.1