CVE-2026-5774 Juju API Server Denial of Service and Authentication Replay via Unsynchronized Token Map

Medium 6.1 Published Updated

An authenticated user can cause a denial of service or reuse discharge tokens due to unsynchronized token maps in the Juju API server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-5774?

CVE-2026-5774 is a medium-severity vulnerability in Canonical Juju, published on 10 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper synchronization of the userTokens map in the API server in Canonical Juju 4.0.5, 3.6.20, and 2.9.56 may allow an authenticated user to possibly cause a denial of service on the server or possibly reuse a single-use discharge token.

Weakness: CWE-362

Which versions are affected by CVE-2026-5774?

3 open source packages ship an affected version, including github.com/juju/juju. It affects 1 product.

PackageAffectedFixed in
github.com/juju/juju GoAll versions0.0.0-20260408003526-d395054dc2c3
github.com/juju/juju GoAll versions0.0.0-20260408003526-d395054dc2c3
github.com/juju/juju GoAll versions0.0.0-20260408003526-d395054dc2c3

Products include Canonical Juju.

How do I fix CVE-2026-5774?

Upgrade github.com/juju/juju to 0.0.0-20260408003526-d395054dc2c3 or later.

Is CVE-2026-5774 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5774 exists.

Sources

Also known as GHSA-7m55-2hr4-pw78, GO-2026-5228.

Is CVE-2026-5774 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free