Skip to content
Heist/ feed
Back to feed
Medium

Insecure Direct Object Reference attack via predictable secret ID in Juju

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-32694
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 20:24 UTC · Revision 1

Source evidence

Insecure Direct Object Reference attack via predictable secret ID in Juju

core-osv · Original source

Published 18 Mar 2026, 12:55 UTC

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.

osv:CVE-2026-32694
Complete source record
{
  "id": "62113319c4d7f4e81a7b9a86045cbd96d184324eb4cabae9f9223ea0ff600f6c",
  "url": "https://osv.dev/vulnerability/CVE-2026-32694",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Insecure Direct Object Reference attack via predictable secret ID in Juju",
    "summary": "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.",
    "evidence": "osv:CVE-2026-32694",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-32694",
      "aliases": [
        "CVE-2026-32694",
        "GHSA-5cj2-rqqf-hx9p",
        "GO-2026-4778"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/juju/juju",
              "type": "GIT",
              "events": [
                {
                  "introduced": "35c560704ee254219ae0c4a37810bde5278e99bb"
                },
                {
                  "fixed": "5a261e58fcd3bd366b36229bfd1c46e6b3b61402"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.6.19"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.6.19"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32694.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.854392004Z",
      "provider": "osv",
      "references": [
        "https://github.com/juju/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32694.json",
        "https://github.com/juju/juju/security/advisories/GHSA-5cj2-rqqf-hx9p",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-32694",
        "https://github.com/juju/juju"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-343",
          "CWE-639"
        ],
        "cna_assigner": "canonical",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32694.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32694",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520295,
  "published_at": "2026-03-18T12:55:42.948+00:00"
}