CVE-2023-40025: Argo CD web terminal session doesn't expire

Published Aug 23, 2023
·
Updated

Impact All versions of Argo CD starting from v2.6.0 have a bug where open web terminal sessions do not expire. This bug allows users to send any websocket messages even if the token has already expired. The most straightforward scenario is when a user opens the terminal view and leaves it open for an extended period. This allows the user to view sensitive information even when they should have been logged out already.

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

v2.6.14 v2.7.12 v2.8.1

Workarounds The only way to completely resolve the issue is to upgrade.

Mitigations Disable web-based terminal or define RBAC rules to it https://argo-cd.readthedocs.io/en/latest/operator-manual/webbasedterminal/

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

Thank you to bean.zhang (@zhlu32 ) of HIT-IDS ChunkL Team who discovered the issue and reported it confidentially according to our guidelines.

Other sources

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting from version 2.6.0 have a bug where open web terminal sessions do not expire. This bug allows users to send any websocket messages even if the token has already expired. The most straightforward scenario is when a user opens the terminal view and leaves it open for an extended period. This allows the user to view sensitive information even when they should have been logged out already. A patch for this vulnerability has been released in the following Argo CD versions: 2.6.14, 2.7.12 and 2.8.1.

MITRE

Affected Software

10 affected componentsFixes available
argoproj Argo CD>=2.6.0<=2.6.13
argoproj Argo CD=2.7.11
argoproj Argo CD=2.8.0
linuxfoundation Argo-cd>=2.6.0<=2.6.13
linuxfoundation Argo-cd=2.7.11
linuxfoundation Argo-cd=2.8.0
go/github.com/argoproj/argo-cd/v2>=2.0.0-20230718200744-12a5a7a70d6e<2.0.0-20230821201509-e047efa8f951
2.0.0-20230821201509-e047efa8f951
go/github.com/argoproj/argo-cd/v2=2.8.0
2.8.1
go/github.com/argoproj/argo-cd/v2>=2.7.0<2.7.12
2.7.12
go/github.com/argoproj/argo-cd/v2>=2.6.0<2.6.14
2.6.14

Event History

Aug 23, 2023
Advisory Published
05:50 PM
Data Sourced
via GitHub·05:50 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·07:12 PM
Data Sourced
via MITRE·07:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-40025?

CVE-2023-40025 is a vulnerability in Argo CD, a declarative GitOps continuous delivery tool for Kubernetes.

2

What is the impact of CVE-2023-40025?

CVE-2023-40025 allows users to send websocket messages even if the token has already expired in Argo CD web terminal sessions.

3

How can I fix CVE-2023-40025?

To fix CVE-2023-40025, update Argo CD to version 2.8.1, 2.7.12, or 2.6.14 depending on your version.

4

What is the severity of CVE-2023-40025?

CVE-2023-40025 has a severity score of 7.1 (high).

5

Where can I find more information about CVE-2023-40025?

You can find more information about CVE-2023-40025 in the following references: [GitHub Commit](https://github.com/argoproj/argo-cd/commit/e047efa8f9518c54d00d2e4493b64bc4dba98478), [GitHub Security Advisory](https://github.com/argoproj/argo-cd/security/advisories/GHSA-c8xw-vjgf-94hr), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-40025).

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