Vulnerability · Published Mar 18, 2026 · Assigned by canonical
CVE-2026-32694Insecure Direct Object Reference attack via predictable secret ID in Juju
Medium 6.6
In plain English
A medium-severity authorization bypass via user-controlled key in Juju from Canonical. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In Juju from version 3.0.0 through 3.6.18, when a secret owner grants permissions to a secret to a grantee, the secret owner relies exclusively on a predictable XID of the secret to verify ownership. This allows a malicious grantee which can request secrets to predict past secrets granted by the same secret owner to different grantees, allowing them to use the resources granted by those past secrets. Successful exploitation relies on a very specific configuration, specific data semantic, and the administrator having the need to deploy at least two different applications, one of them controlled by the attacker.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/juju/juju | 0.0.0-20260319091847-d06919eb03ec | GHSA-5cj2-rqqf-hx9p |
| Go | github.com/juju/juju | 0.0.0-20260319091847-d06919eb03ec | GO-2026-4778 |
Affected products (as reported)
Weakness: CWE-343, CWE-639 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/juju/juju/security/advisories/GHSA-5cj2-rqqf-hx9p vendor-advisory, vdb-entry