Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-22424

HIGH 8.4PoCEPSS 44%

Cross-Site Request Forgery (CSRF) in github.com/argoproj/argo-cd

Also known as GHSA-92mw-q256-5vwg

Mitigation

  • Upgrade github.com/argoproj/argo-cd/v2 to one of 2.7.16, 2.8.8, 2.9.4, 2.10-rc2 (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/argoproj/argo-cd (>= 0.1.0, <= 1.8.7)
  • Projects that depend on Go package github.com/argoproj/argo-cd/v2 (< 2.7.16)
  • Anyone running argoproj argo-cd >= 0.1.0, < 2.7.15; >= 2.8.0, < 2.8.8; >= 2.9.0, < 2.9.4; >= 2.10.0-rc1, < 2.10-rc2

Vulnerability facts

Affected
github.com/argoproj/argo-cd >= 0.1.0, <= 1.8.7; github.com/argoproj/argo-cd/v2 < 2.7.16
Fixed in
2.7.16, 2.8.8, 2.9.4, 2.10-rc2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
8.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.61% chance of exploitation in 30 days (percentile 44, 2026-11-26)
CWE
CWE-352
Published
Modified

Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. The Argo CD API prior to versions 2.10-rc2, 2.9.4, 2.8.8, and 2.7.15 are vulnerable to a cross-server request forgery (CSRF) attack when the attacker has the ability to write HTML to a page on the same parent domain as Argo CD. A CSRF attack works by tricking an authenticated Argo CD user into loading a web page which contains code to call Argo CD API endpoints on the victim’s behalf. For example, an attacker could send an Argo CD user a link to a page which looks harmless but in the background calls an Argo CD API endpoint to create an application running malicious code. Argo CD uses the “Lax” SameSite cookie policy to prevent CSRF attacks where the attacker controls an external domain. The malicious external website can attempt to call the Argo CD API, but the web browser will refuse to send the Argo CD auth token with the request. Many companies host Argo CD on an internal subdomain. If an attacker can place malicious code on, for example, https://test.internal.example.com/, they can still perform a CSRF attack. In this case, the “Lax” SameSite cookie does not prevent the browser from sending the auth cookie, because the destination is a parent domain of the Argo CD API. Browsers generally block such attacks by applying CORS policies to sensitive requests with sensitive content types. Specifically, browsers will send a “preflight request” for POSTs with content type “application/json” asking the destination API “are you allowed to accept requests from my domain?” If the destination API does not answer “yes,” the browser will block the request. Before the patched versions, Argo CD did not validate that requests contained the correct content type header. So an attacker could bypass the browser’s CORS check by setting the content type to something which is considered “not sensitive” such as “text/plain.” The browser wouldn’t send the preflight request, and Argo CD would happily accept the contents (which are actually still JSON) and perform the requested action (such as running malicious code). A patch for this vulnerability has been released in the following Argo CD versions: 2.10-rc2, 2.9.4, 2.8.8, and 2.7.15. The patch contains a breaking API change. The Argo CD API will no longer accept non-GET requests which do not specify application/json as their Content-Type. The accepted content types list is configurable, and it is possible (but discouraged) to disable the content type check completely. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/argoproj/argo-cd>= 0.1.0, <= 1.8.7—osv
Go github.com/argoproj/argo-cd/v2< 2.7.162.7.16, 2.8.8, 2.9.4, 2.10-rc2osv
argoproj argo-cd>= 0.1.0, < 2.7.15; >= 2.8.0, < 2.8.8; >= 2.9.0, < 2.9.4; >= 2.10.0-rc1, < 2.10-rc2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-22424. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-22424.md
Affected: github.com/argoproj/argo-cd >= 0.1.0, <= 1.8.7; github.com/argoproj/argo-cd/v2 < 2.7.16
Fixed in: 2.7.16, 2.8.8, 2.9.4, 2.10-rc2

Steps:
1. Search this machine and project for github.com/argoproj/argo-cd (Go), github.com/argoproj/argo-cd/v2 (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.

References

FAQ

Is CVE-2024-22424 being exploited?

There is no confirmed exploitation: CVE-2024-22424 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-22424?

High: CVSS 8.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-22424?

github.com/argoproj/argo-cd >= 0.1.0, <= 1.8.7; github.com/argoproj/argo-cd/v2 < 2.7.16.

Is there a fix for CVE-2024-22424?

Yes. Fixed in 2.7.16, 2.8.8, 2.9.4, 2.10-rc2. Upgrade github.com/argoproj/argo-cd/v2 to one of 2.7.16, 2.8.8, 2.9.4, 2.10-rc2 (or later in the same release line).

How do I check if I'm affected by CVE-2024-22424?

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.

Sponsors