CVE-2026-5412: Juju CloudSpec API could leak senstive information

Published Apr 10, 2026
·
Updated

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.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
go/github.com/juju/juju<0.0.0-20260408003526-d395054dc2c3
0.0.0-20260408003526-d395054dc2c3
Canonical Juju<2.9.57
Canonical Juju>=3.6<3.6.21

Event History

Apr 10, 2026
CVE Published
via MITRE·12:22 PM
Data Sourced
via MITRE·12:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
RemedyAffected Software
Advisory Published
via GitHub·09:00 PM
Data Sourced
via GitHub·09:00 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5412?

CVE-2026-5412 is considered a high-severity vulnerability as it may lead to unauthorized access to sensitive cloud credentials.

2

How does CVE-2026-5412 affect users?

CVE-2026-5412 affects users by allowing those with login permissions to access sensitive information if they know the controller model UUID.

3

How do I fix CVE-2026-5412?

You can mitigate CVE-2026-5412 by upgrading to the latest version of Juju that addresses the vulnerability.

4

Which versions of Juju are affected by CVE-2026-5412?

CVE-2026-5412 affects Juju versions prior to 0.0.0-20260408003526-d395054dc2c3, 2.9.57, and 3.6.21.

5

Is there any exploit available for CVE-2026-5412?

While specific exploits for CVE-2026-5412 are not detailed, the vulnerability itself poses a risk for credential leakage if not mitigated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203