# CVE-2023-40584: Denial of Service to Argo CD repo-server

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.48% (percentile 74, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** BIT-argo-cd-2023-40584, GHSA-g687-f2gx-6wm8, GO-2023-2050
- **Published:** 2023-09-07T22:14:58.573Z
- **Modified:** 2026-06-17T06:18:34.933Z

## Who should check

- Projects that depend on Go package github.com/argoproj/argo-cd/v2 (\>= 2.4.0, \< 2.6.15)
- Projects that depend on Go package github.com/argoproj/argo-cd
- Anyone running argoproj argo-cd \>= 2.4.0, \< 2.6.15; \>= 2.7.0, \< 2.7.14; \>= 2.8.0, \< 2.8.3

## Description

Argo CD is a declarative continuous deployment for Kubernetes. All versions of ArgoCD starting from v2.4 have a bug where the ArgoCD repo-server component is vulnerable to a Denial-of-Service attack vector. Specifically, the said component extracts a user-controlled tar.gz file without validating the size of its inner files. As a result, a malicious, low-privileged user can send a malicious tar.gz file that exploits this vulnerability to the repo-server, thereby harming the system's functionality and availability. Additionally, the repo-server is susceptible to another vulnerability due to the fact that it does not check the extracted file permissions before attempting to delete them. Consequently, an attacker can craft a malicious tar.gz archive in a way that prevents the deletion of its inner files when the manifest generation process is completed. A patch for this vulnerability has been released in versions 2.6.15, 2.7.14, and 2.8.3. Users are advised to upgrade. The only way to completely resolve the issue is to upgrade, however users unable to upgrade should configure RBAC (Role-Based Access Control) and provide access for configuring applications only to a limited number of administrators. These administrators should utilize trusted and verified Helm charts.

## Affected and fixed versions

- Go `github.com/argoproj/argo-cd/v2`: affected \>= 2.4.0, \< 2.6.15; fixed 2.6.15, 2.7.14, 2.8.3 (osv)
- Go `github.com/argoproj/argo-cd`: affected see advisory; fixed no fix listed yet (osv)
- argoproj argo-cd: \>= 2.4.0, \< 2.6.15; \>= 2.7.0, \< 2.7.14; \>= 2.8.0, \< 2.8.3 (cvelist)

## Mitigation

- Upgrade github.com/argoproj/argo-cd/v2 to one of 2.6.15, 2.7.14, 2.8.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-40584. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-40584.md
Affected: github.com/argoproj/argo-cd/v2 >= 2.4.0, < 2.6.15; github.com/argoproj/argo-cd
Fixed in: 2.6.15, 2.7.14, 2.8.3

Steps:
1. Search this machine and project for github.com/argoproj/argo-cd/v2 (Go), github.com/argoproj/argo-cd (Go), argoproj argo-cd: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-40584 being exploited?

There is no confirmed exploitation: CVE-2023-40584 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.48% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-40584?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-40584?

github.com/argoproj/argo-cd/v2 \>= 2.4.0, \< 2.6.15; github.com/argoproj/argo-cd.

### Is there a fix for CVE-2023-40584?

Yes. Fixed in 2.6.15, 2.7.14, 2.8.3. Upgrade github.com/argoproj/argo-cd/v2 to one of 2.6.15, 2.7.14, 2.8.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-40584?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/argoproj/argo-cd/security/advisories/GHSA-g687-f2gx-6wm8>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-40584>
- patch: <https://github.com/argoproj/argo-cd/commit/b8f92c4ff226346624f43de3f25d81dac6386674>
- patch: <https://github.com/argoproj/argo-cd/commit/1391ba72149655e4884d357586d3201f15bc92dc>
- other: <https://github.com/argoproj/argo-cd>
- other: <https://github.com/argoproj/argo-cd/releases/tag/v2.6.15>
- other: <https://github.com/argoproj/argo-cd/releases/tag/v2.7.14>
- other: <https://github.com/argoproj/argo-cd/releases/tag/v2.8.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-40584>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g687-f2gx-6wm8> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2023-2050> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-40584> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-40584>
