CVE-2023-40025
JSON

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 packageVersionsReported by
argoproj argo-cd>= 2.6.0, < 2.6.14, >= 2.7.0, < 2.7.12, = 2.8.0CVE 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-e047efa8f951GitHub Advisory Database, Go Vulnerability Database
github.com/argoproj/argo-cd (Go)all versionsGo Vulnerability Database
argoproj argo_cdfrom 2.6.0 up to 2.6.13, 2.7.11, 2.8.0NVD

All scores

GitHub_M4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-613

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:

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

Sources

SourceRecordLicence
CVE ListCVE-2023-40025 changed 2024-10-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-c8xw-vjgf-94hr changed 2025-06-24CC-BY-4.0
Go Vulnerability DatabaseGO-2023-2018 changed 2026-03-03CC-BY-4.0
NVDCVE-2023-40025 changed 2026-06-17Public domain