Juju: Read All Controller Logs From Compromised Workload
cve-program · CVE-2025-68152
PublishedJuju is an open source application orchestration engine that enables any application operation on any infrastructure at any scale through special operators called ‘charms’. From versions 2.9 to before 2.9.56 and 3.6 to before 3.6.19, it is possible that a compromised workload machine under a Juju controller can read any log file for any entity in any model at any level. This issue has been patched in versions 2.9.56 and 3.6.19.
Read the publisher's advisoryeuvd · EUVD-2025-209209
PublishedJuju is an open source application orchestration engine that enables any application operation on any infrastructure at any scale through special operators called ‘charms’. From versions 2.9 to before 2.9.56 and 3.6 to before 3.6.19, it is possible that a compromised workload machine under a Juju controller can read any log file for any entity in any model at any level. This issue has been patched in versions 2.9.56 and 3.6.19.
Read the publisher's advisorynvd · CVE-2025-68152
PublishedJuju is an open source application orchestration engine that enables any application operation on any infrastructure at any scale through special operators called ‘charms’. From versions 2.9 to before 2.9.56 and 3.6 to before 3.6.19, it is possible that a compromised workload machine under a Juju controller can read any log file for any entity in any model at any level. This issue has been patched in versions 2.9.56 and 3.6.19.
Read the publisher's advisoryosv · GHSA-j6f6-jp3p-53mw
Published### Summary It is possible that a compromised workload machine under a Juju controller can read any log file for any entity in any model at any level. There is a debug log endpoint in the API server that allows streaming of logs off of the controller. To access this endpoint you must be authentication and either be a machine agent, controller agent, controller admin or have model read permission. The problematic is the machine agent story. The rest of the other checks have a high enough degree of safety that an attacker can not move side ways in the controller when obtaining log files. ### Details A compromised workload machine is capable of obtaining logs for both the controller and any model under the controller at any log level they wish. A bad actor can use this information as signal for further attacks or possible gain secret information leaked out in debug and trace logs. On top of this they would also be able to receive the logs from the charm itself for which we have no control over. - [here](https://github.com/juju/juju/blob/1a8d84ec114c2e4f9921e30081e5a5549f7cbfc4/apiserver/apiserver.go#L767) is where the authorizer is defined for the endpoint. - [here](https://github.com/juju/juju/blob/1a8d84ec114c2e4f9921e30081e5a5549f7cbfc4/apiserver/debuglog.go#L110) is where the authorizer is checked. - [here](https://github.com/juju/juju/blob/1a8d84ec114c2e4f9921e30081e5a5549f7cbfc4/apiserver/debuglog.go#L115) and onwards is the amount of information the attacker can gain access to. ### PoC If an attacker compromises a workload machine, they will have access to the agent.conf file containing the credentials. This can then be used to obtain debug logs for any part of the controller.
Read the publisher's advisoryosv · GO-2026-5451
PublishedJuju: Read All Controller Logs From Compromised Workload in github.com/juju/juju
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-68152 · CVE overview and exploitation status
cve-program · CVE-2025-68152
- https://github.com/juju/juju/security/advisories/GHSA-j6f6-jp3p-53mw
- https://github.com/juju/juju/commit/22cdcf6b54c2f371822e1c203d4f341be6c9589e
- https://github.com/juju/juju/commit/c91a1f4046956874ba77c8b398aecee3d61a2dc3
euvd · EUVD-2025-209209
- https://github.com/juju/juju/security/advisories/GHSA-j6f6-jp3p-53mw
- https://github.com/juju/juju/commit/22cdcf6b54c2f371822e1c203d4f341be6c9589e
- https://github.com/juju/juju/commit/c91a1f4046956874ba77c8b398aecee3d61a2dc3
nvd · CVE-2025-68152
- https://github.com/juju/juju/commit/22cdcf6b54c2f371822e1c203d4f341be6c9589e
- https://github.com/juju/juju/commit/c91a1f4046956874ba77c8b398aecee3d61a2dc3
- https://github.com/juju/juju/security/advisories/GHSA-j6f6-jp3p-53mw
osv · GHSA-j6f6-jp3p-53mw
- https://github.com/juju/juju/security/advisories/GHSA-j6f6-jp3p-53mw
- https://nvd.nist.gov/vuln/detail/CVE-2025-68152
- https://github.com/juju/juju/commit/22cdcf6b54c2f371822e1c203d4f341be6c9589e
- https://github.com/juju/juju/commit/c91a1f4046956874ba77c8b398aecee3d61a2dc3
- https://github.com/juju/juju
osv · GO-2026-5451
Related changes
Linked by CVE identifierNo related changes are available here.