CVE-2026-32691: Github.com/juju/juju Juju Affected By Timing Ownership Vulnerability

MODERATE
Advisory Identifier: GHSA-gfgr-6hrj-85ww
CVSS 5.3
CWE-708
Published
Advisory Summary

CVE-2026-32691 is a MODERATE (CVSS 5.3) juju affected by timing ownership vulnerability (CWE-708: Incorrect Ownership Assignment) affecting Github.com/juju/juju libraries in the Go ecosystem. The issue involves juju affected by timing ownership claim attack on new external back-end secrets. Remediation is available by upgrading affected packages to version 3.6.19.

CVE-2026-32691 at a Glance

CVE Identifier CVE-2026-32691
GHSA Identifier GHSA-gfgr-6hrj-85ww
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-708: Incorrect Ownership Assignment
Affected Product Github.com/juju/juju
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-32691

To remediate this vulnerability, upgrade all affected Github.com/juju/juju dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/juju/juju fixed: 3.6.19
Upgrade github.com/juju/juju to 3.6.19
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/juju/juju

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-32691, inspect your project dependencies for Github.com/juju/juju:

inspect dependencies for github.com/juju/juju

Analyze the terminal output to locate any version of Github.com/juju/juju in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.19), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-708: Incorrect Ownership Assignment, where the product assigns an owner to a resource, but the owner is outside of the intended control sphere. In Github.com/juju/juju, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-32691 Affected Github.com/juju/juju Versions

1 component(s)
Fixed Versions:
3.6.19
Product / Package Ecosystem Affected Versions Fixed Version
github.com/juju/juju
Go
≥ 3.0.0
< 3.6.19
3.6.19

References

Frequently Asked Questions

What is CVE-2026-32691?
CVE-2026-32691 is a security vulnerability in Github.com/juju/juju involving Juju affected by timing ownership claim attack on new external back-end secrets under CWE-708: Incorrect Ownership Assignment.
Which Github.com/juju/juju versions are affected?
Affected versions include releases prior to 3.6.19 across affected packages: github.com/juju/juju.
What version fixes CVE-2026-32691?
Upgrading to 3.6.19 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/juju/juju affected?
Yes, github.com/juju/juju is affected in releases prior to 3.6.19. Upgrade your dependency to 3.6.19 or later.
What is the CVSS score of CVE-2026-32691?
CVE-2026-32691 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-32691?
CVE-2026-32691 is classified under CWE-708: Incorrect Ownership Assignment (The product assigns an owner to a resource, but the owner is outside of the intended control sphere.).
How can I check Go dependencies for CVE-2026-32691?
Run the dependency tree command: 'inspect dependencies for github.com/juju/juju'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gfgr-6hrj-85ww",
  "modified" : "2026-03-19T12:42:52Z",
  "published" : "2026-03-19T12:42:52Z",
  "aliases" : [ "CVE-2026-32691" ],
  "summary" : "Juju affected by timing ownership claim attack on new external back-end secrets",
  "details" : "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.\n\n### Impact\nBetween generating a Secret ID and creating the secret's first revision, an\nattacker authenticated as another unit agent can claim ownership of a known\nsecret. This leads to the attacking unit being able to read the content of the\ninitial secret revision.\n\n### Patches\n3.6.19",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/juju/juju"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.6.19"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/juju/juju/security/advisories/GHSA-gfgr-6hrj-85ww"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32691"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/juju/juju"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-708" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-19T12:42:52Z",
    "nvd_published_at" : "2026-03-18T13:16:18Z"
  }
}