---
id: CVE-2023-23929
aliases:
  - GHSA-4w59-c3gc-rrhp
  - PYSEC-2023-54
title: vantage6 refresh tokens do not expire
summary: vantage6 refresh tokens do not expire
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: vantage6
product: vantage6
ecosystem: pip
affected:
  - vantage6 < 3.8.0
patched:
  - vantage6 3.8.0
published: '2023-02-28'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:51.917538715Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4w59-c3gc-rrhp'
references:
  - url: >-
      https://github.com/vantage6/vantage6/security/advisories/GHSA-4w59-c3gc-rrhp
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-23929'
  - url: >-
      https://github.com/vantage6/vantage6/commit/48ebfca42359e9a6743e9598684585e2522cdce8
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/vantage6/PYSEC-2023-54.yaml
  - url: 'https://github.com/vantage6/vantage6'
tags:
  - osv
  - pip
epss: 0.00571
epssPercentile: 0.45997
ingestedAt: '2026-09-12T03:13:01.655Z'
---

## Overview

From issue: 

Problem description
Currently, the refresh token is valid indefinitely. This is bad security practice.

Desired solution
The refresh token should get a validity of 24-48 hours.

Additional context

When implementing this, also check that the refresh token returns a new refresh token
When implementing this, also adapt the UI so that it logs out if refresh token is no longer valid.
When implementing this, ensure that nodes refresh their token periodically so that they do not have to be restarted manually.


### Impact
### Patches
None available 

### Workarounds
None available



## Affected packages

- `vantage6 < 3.8.0`

## Remediation

Upgrade to a patched release:

- `vantage6 3.8.0`
