CVE-2024-41666: The Argo CD web terminal session does not handle the revocation of user permissions properly.

Published Jul 24, 2024
·
Updated

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.

Other sources

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.

Description Argo 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.

Patches A patch for this vulnerability has been released in the following Argo CD versions:

v2.11.7 v2.10.16 v2.9.21

For more information If you have any questions or comments about this advisory:

Open an issue in the Argo CD issue tracker or discussions Join us on Slack in channel #argo-cd

Credits This vulnerability was found & reported by Shengjie Li, Huazhong University of Science and Technology Zhi Li, Huazhong University of Science and Technology Weijie Liu, Nankai University

The Argo team would like to thank these contributors for their responsible disclosure and constructive communications during the resolve of this issue

GitHub

Affected Software

6 affected componentsFixes available
go/github.com/argoproj/argo-cd/v2>=2.11.0<2.11.7
2.11.7
go/github.com/argoproj/argo-cd/v2>=2.10.0<2.10.16
2.10.16
go/github.com/argoproj/argo-cd/v2>=2.6.0<2.9.21
2.9.21
argoproj Argo CD>=2.6.0<2.9.21
argoproj Argo CD>=2.10.0<2.10.16
argoproj Argo CD>=2.11.0<2.11.7

Event History

Jul 24, 2024
CVE Published
via MITRE·05:16 PM
Data Sourced
via MITRE·05:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:54 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41666?

CVE-2024-41666 has been assessed with a severity rating of high.

2

How do I fix CVE-2024-41666?

To remediate CVE-2024-41666, upgrade to Argo CD versions 2.11.7, 2.10.16, or 2.9.21.

3

What versions are affected by CVE-2024-41666?

CVE-2024-41666 affects Argo CD versions from 2.6.0 up to 2.11.6, and also includes earlier versions within the specified ranges.

4

What is the impact of CVE-2024-41666?

CVE-2024-41666 allows unauthorized users to access a web-based terminal inside running pods, potentially leading to privilege escalation.

5

Who is impacted by CVE-2024-41666?

Organizations using affected versions of Argo CD with the web-based terminal feature enabled are at risk from CVE-2024-41666.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203