CVE-2026-5412
mediumpriority · track · 26EPSS 0.004 · 39 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6–9.9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-w5fq-8965-c969Juju: CloudSpec method leaking cloud credentials2026-04-10ghsa · osvUS
### Impact If a user has login permission to a controller and knows the controller model UUID, they can call the CloudSpec method on the Controller facade and get cloud credentials used to bootstrap the controller. The CloudSpec API is called by workers running in the controller to maintain connection to the cloud - this aspect is not the issue. The API is also called by the CLI when killing (force destroying a controller with `juju kill-controller`). This is the problematic aspect. The API is exposed to any client caller where that client has nothing more than logon permission on the controller. What should happen is that getting access to the credential should be limited to those client connections where the authenticated user has superuser or model admin permission. This affect 2.9, 3.6, 4.0.6 (snap from 4.0/edge channel). The fix will allow non-confidential, public information like cloud endpoint etc to be read, but only controller superusers or model admins will be able to see the credential details. ### Patches No patch exists. ### Workarounds The only mitigation is to restrict ingress to the controller API port 17070 on all controller machines (for vm deployments) or the controller service (for k8s deployments). The Juju CLI and other clients like libjuju or JAAS require ingress to port 17070 so any restricted access will need to take into account those access requirements.
- GO-2026-5692Juju: CloudSpec method leaking cloud credentials in github.com/juju/juju2026-06-25vendor · osvUS
Juju: CloudSpec method leaking cloud credentials in github.com/juju/juju
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/juju/juju/pull/22205cnnvd
- https://github.com/juju/juju/pull/22206cnnvd
- https://github.com/juju/juju/releasesPatchcnnvd
- https://github.com/juju/juju/security/advisories/GHSA-w5fq-8965-c969cnnvd
- https://github.com/juju/juju/pull/22205enisa_euvd
- https://github.com/juju/juju/pull/22206enisa_euvd
- https://github.com/juju/juju/security/advisories/GHSA-w5fq-8965-c969enisa_euvd
- https://github.com/juju/juju/pull/22205Issue TrackingPatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan