CVE-2023-0092 Juju controller - Arbitrary file reading vulnerability
Authenticated users with read access can download arbitrary files from the Juju controller filesystem via path traversal.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-0092?
CVE-2023-0092 is a medium-severity path traversal vulnerability in Canonical Ltd. Juju, published on 31 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An authenticated user who has read access to the juju controller model, may construct a remote request to download an arbitrary file from the controller's filesystem.
Weakness: CWE-22
Which versions are affected by CVE-2023-0092?
4 open source packages ship an affected version, including github.com/juju/juju. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/juju/juju Go | From 2.9.22 | 2.9.38 |
github.com/juju/juju Go | From 2.9.22 | 2.9.38 |
github.com/juju/juju Go | From 3.0.0 | 3.0.3 |
github.com/juju/juju Go | From 3.0.0 | 3.0.3 |
Products include Canonical Juju.
How do I fix CVE-2023-0092?
Upgrade github.com/juju/juju to a fixed version for your release line: 2.9.38 or 3.0.3.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-0092 being exploited?
There is no known exploitation of CVE-2023-0092 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ltd. Juju
- CVE-2026-4370 Improper TLS Client/Server authentication and certificate verification on Database Cluster
- CVE-2026-5412 Juju CloudSpec API could leak senstive information
- CVE-2017-9232 Juju uses a UNIX domain socket without setting appropriate permissions
- CVE-2026-32693 Unauthorized access to Kubernetes secrets in Juju
- CVE-2025-0928 Arbitrary executable upload via authenticated endpoint
Sources
Also known as GHSA-x5rv-w9pm-8qp8.