Loading advisory.
Loading advisory.
Komari vulnerable to 2FA Authentication Bypass
Logic error in 2FA verification condition allows bypass of two-factor authentication
Published 2025-08-12 00:13 UTC · Modified 2026-03-03 04:56 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/komari-monitor/komari | Go | < 0.0.0-20250809064056-cc3d54bff4c6 | 0.0.0-20250809064056-cc3d54bff4c6 | go get github.com/komari-monitor/komari@v0.0.0-20250809064056-cc3d54bff4c6 |
Logic error in 2FA verification condition allows bypass of two-factor authentication
https://github.com/komari-monitor/komari/blob/bd5a6934e1b79a12cf1e6a9bba5372d0e04f3abc/api/login.go#L55
There is no way for Verify2Fa to return an error AND true as ok at the same time, any codes are considered as valid.
Use any 6 digits as 2FA code
Bypass 2FA Authentication
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.