Skip to main content
← All vulnerabilities
CVE-2026-44883GO-2026-5480GHSA-JVP4-Q659-95MJ

Portainer: JWT accepted in URL query leaks tokens to logs and referers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.33.8, 2.39.2, 2.41.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. From 2.33.0 to before 2.33.8, 2.39.2, and 2.41.0, Portainer's authentication middleware accepts JWT bearer tokens passed as the ?token=<JWT> URL query parameter on any authenticated API endpoint, in addition to the standard Authorization: Bearer header. URLs are recorded in reverse-proxy access logs, browser history, and HTTP Referer headers on outbound navigation, so any JWT passed this way can be harvested by anyone with access to those logs or by an external site the user subsequently visits. A leaked token grants the full privileges of the user it was issued to, until the token expires (default 8 hours, configurable). The ?token= parameter was used by Portainer's browser-based container attach, exec, and pod shell features, so any user with exec or attach rights on a container was exposed — not only administrators. This vulnerability is fixed in 2.33.8, 2.39.2, and 2.41.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • portainer portainer

    From 2.33.0 · fixed in 2.33.8; From 2.39.0 · fixed in 2.39.2; From 2.40.0 · fixed in 2.41.0

  • github.com/portainer/portainerGo

    All versions

  • github.com/portainer/portainerGo

    From 2.33.0 · fixed in 2.33.8

  • github.com/portainer/portainerGo

    From 2.39.0 · fixed in 2.39.2

  • github.com/portainer/portainerGo

    From 2.40.0 · fixed in 2.41.0

References 1

GitHub · portainer/portainer