All vulnerabilities

Servers and applications

GHSA-8cfq-7w4v-ggm3

Generated Dex configuration containing SSO secrets is written world-readable

Severity
Medium 6.5
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
2.0.0, 3.4.15, 3.5.9, 3.6.3
Weakness
Sensitive information in files or directories (CWE-538)Incorrect permissions on a critical resource (CWE-732)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

When Dex is enabled, the argocd-dex-server builds the Dex configuration from argocd-cm and resolves every $secret reference into its plaintext value before starting Dex. It writes that resolved configuration to /tmp/dex.yaml with world-readable permissions (0644). The file holds the OAuth2 client secret Argo CD uses with Dex, plus every connector credential: OIDC client secrets, GitHub and GitLab OAuth application secrets, LDAP bind passwords, and any other secret referenced from dex.config. The argocd-dex gendexcfg -o command writes the same resolved configuration to the given file with the same world-readable permissions.

Any local user or process that can see the file and runs under a different user ID than Dex can read all of these secrets. With them, an attacker can authenticate to the upstream identity providers as Argo CD's registered application. An OAuth application that is shared with other services is exposed for those services too.

From argoproj/argo-cd's security advisory. Shortened; the full text is there.

Workarounds

  • Do not add sidecars or other containers to the argocd-dex-server pod that mount its /tmp volume while running under a different user ID than Dex.
  • When you use argocd-dex gendexcfg, write the output file into a directory that only you can read (or run the command with umask 077), and delete the file when you no longer need it.
  • If you do not need Dex, configure Argo CD against your existing OIDC provider directly and do not run argocd-dex-server.
Workarounds as given by argoproj/argo-cd's security advisory.

Affected software

SoftwareAffected versions
Argo CDServers and applications · github:argoproj/argo-cd
  • From 0.3.3 before 2.0.0
  • From 2.0.0 before 3.4.15
  • From 3.5 before 3.5.9
  • From 3.6 before 3.6.3

About Argo CD

Declarative Continuous Deployment for Kubernetes

From its GitHub repository.
Docker Hub pulls
149,277,303Docker Hub, 22 Nov 2026
GitHub stars
24,671GitHub, 22 Nov 2026
Forks
8,111GitHub, 22 Nov 2026
Latest release
v3.6.2GitHub, 22 Nov 2026
Released
18 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
9 Feb 2018GitHub

Release lines

ReleaseLatestSecurity fixes
3.63.6.2Yes
3.53.5.8Yes
3.43.4.14Yes
3.33.3.19Ended 4 Nov 2026
3.23.2.12Ended 4 Aug 2026
3.13.1.16Ended 5 May 2026

From endoflife.date.

References