Vulnerability · Published Apr 10, 2026 · Assigned by canonical
CVE-2026-5412Juju CloudSpec API could leak senstive information
Critical 9.9
In plain English
A critical-severity security flaw in Juju from Canonical. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In Juju versions prior to 2.9.57 and 3.6.21, an authorization issue exists in the Controller facade. An authenticated user can call the CloudSpec API method to extract the cloud credentials used to bootstrap the controller. This allows a low-privileged user to access sensitive credentials. This issue is resolved in Juju versions 2.9.57 and 3.6.21.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/juju/juju | 0.0.0-20260408003526-d395054dc2c3 | GO-2026-5692 |
| Go | github.com/juju/juju | 0.0.0-20260408003526-d395054dc2c3 | GHSA-w5fq-8965-c969 |
Affected products (as reported)
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- CloudSpec method leaking cloud credentials vdb-entry, vendor-advisory
- https://github.com/juju/juju/pull/22206 patch, issue-tracking
- https://github.com/juju/juju/pull/22205 patch, issue-tracking