CVE-2026-5774: Canonical Juju race condition in API server userTokens map
CVE-2026-5774 · Severity: medium · CVSS 6.4 · Published 2026-04-10
A race condition in the Canonical Juju API server's token management allows authenticated users to cause a denial of service or reuse single-use discharge tokens.
Yes. github.com/juju/juju (Go): upgrade to 0.0.0-20260408003526-d395054dc2c3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-5774?
Check whether you run github.com/juju/juju (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
github.com/juju/juju (Go): upgrade to 0.0.0-20260408003526-d395054dc2c3 or later
go get github.com/juju/juju@v0.0.0-20260408003526-d395054dc2c3