Juju affected by timing ownership claim attack on new external back-end secrets
Date: 2026-03
Affected: go/github.com/juju/juju
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-32691
CWE: CWE-708
CVSS: 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N)

A race condition in the secrets management subsystem of Juju versions 3.0.0 through 3.6.18 allows an authenticated unit agent to claim ownership of a newly initialized secret. Between generating a Juju Secret ID and creating the secret's first revision, an attacker authenticated as another unit agent can claim ownership of a known secret. This leads to the attacking unit being able to read the content of the initial secret revision. ### Impact Between generating a Secret ID and creating the secret's first revision, an attacker authenticated as another unit agent can claim ownership of a known secret. This leads to the attacking unit being able to read the content of the initial secret revision. ### Patches 3.6.19


Mitigations:

Architectural layers (MAESTRO):