GHSA-jhmr-57cj-q6g9 Komari vulnerable to 2FA Authentication Bypass
Attackers can bypass two-factor authentication by submitting any six-digit code, potentially gaining unauthorized access to Komari monitoring accounts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-jhmr-57cj-q6g9?
GHSA-jhmr-57cj-q6g9 is an authentication bypass vulnerability in github.com/komari-monitor/komari, published on 12 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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
Which versions are affected by GHSA-jhmr-57cj-q6g9?
3 open source packages ship an affected version, including github.com/komari-monitor/komari.
| Package | Affected | Fixed in |
|---|---|---|
github.com/komari-monitor/komari Go | All versions | 0.0.0-20250809064056-cc3d54bff4c6 |
github.com/komari-monitor/komari Go | All versions | 0.0.0-20250809064056-cc3d54bff4c6 |
github.com/komari-monitor/komari Go | All versions | 0.0.0-20250809064056-cc3d54bff4c6 |
How do I fix GHSA-jhmr-57cj-q6g9?
Upgrade github.com/komari-monitor/komari to 0.0.0-20250809064056-cc3d54bff4c6 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-jhmr-57cj-q6g9 being exploited?
There is no known exploitation of GHSA-jhmr-57cj-q6g9 in the wild and no public exploit code.
Sources
Also known as GO-2025-3873.