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

- Severity: Critical 9.9 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-10T12:22:05.403Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-w5fq-8965-c969, GO-2026-5692
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- juju: from 2.9.0 before 2.9.57; from 3.6.0 before 3.6.21
- github.com/juju/juju (Go): before 0.0.0-20260408003526-d395054dc2c3
- canonical juju: before 2.9.57; from 3.6 before 3.6.21

## Every score

- canonical: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/juju/juju/security/advisories/GHSA-w5fq-8965-c969> (exploit, advisory, third-party-advisory, vdb-entry, vendor-advisory, web)
- <https://github.com/juju/juju/pull/22206> (fix, issue-tracking, patch, web)
- <https://github.com/juju/juju/pull/22205> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5412> (advisory)
- <https://github.com/juju/juju> (package)

## Sources

- CVE List: [CVE-2026-5412](https://www.cve.org/CVERecord?id=CVE-2026-5412), CVE Terms of Use, modified 2026-04-10
- GitHub Advisory Database: [GHSA-w5fq-8965-c969](https://github.com/advisories/GHSA-w5fq-8965-c969), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5692](https://pkg.go.dev/vuln/GO-2026-5692), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-5412](https://nvd.nist.gov/vuln/detail/CVE-2026-5412), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-5412 · Whole record: https://cve.day/CVE-2026-5412.json · Rebuilt by cve.day 2026-11-25T22:59:18.492Z
