Vulnerabilities in pkg:golang/github.com/argoproj/argo-cd
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
Vulnerability advisories affecting package pkg:golang/github.com/argoproj/argo-cd. 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-h98r-wv3h-fr38 | CVE-2026-45738 | HIGH | Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation |
| 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-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-47g2-qmh2-749v | CVE-2025-23216 | MODERATE | Argo CD does not scrub secret values from patch errors |
| 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-h8jc-jmrf-9h8f | CVE-2020-8828 | HIGH | Argo CD Insecure default administrative password |
| GHSA-xcqr-9h24-vrgw | CVE-2020-8827 | HIGH | Improper Restriction of Excessive Authentication Attempts in Argo API |
| GHSA-jmvp-698c-4x3w | CVE-2024-40634 | HIGH | Argo CD Unauthenticated Denial of Service (DoS) Vulnerability via /api/webhook Endpoint |
| GHSA-3cqf-953p-h5cp | CVE-2024-36106 | MODERATE | Argo-cd authenticated users can enumerate clusters by name |
| 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-92mw-q256-5vwg | CVE-2024-22424 | HIGH | github.com/argoproj/argo-cd Cross-Site Request Forgery vulnerability |
| GHSA-xj7v-c82w-92q2 | CVE-2018-21034 | MODERATE | Argo Exposure of Sensitive Information |
| GHSA-vj54-cjrx-x696 | CVE-2020-11576 | MODERATE | Observable Discrepancy in Argo |
| GHSA-6jqw-jwf5-rp8h | CVE-2023-40026 | MODERATE | Path traversal allows leaking out-of-bound Helm charts from Argo CD repo-server |
| 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-3jfq-742w-xg8j | CVE-2023-23947 | CRITICAL | Users with any cluster secret update access may update out-of-bounds cluster secrets |
| GHSA-q9hr-j4rf-8fjc | CVE-2023-22482 | CRITICAL | JWT audience claim is not verified |
| GHSA-pmjg-52h9-72qv | CVE-2022-31102 | LOW | Argo CD SSO users vulnerable to Cross-site Scripting |
| GHSA-7943-82jg-wmw5 | CVE-2022-31105 | HIGH | Argo CD certificate verification is skipped for connections to OIDC providers |
| 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-2f5v-8r3f-8pww | CVE-2022-24768 | CRITICAL | Improper access control allows admin privilege escalation in Argo CD |
| GHSA-h6h5-6fmq-rh28 | CVE-2022-24731 | MODERATE | Path traversal allows leaking out-of-bound files from Argo CD repo-server |
| GHSA-r9cr-hvjj-496v | CVE-2022-24730 | HIGH | Path traversal and improper access control allows leaking out-of-bound files from Argo CD repo-server |
| GHSA-6w87-g839-9wv7 | - | MODERATE | Helm OCI credentials leaked into Argo CD logs |
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"
}
}