CVE-2024-52598: 2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes
CVE-2024-52598 is a high-severity flaw (CVSS 7.5) affecting 2fauth. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Two interconnected vulnerabilities exist in version 5.4.1 a SSRF and URI validation bypass issue. The endpoint at POST /api/v1/twofaccounts/preview allows setting a remote URI to retrieve the image of a 2fa site. By abusing this functionality, it is possible to force the application to make a GET request to an arbitrary URL, whose content wil
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-52598?
2fauth: upgrade to 5.4.1. Exact commands for each OS are on this page.
Is CVE-2024-52598 being exploited?
CVE-2024-52598 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-52598 affect?
CVE-2024-52598 affects 2fauth. Severity is high (CVSS 7.5). 2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Two interconnected vulnerabilities exist in version 5.4.1 a SSRF and URI validation bypass issue. The endpoint at POST /api/v1/twofacc
How urgent is CVE-2024-52598?
Priority 48/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-45731 MEDIUM 6.5 DOWNGRADE A group deletion race condition in 2FAuth v5.5.0 causes data inconsistencies and orphaned accounts when a grou
- CVE-2024-52597 MEDIUM 6.1 UPGRADE 2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes