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.
Published: 2026-04-10
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service and Token Replay
Action: Patch Now
AI Analysis

Impact

An authentication race condition in the Juju API server’s userTokens map allows a logged‑in user to manipulate token processing. The flaw can lead to two adverse outcomes: it may corrupt the map and bring the server down, or it can enable reuse of a single‑use discharge token, undermining the intended one‑time authenticity guarantee. This is a classic race condition (CWE‑362).

Affected Systems

Canonical’s Juju platform versions 4.0.5, 3.6.20 and 2.9.56 are vulnerable and should be upgraded if in use.

Risk and Exploitability

The CVSS score is 6.1, indicating a moderate severity. No EPSS data is available and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. An attacker must be authenticated to exploit the flaw, but once authenticated the potential to cause service interruption or bypass token restrictions makes timely remediation critical.

Generated by OpenCVE AI on April 10, 2026 at 13:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Juju release that contains the fix for the userTokens map synchronization issue.
  • If an upgrade is not immediately possible, restrict API server access to trusted users and monitor for unusual token usage patterns.

Generated by OpenCVE AI on April 10, 2026 at 13:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-7m55-2hr4-pw78 Juju: In-Memory Token Store for Discharge Tokens Lacks Concurrency Safety and Persistence
History

Wed, 22 Apr 2026 21:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H'}


Fri, 10 Apr 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical juju
Vendors & Products Canonical
Canonical juju

Fri, 10 Apr 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Apr 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title Juju API Server Denial of Service and Authentication Replay via Unsynchronized Token Map
Weaknesses CWE-362
References
Metrics cvssV4_0

{'score': 6.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-04-10T12:41:28.720Z

Reserved: 2026-04-08T07:22:06.115Z

Link: CVE-2026-5774

cve-icon Vulnrichment

Updated: 2026-04-10T12:41:02.565Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-10T13:16:46.070

Modified: 2026-04-22T20:46:45.453

Link: CVE-2026-5774

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-13T13:06:05Z

Weaknesses