---
id: CVE-2024-27928
aliases:
  - GHSA-4c5c-2vc3-x5w2
  - PYSEC-2026-3398
title: 'Vantage6: 2FA can be circumvented with hacked email access'
summary: 'Vantage6: 2FA can be circumvented with hacked email access'
severity: medium
vendor: vantage6
product: vantage6
ecosystem: pip
affected:
  - vantage6 < 5.0.0
patched:
  - vantage6 5.0.0
published: '2026-06-05'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4c5c-2vc3-x5w2'
references:
  - url: >-
      https://github.com/vantage6/vantage6/security/advisories/GHSA-4c5c-2vc3-x5w2
  - url: 'https://github.com/vantage6/vantage6/issues/1932'
  - url: 'https://github.com/vantage6/vantage6'
  - url: 'https://github.com/vantage6/vantage6/blob/main/docs/release_notes.rst#500'
tags:
  - osv
  - pip
epss: 0.00278
epssPercentile: 0.18029
ingestedAt: '2026-07-13T18:57:52.500Z'
---

## Overview

### Impact
If an attacker hacks into a vantage6 user's email account, they can 1) reset the password via email and then 2) reset the 2FA token via email. This way they reduce 2FA to 1FA (email access). 

Note that most email providers require 2FA to access email, so this issue is not very likely to cause issues.

### Proposed solution

Many web apps do not provide functionality to reset 2FA token (probably for this reason), but provide recovery codes as well. It would be better to provide these recovery codes to the user 1 time and then delete the option to reset it.

An alternative may be to only let server administrators reset 2FA token. However, this has as disadvantage that a hacked email account may send messages to the server admin to reset them, which they may fall for.

### Patches
No

### Workarounds
No

## Affected packages

- `vantage6 < 5.0.0`

## Remediation

Upgrade to a patched release:

- `vantage6 5.0.0`
