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.
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.
Affected software
| Software | Affected versions |
|---|---|
Argo CDServers and applications · github:argoproj/argo-cd |
|
About Argo CD
Declarative Continuous Deployment for Kubernetes
- 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
Source code Website Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 3.6 | 3.6.2 | Yes |
| 3.5 | 3.5.8 | Yes |
| 3.4 | 3.4.14 | Yes |
| 3.3 | 3.3.19 | Ended 4 Nov 2026 |
| 3.2 | 3.2.12 | Ended 4 Aug 2026 |
| 3.1 | 3.1.16 | Ended 5 May 2026 |
From endoflife.date.
Vulnerabilities in Argo CD
- In our list
- 79
- Published in the last 12 months
- 24
- Critical, last 12 months
- 5
- High, last 12 months
- 12
- Known exploited
- 0
- GHSA-w7rw-fg89-2cjfA single unauthenticated request crashes the API serverHigh 7.5 24 Nov 2026
- GHSA-rxm8-qc6h-3c8hHelm chart home link allows stored XSS in the application details viewHigh 7.3 24 Nov 2026
- GHSA-rvmf-gjc9-wjgqApplicationSet delete API ignores the allowed ApplicationSet namespacesHigh 7.1 24 Nov 2026
- GHSA-mfgm-4p7x-3ccrRepository create with upsert overwrites existing repositories without the update permissionHigh 7.7 24 Nov 2026
- GHSA-v2hj-322q-6cg4Helm release name is evaluated as a template, disclosing repo-server environment variablesMedium 6.5 24 Nov 2026
- GHSA-hr74-g9pw-j38mApplicationSet cluster generator exposes cluster credentials through the last-applied-configuration annotationHigh 7.7 20 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-8cfq-7w4v-ggm3
- github.com https://github.com/argoproj/argo-cd/security/advisories/GHSA-8cfq-7w4v-ggm3