---
id: "CVE-2024-27928"
kind: "vulnerability"
aliases: ["CVE-2024-27928", "GHSA-4c5c-2vc3-x5w2"]
title: "Vantage6: 2FA can be circumvented with hacked email access"
severity: "medium"
cvss: 5.9
epss: 0.00278
exploited: false
status: "open"
category: "package"
products: [{"name": "vantage6", "fixed": ["5.0.0"], "affected": "< 5.0.0", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["cwe-308", "package", "python", "self-hosted", "vantage6"]
not_affected_if: ["no-2fa-enabled", "no-email-reset"]
published_at: "2026-06-05T15:24:35+00:00"
first_seen_at: "2026-11-03T16:15:20+00:00"
updated_at: "2026-11-03T16:21:46+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-4c5c-2vc3-x5w2", "first_seen_at": "2026-11-03T16:15:20+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27928", "first_seen_at": "2026-11-03T16:21:46+00:00"}]
---

# Vantage6: 2FA can be circumvented with hacked email access

A vantage6 user whose email account is compromised can reset their password through email, then reset the 2FA token through email, reducing login protection to email access alone. The maintainer notes most email providers require 2FA themselves, so this is unlikely to be exploited often.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:vantage6 affected < 5.0.0 fixed 5.0.0

## How to check

- Check whether the installed `vantage6` package is below `5.0.0` (for example with `pip show vantage6`).
- Check whether your deployment uses 2FA with email-based password and 2FA reset enabled.

## Fix

- `vantage6` upgrade to `5.0.0` or later.

## Timeline

- 2026-11-03T16:15:20+00:00 ghsa https://github.com/advisories/GHSA-4c5c-2vc3-x5w2
- 2026-11-03T16:21:46+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2024-27928

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/vantage6/vantage6/security-advisories/GHSA-4c5c-2vc3-x5w2
- [advisory] Maintainer's advisory: github.com https://github.com/vantage6/vantage6/security/advisories/GHSA-4c5c-2vc3-x5w2

## From the sources

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

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
