GHSA-jhmr-57cj-q6g9
high
Komari vulnerable to 2FA Authentication Bypass
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- GO-2025-3873
Description
Summary
Logic error in 2FA verification condition allows bypass of two-factor authentication
Details
There is no way for Verify2Fa to return an error AND true as ok at the same time, any codes are considered as valid.
PoC
Use any 6 digits as 2FA code
Impact
Bypass 2FA Authentication
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/komari-monitor/komari (Go) | before 0.0.0-20250809064056-cc3d54bff4c6 | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
Summary
Logic error in 2FA verification condition allows bypass of two-factor authentication
Details
There is no way for Verify2Fa to return an error AND true as ok at the same time, any codes are considered as valid.
PoC
Use any 6 digits as 2FA code
Impact
Bypass 2FA Authentication
Go Vulnerability Database
Komari vulnerable to 2FA Authentication Bypass in github.com/komari-monitor/komari
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-jhmr-57cj-q6g9 changed 2025-08-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3873 changed 2026-03-03 | CC-BY-4.0 |