Vulnerabilities in pkg:golang/github.com/argoproj/argo-cd/v2
PACKAGECVE-2022-24905 is a MODERATE (CVSS 4.3) login screen allows message spoofing vulnerability (CWE-20: Improper Input Validation) affecting Argo CD libraries in the Go ecosystem. The issue involves login screen allows message spoofing if sso is enabled. Remediation is available by upgrading affected packages to version 2.3.4, 2.2.9, 2.1.15.
pkg:golang/github.com/argoproj/argo-cd/v2
Vulnerability advisories affecting package pkg:golang/github.com/argoproj/argo-cd/v2. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xmg8-99r8-jc2j | CVE-2022-24905 | MODERATE | Argo CD: Login screen allows message spoofing if SSO is enabled |
| GHSA-fmxq-cgp8-87wp | CVE-2026-77459 | CRITICAL | Argo CD: AppProject destination-namespace and resource restrictions bypassed by PreDelete/PostDelete resource hooks |
| GHSA-j6cw-g6p4-7hch | CVE-2026-55797 | HIGH | Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL |
| GHSA-h98r-wv3h-fr38 | CVE-2026-45738 | HIGH | Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation |
| GHSA-gpx4-37g2-c8pv | CVE-2025-59538 | HIGH | Argo CD Unauthenticated Remote DoS via malformed Azure DevOps git.push webhook |
| GHSA-wp4p-9pxh-cgx2 | CVE-2025-59537 | HIGH | argo-cd vulnerable unauthenticated DoS via malformed Gogs webhook payload |
| GHSA-f9gq-prrc-hrhc | CVE-2025-59531 | HIGH | Unauthenticated argocd-server panic via a malicious Bitbucket-Server webhook payload |
| GHSA-g88p-r42r-ppp9 | CVE-2025-55191 | MODERATE | Repository Credentials Race Condition Crashes Argo CD Server |
| GHSA-786q-9hcg-v9ff | CVE-2025-55190 | CRITICAL | Argo CD's Project API Token Exposes Repository Credentials |
| GHSA-c8xw-vjgf-94hr | CVE-2023-40025 | HIGH | Argo CD web terminal session doesn't expire |
| GHSA-g623-jcgg-mhmm | CVE-2023-50726 | MODERATE | Users with `create` but not `override` privileges can perform local sync |
| GHSA-2hj5-g64g-fp6p | CVE-2025-47933 | CRITICAL | Argo CD allows cross-site scripting on repositories page |
| GHSA-6p4m-hw2h-6gmw | CVE-2023-22736 | HIGH | Controller reconciles apps outside configured namespaces when sharding is enabled |
| GHSA-47g2-qmh2-749v | CVE-2025-23216 | MODERATE | Argo CD does not scrub secret values from patch errors |
| GHSA-x32m-mvfj-52xv | CVE-2024-21652 | CRITICAL | Bypassing Brute Force Protection via Application Crash and In-Memory Data Loss |
| GHSA-mv6w-j4xc-qpfw | CVE-2023-25163 | MODERATE | Argo CD leaks repository credentials in user-facing error messages and in logs |
| GHSA-h4w9-6x78-8vrj | CVE-2022-31035 | CRITICAL | Argo CD's external URLs for Deployments can include JavaScript |
| GHSA-63qx-x74g-jcr7 | CVE-2022-24348 | HIGH | Path traversal and dereference of symlinks in Argo CD |
| GHSA-qq5v-f4c3-395c | CVE-2021-23347 | MODERATE | Possible XSS when using SSO with the CLI in github.com/argoproj/argo-cd/v2 |
| GHSA-v8wx-v5jq-qhhw | CVE-2024-41666 | MODERATE | The Argo CD web terminal session does not handle the revocation of user permissions properly |
| GHSA-jmvp-698c-4x3w | CVE-2024-40634 | HIGH | Argo CD Unauthenticated Denial of Service (DoS) Vulnerability via /api/webhook Endpoint |
| GHSA-9766-5277-j5hr | CVE-2024-31989 | CRITICAL | ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache |
| GHSA-jwv5-8mqv-g387 | CVE-2024-28175 | CRITICAL | Cross-site scripting on application summary component |
| GHSA-6v85-wr92-q4p7 | CVE-2024-21661 | HIGH | Denial of Service (DoS) Vulnerability Due to Unsafe Array Modification in Multi-threaded Environment |
| GHSA-9m6p-x4h2-6frq | CVE-2024-32476 | MODERATE | Argo CD vulnerable to a Denial of Service via malicious jqPathExpressions in ignoreDifferences |
| GHSA-2gvw-w6fj-7m3c | CVE-2024-31990 | MODERATE | Argo CD's API server does not enforce project sourceNamespaces |
| GHSA-jhwx-mhww-rgc3 | CVE-2024-29893 | MODERATE | ArgoCD's repo server has Uncontrolled Resource Consumption vulnerability |
| GHSA-2vgg-9h6w-m454 | CVE-2024-21662 | MODERATE | Bypassing Rate Limit and Brute Force Protection Using Cache Overflow |
| GHSA-92mw-q256-5vwg | CVE-2024-22424 | HIGH | github.com/argoproj/argo-cd Cross-Site Request Forgery vulnerability |
| GHSA-6jqw-jwf5-rp8h | CVE-2023-40026 | MODERATE | Path traversal allows leaking out-of-bound Helm charts from Argo CD repo-server |
| GHSA-g687-f2gx-6wm8 | CVE-2023-40584 | MODERATE | Argo CD repo-server Denial of Service vulnerability |
| GHSA-fwr2-64vr-xv9m | CVE-2023-40029 | CRITICAL | Argo CD cluster secret might leak in cluster details page |
| GHSA-96jv-vj39-x4j6 | CVE-2022-1025 | HIGH | Argo CD improper access control bug can allow malicious user to escalate privileges to admin level |
| GHSA-2q5c-qw9c-fmvq | CVE-2022-41354 | MODERATE | Argo CD authenticated but unauthorized users may enumerate Application names via the API |
| GHSA-jhqp-vf4w-rpwq | CVE-2022-31016 | MODERATE | DoS through large manifest files in Argo CD |
| GHSA-q4w5-4gq2-98vm | CVE-2022-31036 | MODERATE | Symlink following allows leaking out-of-bounds YAML files from Argo CD repo-server |
| GHSA-2m7h-86qq-fp4v | CVE-2022-31034 | HIGH | Insecure entropy in Argo CD's PKCE/Oauth2/OIDC params |
| GHSA-r642-gv9p-2wjj | CVE-2022-29165 | CRITICAL | Argo CD will blindly trust JWT claims if anonymous access is enabled |
| GHSA-6gcg-hp2x-q54h | CVE-2022-24904 | MODERATE | Symlink following allows leaking out-of-bound manifests and JSON files from Argo CD repo-server |
CVE-2022-24905 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2022-24905
To remediate this vulnerability, upgrade all affected Argo CD dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/argoproj/argo-cd/v2 to 2.3.4
Upgrade github.com/argoproj/argo-cd/v2 to 2.2.9
Upgrade github.com/argoproj/argo-cd/v2 to 2.1.15
Upgrade github.com/argoproj/argo-cd to 2.1.15
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/argoproj/argo-cd/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-24905, inspect your project dependencies for Argo CD:
inspect dependencies for github.com/argoproj/argo-cd/v2
Analyze the terminal output to locate any version of Argo CD in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Argo CD, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-24905 Affected Argo CD Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.3.0
< 2.3.4
|
2.3.4
|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.2.0
< 2.2.9
|
2.2.9
|
|
github.com/argoproj/argo-cd/v2
|
Go |
≥ 2.0.0
< 2.1.15
|
2.1.15
|
|
github.com/argoproj/argo-cd
|
Go |
< 2.1.15
|
2.1.15
|
References
Frequently Asked Questions
What is CVE-2022-24905?
Which Argo CD versions are affected?
What version fixes CVE-2022-24905?
Is github.com/argoproj/argo-cd/v2 affected?
Is github.com/argoproj/argo-cd affected?
What is the CVSS score of CVE-2022-24905?
What CWE is associated with CVE-2022-24905?
How can I check Go dependencies for CVE-2022-24905?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xmg8-99r8-jc2j",
"modified" : "2026-11-20T23:55:07Z",
"published" : "2022-05-24T12:26:59Z",
"aliases" : [ "CVE-2022-24905" ],
"summary" : "Argo CD: Login screen allows message spoofing if SSO is enabled",
"details" : "### Impact\n\nA vulnerability was found in Argo CD that allows an attacker to spoof error messages on the login screen when SSO is enabled.\n\nIn order to exploit this vulnerability, an attacker would have to trick the victim to visit a specially crafted URL which contains the message to be displayed.\n\nAs far as the research of the Argo CD team concluded, it is not possible to specify any active content (e.g. Javascript) or other HTML fragments (e.g. clickable links) in the spoofed message.\n\n### Patched versions\n\nA patch for this vulnerability has been released in the following Argo CD versions:\n\n* v2.3.4\n* v2.2.9\n* v2.1.15\n\n### Workarounds\n\nNo workaround available.\n\n#### Mitigations\n\nIt is advised to update to an Argo CD version containing a fix for this issue (see *Patched versions* above).\n\n### Credits\n\nThis vulnerability was discovered by Naufal Septiadi (<naufal@horangi.com>) and reported to us in a responsible way. \n\n### For more information\n\n<!-- Use only one of the paragraphs below. Remove all others. -->\n\n<!-- For Argo CD -->\n\n* Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.1.15"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/argo-cd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.15"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.8.7"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/security/advisories/GHSA-xmg8-99r8-jc2j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24905"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/argoproj/argo-cd"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/releases/tag/v2.1.15"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/releases/tag/v2.2.9"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/releases/tag/v2.3.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-24T12:26:59Z",
"nvd_published_at" : "2022-05-20T14:15:00Z"
}
}