Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect ownership assignment
|
| Impact | The CVSS 3.1 score of 5.3 reflects a Medium-severity vulnerability with specific characteristics: the attack vector is Network (AV:N), requiring an attacker to be on the same network or reachable via the Juju controller API; Attack Complexity is High (AC:H), indicating the race condition requires precise timing or repeated attempts; Privileges Required are Low (PR:L), as the attacker must be an authenticated unit agent; User Interaction is None (UI:N); Scope is Unchanged (S:U); and the impact is Confidentiality High (C:H) with no integrity or availability impact. This CVSS vector accurately reflects the real-world risk: while confidentiality impact is severe, exploitation demands both authentication and exploitation difficulty. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public proof-of-concept code has been widely distributed, suggesting active exploitation in the wild is limited but plausible given that Juju is used in enterprise cloud environments. The EPSS score (if available) would likely be moderate, as the attack requires internal network access and unit agent credentials. The real priority depends on organizational exposure: environments with multi-tenant Juju deployments, untrusted unit agents, or sensitive secrets managed via Juju should prioritize patching immediately. Environments with strict network segmentation and trusted-only unit agents face lower practical risk but should still treat this as a medium-priority remediation. |
| Exploit ScenarioDerived | An attacker with credentials for a malicious unit agent deployed in a Juju model observes or predicts that another unit is about to create a new secret (e.g., by monitoring model logs or API calls). The attacker quickly issues an ownership claim for that secret ID before the legitimate unit finishes initializing the secret's first revision. The Juju controller, due to the race condition, assigns ownership to the attacker's unit instead of the intended owner. The attacker can then read the secret's content, obtaining sensitive data such as database passwords, API keys, or encryption material. This scenario is most likely in multi-tenant or hostile environments where untrusted units share a model, or in scenarios where an attacker has compromised a unit's credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
Juju 3.0.0 through 3.6.18 contains a race condition in secrets management that allows authenticated unit agents to intercept and claim ownership of newly created secrets due to a timing window between secret ID generation and revision creation. An attacker with valid unit agent credentials can exploit this to read the initial content of secrets intended for other units. The vulnerability requires local authentication and manual interaction but results in high-impact confidentiality disclosure with no available patch.
Earlier versions of this analysis (1)
A race condition exists in Juju's secrets management subsystem (versions 3.0.0 through 3.6.18) that allows an authenticated unit agent to claim ownership of a newly initialized secret before its first revision is created. An attacker with valid unit agent credentials can exploit a timing window between secret ID generation and initial revision creation to read the secret's content, resulting in unauthorized information disclosure. This vulnerability requires authentication and careful timing but poses a direct confidentiality risk to secrets stored within affected Juju deployments.
RemediationAI
Upgrade Juju to version 3.6.19 or later to resolve this vulnerability. Canonical has released patched versions that implement proper synchronization and ownership validation in the secrets initialization workflow. Until patching is feasible, restrict access to the Juju controller API to trusted unit agents only by implementing network-level access controls and reviewing unit agent credentials and roles within the model. Additionally, audit existing secrets within affected models to identify any unauthorized ownership claims or access patterns, and consider rotating secrets that may have been exposed. For detailed patch information and release notes, consult the official advisory at https://github.com/juju/juju/security/advisories/GHSA-gfgr-6hrj-85ww and update via Canonical's official Juju channels.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Juju is an orchestration and modeling platform developed by Canonical for managing cloud applications and infrastructure. The vulnerability exists in the secrets management subsystem, which handles creation, storage, and access control for sensitive data within Juju models. The root cause is classified as CWE-708 (Incorrect Ownership Assignment), which describes a flaw where security-critical attributes (in this case, secret ownership) are assigned to the wrong entity due to improper synchronization. The race condition occurs between two discrete operations: (1) generation of a unique Juju Secret ID, and (2) creation of the secret's first revision with proper ownership metadata. A unit agent authenticated to the Juju controller can observe or predict a newly created secret ID and insert an ownership claim before the legitimate owner finalizes the secret's initialization, causing the system to incorrectly attribute ownership to the attacking unit. The affected product is identified via CPE cpe:2.0:a:canonical:juju:*:*:*:*:*:*:*:* for all versions in the 3.0.0 to 3.6.18 range.
Know when Juju gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A race condition in the secrets management subsystem of Juju versions 3.0.0 through 3.6.18 allows an authenticated unit agent to claim ownership of a newly initialized secret. Between generating a Juju Secret ID and creating the secret's first revision, an attacker authenticated as another unit agent can claim ownership of a known secret. This leads to the attacking unit being able to read the content of the initial secret revision.
Executive ViewAI
Organizations using the secrets management subsystem of Juju should be aware of moderate risk from CVE-2026-32691 rated CVSS 5.3. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Juju Secrets Management Authorization
View all 3Juju before 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3 uses a UNIX domain socket without setting appropriate pe
In Juju versions prior to 3.6.8 and 2.9.52, any authenticated controller user was allowed to upload arbitrary agent bina
The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on t
JUJU_CONTEXT_ID is a predictable authentication secret. Rated high severity (CVSS 8.0), this vulnerability is low attack
The /log endpoint on a Juju controller lacked sufficient authorization checks, allowing unauthorized users to access deb
Unauthenticated remote database cluster compromise in Canonical Juju (versions 3.2.0-3.6.19 and 4.0-4.0.4) allows comple
Authorization bypass in Canonical Juju Controller facade allows authenticated users to extract bootstrap cloud credentia
An issue was discovered in Juju that resulted in the leak of the sensitive context ID, which allows a local unprivileged
Unauthorized resource modification in Juju application orchestration engine allows any authenticated controller user to
Juju application orchestration engine versions 2.9 to 2.9.55 and 3.6 to 3.6.18 allow a compromised workload machine to r
Same weakness CWE-708 – Incorrect Ownership Assignment
View allSame technique Information Disclosure
View allVendor StatusVendor
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| (unstable) | fixed | (unfixed) | - |
SUSE
Severity: Medium| Product | Status |
|---|---|
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-12815
GHSA-gfgr-6hrj-85ww
NVD
CVE.org
EPSS
VulDB
Exploit-DB