---
title: "CVE-2026-5412: Juju: CloudSpec method leaking cloud credentials"
url: https://erroneo.us/security/cve/CVE-2026-5412/
description: "CVE-2026-5412 (github.com/juju/juju (Go)): In Juju versions prior to 2.9.57 and 3.6.21, an authorization issue exists in the Controller facade. An…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-10
date_modified: 2026-04-10
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-5412"
kev: false
cvss: 9.9
epss: 0.00484
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-5412: Juju: CloudSpec method leaking cloud credentials

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.5% , percentile 41: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 41% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/juju/juju (Go) < 0.0.0-20260408003526-d395054dc2c3, fixed in 0.0.0-20260408003526-d395054dc2c3 . Check your lockfile, including transitive dependencies.

## What it is

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

- Go `github.com/juju/juju` < 0.0.0-20260408003526-d395054dc2c3 → fixed: 0.0.0-20260408003526-d395054dc2c3

## Affected products (CVE record)

- Canonical Juju: 2.9.0 < 2.9.57, 3.6.0 < 3.6.21

## Severity

- canonical CVSS 3.1: 9.9 `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 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.48% probability of exploitation activity in the next 30 days; percentile 41.

## Sources

- [CloudSpec method leaking cloud credentials](https://github.com/juju/juju/security/advisories/GHSA-w5fq-8965-c969)
- [github.com](https://github.com/juju/juju/pull/22206)
- [github.com](https://github.com/juju/juju/pull/22205)
- [GitHub Advisory GHSA-w5fq-8965-c969](https://github.com/advisories/GHSA-w5fq-8965-c969)
- [CVE.org record CVE-2026-5412](https://www.cve.org/CVERecord?id=CVE-2026-5412)
- [NVD entry CVE-2026-5412](https://nvd.nist.gov/vuln/detail/CVE-2026-5412)

---
Source page: https://erroneo.us/security/cve/CVE-2026-5412/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
