Vulnerability in github.com/juju/juju
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-5412 has been found in github.com/juju/juju.
Successful exploitation can lead to full system takeover.
What to do: upgrade github.com/juju/juju to 0.0.0-20260408003526-d395054dc2c3 or later.
If unsure, ask your IT team or search "github.com/juju/juju CVE-2026-5412" on the vendor's site.
CVE-2026-5412 (github.com/juju/juju) — CWE-285
Attack vector: remote (network-reachable) / no user interaction
Patched: 0.0.0-20260408003526-d395054dc2c3 — apply immediately
Workaround: 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).
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-285) exists in github.com/juju/juju.
Check the vendor advisory for the affected versions of github.com/juju/juju.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 0.0.0-20260408003526-d395054dc2c3.
Workaround: 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).
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/juju/juju' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'github.com/juju/juju' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/juju/jujuを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
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 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). を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade github.com/juju/juju to 0.0.0-20260408003526-d395054dc2c3ステージング環境で 0.0.0-20260408003526-d395054dc2c3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Gogithub.com/juju/juju |
< 0.0.0-20260408003526-d395054dc2c3→ 0.0.0-20260408003526-d395054dc2c3 |
0.0.0-20260408003526-d395054dc2c3 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory nvd.nist.gov
- advisory github.com
- exploit security@ubuntu.com
- package github.com
- patch security@ubuntu.com
- patch security@ubuntu.com
- web github.com