Description
Juju before 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3 uses a UNIX domain socket without setting appropriate permissions, allowing privilege escalation by users on the system to root.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | juju-core | 2.0.2-0ubuntu0.16.04.2 | USN-3300-1 |
| Ubuntu 16.04 LTS | juju-core-1 | 1.25.6-0ubuntu1.16.04.2 | — |
| Ubuntu 14.04 LTS | juju-core | 1.25.6-0ubuntu1.14.04.2 | USN-3300-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250424T181457-1.1 | openSUSE-SU-2025:15033-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Juju-run Agent Privilege Escalation
exploit/linux/local/juju_run_agent_priv_esc
Exploit-DB 1
- Juju-run Agent - Privilege Escalation (Metasploit) EDB-44023 · local · Feb 12, 2018 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/juju/juju | < 0.0.0-20170524231039-0417178a3c28 | 0.0.0-20170524231039-0417178a3c28 | GHSA-j3hp-pv6v-rgrx |
Advisories 2
- USN-3300-1 juju-core vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2025:15033-1 govulncheck-vulndb-0.0.20250424T181457-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- https://bugs.launchpad.net/juju/+bug/1682411
- 44023 exploit
- 98737 vdb-entry