4.7medium
Argo CD web terminal session doesn't expire
- Severity
- 4.7medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-c8xw-vjgf-94hrGO-2023-2018
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| argoproj argo-cd | >= 2.6.0, < 2.6.14, >= 2.7.0, < 2.7.12, = 2.8.0 | CVE List |
| github.com/argoproj/argo-cd/v2 (Go) | from 2.6.0 before 2.6.14, from 2.7.0 before 2.7.12, from 2.8.0 before 2.8.1, from 2.0.0-20230718200744-12a5a7a70d6e before 2.0.0-20230821201509-e047efa8f951 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/argoproj/argo-cd (Go) | all versions | Go Vulnerability Database |
| argoproj argo_cd | from 2.6.0 up to 2.6.13, 2.7.11, 2.8.0 | NVD |
All scores
| GitHub_M | 4.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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/web_based_terminal/
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.
Go Vulnerability Database
Argo CD web terminal session doesn't expire in github.com/argoproj/argo-cd
References
| https://github.com/argoproj/argo-cd/security/advisories/GHSA-c8xw-vjgf-94hr | advisory, exploit, vendor-advisory, web | |
| https://github.com/argoproj/argo-cd/commit/e047efa8f9518c54d00d2e4493b64bc4dba98478 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-40025 | advisory | |
| https://github.com/argoproj/argo-cd | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40025 changed 2024-10-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c8xw-vjgf-94hr changed 2025-06-24 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-2018 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2023-40025 changed 2026-06-17 | Public domain |