{"id":"CVE-2024-41666","aliases":["BIT-argo-cd-2024-41666","GHSA-v8wx-v5jq-qhhw","GO-2024-3006"],"summary":"The Argo CD web terminal session does not handle the revocation of user permissions properly.","published_at":"2024-07-24T00:00:00Z","modified_at":"2026-09-08T08:45:48.553526Z","products":[{"slug":"argo-cd","name":"Argo CD","category":"gitops-cicd"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006850000005215406,"percentile":0.5340099930763245,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"details":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD has a Web-based terminal that allows users to get a shell inside a running pod, just as they would with kubectl exec. Starting in version 2.6.0, when the administrator enables this function and grants permission to the user `p, role:myrole, exec, create, */*, allow`, even if the user revokes this permission, the user can still perform operations in the container, as long as the user keeps the terminal view open for a long time. Although the token expiration and revocation of the user are fixed, however, the fix does not address the situation of revocation of only user `p, role:myrole, exec, create, */*, allow` permissions, which may still lead to the leakage of sensitive information. A patch for this vulnerability has been released in Argo CD versions 2.11.7, 2.10.16, and 2.9.21.","affected_stack":[{"ecosystem":"Bitnami","package":"argo-cd","purl":"pkg:bitnami/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"2.6.0"},{"fixed":"2.11.7"}]}],"fixed":["2.11.7"],"provider":"osv","source":"BIT-argo-cd-2024-41666","relation":"self"},{"ecosystem":"CVE","package":"argoproj/argo-cd","versions":[">= 2.6.0, < 2.9.21",">= 2.10.0, < 2.10.16",">= 2.11.0, < 2.11.7"],"provider":"cvelistv5","source":"CVE-2024-41666","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-3006","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.6.0"},{"fixed":"2.9.21"}]}],"fixed":["2.9.21"],"provider":"osv","source":"GHSA-v8wx-v5jq-qhhw","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.10.0"},{"fixed":"2.10.16"}]}],"fixed":["2.10.16"],"provider":"osv","source":"GHSA-v8wx-v5jq-qhhw","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.11.0"},{"fixed":"2.11.7"}]}],"fixed":["2.11.7"],"provider":"osv","source":"GHSA-v8wx-v5jq-qhhw","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.6.0"},{"fixed":"2.9.21"},{"introduced":"2.10.0"},{"fixed":"2.10.16"},{"introduced":"2.11.0"},{"fixed":"2.11.7"}]}],"fixed":["2.9.21","2.10.16","2.11.7"],"provider":"osv","source":"GO-2024-3006","relation":"self"},{"ecosystem":"NVD","package":"argoproj:argo_cd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.9.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"fixed":"2.10.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.11.0"},{"fixed":"2.11.7"}]}],"fixed":["2.9.21","2.10.16","2.11.7"],"provider":"nvd","source":"CVE-2024-41666","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"affected","packages":["openshift-gitops-1/argocd-rhel8","openshift-gitops-1/argocd-rhel9","openshift-gitops-1/gitops-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2024-41666"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-41666","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-41666","license":"CC-BY-4.0","published_at":"2024-07-24T17:16:37.73Z","modified_at":"2024-08-12T21:02:57.505Z","summary":"The Argo CD web terminal session does not handle the revocation of user permissions properly.","details":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD has a Web-based terminal that allows users to get a shell inside a running pod, just as they would with kubectl exec. Starting in version 2.6.0, when the administrator enables this function and grants permission to the user `p, role:myrole, exec, create, */*, allow`, even if the user revokes this permission, the user can still perform operations in the container, as long as the user keeps the terminal view open for a long time. Although the token expiration and revocation of the user are fixed, however, the fix does not address the situation of revocation of only user `p, role:myrole, exec, create, */*, allow` permissions, which may still lead to the leakage of sensitive information. A patch for this vulnerability has been released in Argo CD versions 2.11.7, 2.10.16, and 2.9.21.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2024-41666"}],"affected":[{"ecosystem":"CVE","package":"argoproj/argo-cd","versions":[">= 2.6.0, < 2.9.21",">= 2.10.0, < 2.10.16",">= 2.11.0, < 2.11.7"],"provider":"cvelistv5","source":"CVE-2024-41666","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4"},{"type":"WEB","url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing"}]},{"provider":"nvd","source_id":"CVE-2024-41666","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41666","severity":[],"affected":[{"ecosystem":"NVD","package":"argoproj:argo_cd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.9.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.10.0"},{"fixed":"2.10.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.11.0"},{"fixed":"2.11.7"}]}],"fixed":["2.9.21","2.10.16","2.11.7"],"provider":"nvd","source":"CVE-2024-41666","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-argo-cd-2024-41666","relation":"self","url":"https://osv.dev/vulnerability/BIT-argo-cd-2024-41666","license":"Apache-2.0","published_at":"2024-07-26T07:16:03.155Z","modified_at":"2026-09-08T08:45:48.553526Z","summary":"The Argo CD web terminal session does not handle the revocation of user permissions properly.","details":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD has a Web-based terminal that allows users to get a shell inside a running pod, just as they would with kubectl exec. Starting in version 2.6.0, when the administrator enables this function and grants permission to the user `p, role:myrole, exec, create, */*, allow`, even if the user revokes this permission, the user can still perform operations in the container, as long as the user keeps the terminal view open for a long time. Although the token expiration and revocation of the user are fixed, however, the fix does not address the situation of revocation of only user `p, role:myrole, exec, create, */*, allow` permissions, which may still lead to the leakage of sensitive information. A patch for this vulnerability has been released in Argo CD versions 2.11.7, 2.10.16, and 2.9.21.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"BIT-argo-cd-2024-41666"}],"affected":[{"ecosystem":"Bitnami","package":"argo-cd","purl":"pkg:bitnami/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"2.6.0"},{"fixed":"2.11.7"}]}],"fixed":["2.11.7"],"provider":"osv","source":"BIT-argo-cd-2024-41666","relation":"self"}],"product_status":[],"references":[{"type":"EVIDENCE","url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4"},{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41666"}]},{"provider":"osv","source_id":"GHSA-v8wx-v5jq-qhhw","relation":"self","url":"https://osv.dev/vulnerability/GHSA-v8wx-v5jq-qhhw","license":"CC-BY-4.0","published_at":"2024-07-24T20:54:02Z","modified_at":"2026-08-07T08:12:11.755591Z","summary":"The Argo CD web terminal session does not handle the revocation of user permissions properly","details":"Argo CD v2.11.3 and before, discovering that even if the user's ```p, role:myrole, exec, create, */*, allow``` permissions are revoked, the user can still send any Websocket message, which allows the user to view sensitive information. Even though they shouldn't have such access.\n\n## Description\nArgo CD has a Web-based terminal that allows you to get a shell inside a running pod, just like you would with kubectl exec. However, when the administrator enables this function and grants permission to the user ```p, role:myrole, exec, create, */*, allow```, even if the user revokes this permission, the user can still perform operations in the container, as long as the user keeps the terminal view open for a long time. CVE-2023-40025 Although the token expiration and revocation of the user are fixed, however, the fix does not address the situation of revocation of only user ```p, role:myrole, exec, create, */*, allow``` permissions, which may still lead to the leakage of sensitive information.\n\n### Patches\nA patch for this vulnerability has been released in the following Argo CD versions:\n\nv2.11.7\nv2.10.16\nv2.9.21\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\nJoin us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd\n\n### Credits\nThis vulnerability was found & reported by \nShengjie Li, Huazhong University of Science and Technology\nZhi Li, Huazhong University of Science and Technology\nWeijie Liu, Nankai University\n\nThe Argo team would like to thank these contributors for their responsible disclosure and constructive communications during the resolve of this issue","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","source":"GHSA-v8wx-v5jq-qhhw"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","source":"GHSA-v8wx-v5jq-qhhw"}],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.6.0"},{"fixed":"2.9.21"}]}],"fixed":["2.9.21"],"provider":"osv","source":"GHSA-v8wx-v5jq-qhhw","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.10.0"},{"fixed":"2.10.16"}]}],"fixed":["2.10.16"],"provider":"osv","source":"GHSA-v8wx-v5jq-qhhw","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.11.0"},{"fixed":"2.11.7"}]}],"fixed":["2.11.7"],"provider":"osv","source":"GHSA-v8wx-v5jq-qhhw","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41666"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4"},{"type":"WEB","url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-cd"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3006"}]},{"provider":"osv","source_id":"GO-2024-3006","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-3006","license":"CC-BY-4.0","published_at":"2024-08-06T22:03:16Z","modified_at":"2026-08-07T08:12:25.302408Z","summary":"The Argo CD web terminal session does not handle the revocation of user permissions properly in github.com/argoproj/argo-cd","details":"The Argo CD web terminal session does not handle the revocation of user permissions properly in github.com/argoproj/argo-cd","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-3006","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.6.0"},{"fixed":"2.9.21"},{"introduced":"2.10.0"},{"fixed":"2.10.16"},{"introduced":"2.11.0"},{"fixed":"2.11.7"}]}],"fixed":["2.9.21","2.10.16","2.11.7"],"provider":"osv","source":"GO-2024-3006","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41666"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4"},{"type":"WEB","url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing"}]},{"provider":"redhat-vex","source_id":"CVE-2024-41666","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-41666","license":"CC-BY-4.0","published_at":"2024-07-24T00:00:00Z","modified_at":"2024-09-17T14:03:18Z","summary":"argocd: The Argo CD web terminal session does not handle the revocation of user permissions properly.","details":"A vulnerability was found in ArgoCD's web-based terminal. This issue may allow a user to continue sending WebSocket messages and access sensitive information even after their p, role:myrole, exec, create, */*, and allow permissions are revoked. The terminal session remains active as long as it is kept open, enabling unauthorized operations within the container, allowing an attacker to maintain the terminal session to gain access and view sensitive data despite revoked permissions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2024-41666"},{"type":"Red Hat","score":"Moderate","source":"CVE-2024-41666"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"affected","packages":["openshift-gitops-1/argocd-rhel8","openshift-gitops-1/argocd-rhel9","openshift-gitops-1/gitops-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2024-41666"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-41666.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-41666"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2299725"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-41666"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41666"},{"type":"WEB","url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw"}]}],"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-v8wx-v5jq-qhhw"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/05edb2a9ca48f0f10608c1b49fbb0cf7164f6476"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/e96f32d233504101ddac028a5bf8117433d333d6"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/ef535230d8bd8ad7b18aab1ea1063e9751d348c4"},{"type":"WEB","url":"https://drive.google.com/file/d/1Fynj5Sho8Lf8CETqsNXZyPKlTDdmgJuN/view?usp=sharing"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41666"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-cd"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3006"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-41666.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-41666"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2299725"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-41666"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-41666","url":"https://www.cve.org/CVERecord?id=CVE-2024-41666","license":"CC-BY-4.0","modified_at":"2024-08-12T21:02:57.505Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-41666","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41666","relation":"self"},{"provider":"osv","source_id":"BIT-argo-cd-2024-41666","url":"https://osv.dev/vulnerability/BIT-argo-cd-2024-41666","license":"Apache-2.0","modified_at":"2026-09-08T08:45:48.553526Z","relation":"self"},{"provider":"osv","source_id":"GHSA-v8wx-v5jq-qhhw","url":"https://osv.dev/vulnerability/GHSA-v8wx-v5jq-qhhw","license":"CC-BY-4.0","modified_at":"2026-08-07T08:12:11.755591Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-3006","url":"https://osv.dev/vulnerability/GO-2024-3006","license":"CC-BY-4.0","modified_at":"2026-08-07T08:12:25.302408Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-41666","url":"https://access.redhat.com/security/cve/CVE-2024-41666","license":"CC-BY-4.0","modified_at":"2024-09-17T14:03:18Z","relation":"self"}]}
