GHSA-jhmr-57cj-q6g9
HIGHKomari vulnerable to 2FA Authentication Bypass
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
- Published
- 12 Aug 2025
- Last modified
- 3 Mar 2026
- Weakness
- CWE-287
- Also known as
- GO-2025-3873
- Sources
- OSVJSONOSV GO-2025-3873JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/komari-monitor/komari | < 0.0.0-20250809064056-cc3d54bff4c6 | 0.0.0-20250809064056-cc3d54bff4c6 |
References
- https://github.com/komari-monitor/komari/security/advisories/GHSA-jhmr-57cj-q6g9 · WEB, ADVISORY
- https://github.com/komari-monitor/komari/commit/cc3d54bff4c6495beaa1c7483379cd04542c557f · WEB, FIX
- https://github.com/komari-monitor/komari · PACKAGE
- https://github.com/komari-monitor/komari/blob/bd5a6934e1b79a12cf1e6a9bba5372d0e04f3abc/api/login.go#L55 · WEB
- https://github.com/komari-monitor/komari/releases/tag/1.0.4-fix1 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Aug 2025)